ddiss/samba.git
13 years agos3-printing: Use become_user_by_session() function.
Andreas Schneider [Fri, 1 Apr 2011 09:55:27 +0000 (11:55 +0200)]
s3-printing: Use become_user_by_session() function.

We create a fake connection here and don't have an vuid. So work with
the session_info directly here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Apr 11 22:56:12 CEST 2011 on sn-devel-104
(cherry picked from commit e3c3b4daa425fede17203b474fa35493afbda2a9)

13 years agos3-smbd: Added a become_user_by_session() function.
Andreas Schneider [Fri, 1 Apr 2011 09:54:49 +0000 (11:54 +0200)]
s3-smbd: Added a become_user_by_session() function.

This uses the provided session_info instead of searching the user via
the vuid. This is useful to work with fake connnection you need to
create if someone connects directly to a rpc service.

Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b137156acbf7c39c86f306100cccc65b441a3209)

13 years agos3-smbd: Added a change_to_user_by_session() function.
Andreas Schneider [Tue, 5 Apr 2011 11:54:31 +0000 (13:54 +0200)]
s3-smbd: Added a change_to_user_by_session() function.

Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 27cb378283f2cf072151f1c624837741f40c298a)

13 years agos3: Wrap creating the svcctl keys in a transaction
Volker Lendecke [Sat, 9 Apr 2011 16:15:12 +0000 (18:15 +0200)]
s3: Wrap creating the svcctl keys in a transaction

This makes the startup of smbd in make test much quicker and thus more reliable
(cherry picked from commit f1aa38b414e97d8687d0bebf65baa384f75301b4)

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 11 22:09:58 CEST 2011 on sn-devel-104
(cherry picked from commit d1ded271b6e8f8ff7f09c4830411e389d26b1b10)

13 years agos3: Make reg_backend_db.h includable by itself
Volker Lendecke [Sat, 9 Apr 2011 16:13:59 +0000 (18:13 +0200)]
s3: Make reg_backend_db.h includable by itself
(cherry picked from commit 6ba31d3bd29dd11b1b98859f4d8a65d9be7dac60)
(cherry picked from commit a5495e70cc5f7659ab94d8570195edf3bd41072b)

13 years agoWHATSNEW: Start to add changes since 3.6.0pre1.
Karolin Seeger [Mon, 11 Apr 2011 19:56:29 +0000 (21:56 +0200)]
WHATSNEW: Start to add changes since 3.6.0pre1.

To be completed...

Karolin

13 years agos3: Fix Coverity ID 2472, UNINIT
Volker Lendecke [Fri, 8 Apr 2011 09:07:11 +0000 (11:07 +0200)]
s3: Fix Coverity ID 2472, UNINIT

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Apr 11 17:14:35 CEST 2011 on sn-devel-104
(cherry picked from commit 5cd6d93fa1f24b64b449455da40d5c83a18a8cff)

13 years agos3: Fix Coverity ID 2473, UNINIT
Volker Lendecke [Fri, 8 Apr 2011 09:07:11 +0000 (11:07 +0200)]
s3: Fix Coverity ID 2473, UNINIT

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit d2d1d173237906f77b68b3d04add007e92fe2d34)

13 years agos3: Fix timeout calculation in event_add_to_poll_args
Volker Lendecke [Mon, 11 Apr 2011 11:37:42 +0000 (13:37 +0200)]
s3: Fix timeout calculation in event_add_to_poll_args

In the initial phase nmbd does not yet have timed events. This led to nmbd
not correctly registering its names in make test and certainly everywhere
else.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 11 14:35:45 CEST 2011 on sn-devel-104
(cherry picked from commit 09586950225e880bbd6d9e147c884c5886c4d0a4)

13 years agos3-modules: Fix debug message
Björn Baumbach [Mon, 11 Apr 2011 08:27:58 +0000 (10:27 +0200)]
s3-modules: Fix debug message

Print child descriptor instead of parent.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Apr 11 11:48:42 CEST 2011 on sn-devel-104
(cherry picked from commit e6cf92c574fba14132757f141d8b1242fa71be88)

13 years agorelease-scripts/create-tarball: also remove the toplevel configure.developer
Stefan Metzmacher [Mon, 11 Apr 2011 09:54:21 +0000 (11:54 +0200)]
release-scripts/create-tarball: also remove the toplevel configure.developer

metze

13 years agocreate-tarball: Remove toplevel Makefile and configure.
Karolin Seeger [Sun, 10 Apr 2011 19:15:58 +0000 (21:15 +0200)]
create-tarball: Remove toplevel Makefile and configure.

Karolin

13 years agocreate-tarball: Use full path.
Karolin Seeger [Sun, 10 Apr 2011 19:13:35 +0000 (21:13 +0200)]
create-tarball: Use full path.

Make usage of rm consistent.

Karolin

13 years agoVERSION: Raise version up to 3.6.0pre2.
Karolin Seeger [Sun, 10 Apr 2011 18:47:18 +0000 (20:47 +0200)]
VERSION: Raise version up to 3.6.0pre2.

Karolin

13 years agoFix bug 8072 - PANIC: create_file_acl_common frees handle two times.
Jeremy Allison [Fri, 8 Apr 2011 21:24:44 +0000 (14:24 -0700)]
Fix bug 8072 - PANIC: create_file_acl_common frees handle two times.

Caused by premature optimisation storing the parent ACL on the
module handle instead of (correctly) on the file fsp. Previous
code wasn't reentrant safe. This is less optimal but doesn't
crash in the specific case :-).

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Apr  9 02:05:15 CEST 2011 on sn-devel-104
(cherry picked from commit af45636166c7a0cb87630105d18ce489e7391525)

13 years agoSubtle change. Microsoft SMB2 tests return different access mask than for SMB1 with...
Jeremy Allison [Fri, 8 Apr 2011 23:18:56 +0000 (16:18 -0700)]
Subtle change. Microsoft SMB2 tests return different access mask than for SMB1 with raw.acls.
(cherry picked from commit c6c17242d23cd03acd5adc29969177881a7d04e1)

13 years agos3:net idmap check: fix output of an invalid record
Michael Adam [Fri, 8 Apr 2011 12:49:43 +0000 (14:49 +0200)]
s3:net idmap check: fix output of an invalid record

Only print the value number for hwm, version and seqnum keys.

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Apr  8 17:29:31 CEST 2011 on sn-devel-104

13 years agos3-net: "idmap check" ignore __db_sequence_number__
Gregor Beck [Fri, 8 Apr 2011 12:53:25 +0000 (14:53 +0200)]
s3-net: "idmap check" ignore __db_sequence_number__

Signed-off-by: Michael Adam <obnox@samba.org>
13 years agos3:net rpc trust: fix two C++ implicit void * cast warnings
Michael Adam [Thu, 7 Apr 2011 14:54:12 +0000 (16:54 +0200)]
s3:net rpc trust: fix two C++ implicit void * cast warnings

13 years agos3:passdb:pdb_ipa: fix a C++ implicit void * cast warnings
Michael Adam [Thu, 7 Apr 2011 14:54:12 +0000 (16:54 +0200)]
s3:passdb:pdb_ipa: fix a C++ implicit void * cast warnings

13 years agos3:net idmap check: fix a couple of c++ implicit void * cast warnings
Michael Adam [Thu, 7 Apr 2011 14:54:12 +0000 (16:54 +0200)]
s3:net idmap check: fix a couple of c++ implicit void * cast warnings

13 years agopackaging(RHEL-CTDB): fix configure.rpm (honour additional cmdline parameters)
Michael Adam [Wed, 6 Apr 2011 15:53:14 +0000 (17:53 +0200)]
packaging(RHEL-CTDB): fix configure.rpm (honour additional cmdline parameters)

13 years agoWHATSNEW: Fix typos.
Karolin Seeger [Mon, 4 Apr 2011 19:22:49 +0000 (21:22 +0200)]
WHATSNEW: Fix typos.

Karolin

13 years agos4-smbtorture: fix lsa forest trust test.
Günther Deschner [Thu, 7 Apr 2011 10:05:58 +0000 (12:05 +0200)]
s4-smbtorture: fix lsa forest trust test.

lsa_lsaRSetForestTrustInformation takes a policy handle obtained from
lsaopenpolicy/lsaopenpolicy2 and not a trusted domain handle
(MS-LSAD 3.1.4.7.16 LsarSetForestTrustInformation (Opnum 74)).

Sumit, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr  7 14:52:52 CEST 2011 on sn-devel-104
(cherry picked from commit ead6faab2766b786e124f2086093ef3fa05d115b)

13 years agolsa: use lsa_TrustedAccessMask in some more places in the lsa IDL.
Günther Deschner [Thu, 7 Apr 2011 09:47:44 +0000 (11:47 +0200)]
lsa: use lsa_TrustedAccessMask in some more places in the lsa IDL.

Guenther
(cherry picked from commit 26d67846d47d5d1be54d1a8b045f5293a4a02839)

13 years agos3-net: document "idmap check"
Gregor Beck [Thu, 7 Apr 2011 09:00:41 +0000 (11:00 +0200)]
s3-net: document "idmap check"

Signed-off-by: Michael Adam <obnox@samba.org>
13 years agos3-net: fix the usage output of "net idmap check"
Gregor Beck [Thu, 7 Apr 2011 09:00:41 +0000 (11:00 +0200)]
s3-net: fix the usage output of "net idmap check"

Signed-off-by: Michael Adam <obnox@samba.org>
13 years agoFix bug 6966 - "allow trusted domains = no" not respected in winbind.
Dmitry Butskoy [Wed, 6 Apr 2011 20:52:42 +0000 (13:52 -0700)]
Fix bug 6966 - "allow trusted domains = no" not respected in winbind.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Apr  6 23:37:27 CEST 2011 on sn-devel-104
(cherry picked from commit 2db094fc32687dc2a869d753b50b2aa1636cdbd6)

13 years agodocs: fix the missing parameter description section in the smb.conf manpage
Michael Adam [Tue, 5 Apr 2011 21:07:01 +0000 (23:07 +0200)]
docs: fix the missing parameter description section in the smb.conf manpage

The smb.conf (5) manpage recently sometimes failed to contain the
contents of the description of each parameter section. The reason
was a unreliable chain of dependencies in the Makefile.

The error can be reproduced by touching manpages-3/smb.conf.5.xml
and then building the manpages.
Then smb.conf.5.xml is newer than any of the smbdotconf/*/*.xml
files and hence the intermediate inexistent parameters.*.xml
don't get generated.

This patch fixes this problem by introducing a phony "parameters"
target referencing the parameters.*.xml targets, so that they
get build unconditionally.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Apr  6 01:22:00 CEST 2011 on sn-devel-104

13 years agopackaging(RHEL-CTDB): Fix debuginfo builds
Michael Adam [Fri, 3 Dec 2010 09:13:46 +0000 (02:13 -0700)]
packaging(RHEL-CTDB): Fix debuginfo builds

At least on RHEL 5.5, we observed broken debuginfo packages
when either old build directories were still present or old
debuginfo packages (of samba) were installed.

This patch removes the debuginfo samba RPMs and old RPM build
directories, giving the user a 10 second chance to quit.

13 years agopackaging(RHEL-CTDB): add BuildRequires to ctdb-devel >= 1.2.25
Michael Adam [Tue, 5 Apr 2011 13:49:39 +0000 (15:49 +0200)]
packaging(RHEL-CTDB): add BuildRequires to ctdb-devel >= 1.2.25

This should make sure we build against ctdb with SCHEDULE_FOR_DELETION control.

13 years agopackaging(RHEL-CTDB): replace Prereq by Requires.
Michael Adam [Thu, 10 Feb 2011 06:33:56 +0000 (07:33 +0100)]
packaging(RHEL-CTDB): replace Prereq by Requires.

In RHEL6, Prereq is deprecated.

13 years agos3: Fix tldap_make_mod_blob_int() debug messages
Sumit Bose [Mon, 4 Apr 2011 11:46:18 +0000 (13:46 +0200)]
s3: Fix tldap_make_mod_blob_int() debug messages

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr  6 13:10:30 CEST 2011 on sn-devel-104
(cherry picked from commit 3626579cc27cb03fba2100be1a2686651bd3f003)

13 years agos3-net: Add delete op for net trust utility
Sumit Bose [Thu, 31 Mar 2011 15:46:56 +0000 (17:46 +0200)]
s3-net: Add delete op for net trust utility

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 2bafb4ccbb99dfde533acad7bf0162ca2618c716)

13 years agos3-net: Add net trust utility
Sumit Bose [Thu, 24 Mar 2011 11:10:13 +0000 (12:10 +0100)]
s3-net: Add net trust utility

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 11c342724fe23ef532063a7731c2a6d19614cf78)

13 years agos3-pdb_ipa: Create DN for new object
Sumit Bose [Wed, 23 Mar 2011 11:09:22 +0000 (12:09 +0100)]
s3-pdb_ipa: Create DN for new object

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 6681e451c98cd1716b5a68a02e0840a7ae768c36)

13 years agos3-pdb_ipa: Add ipasam_create_dom_group()
Sumit Bose [Fri, 18 Mar 2011 10:39:37 +0000 (11:39 +0100)]
s3-pdb_ipa: Add ipasam_create_dom_group()

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 1cbe59e174c3ea66dfb57ab7f4ea493168b4867e)

13 years agos3-net: add IPA provision
Sumit Bose [Fri, 18 Mar 2011 10:37:15 +0000 (11:37 +0100)]
s3-net: add IPA provision

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-pdb_ipa: Add ipasam_create_user()
Sumit Bose [Mon, 4 Apr 2011 11:23:05 +0000 (13:23 +0200)]
s3-pdb_ipa: Add ipasam_create_user()

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 2ee1d09f33a1076549e1d331ba23a31384aae150)

13 years agos3-pdb_ipa: Detect IPA server
Sumit Bose [Mon, 4 Apr 2011 11:20:19 +0000 (13:20 +0200)]
s3-pdb_ipa: Detect IPA server

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c47df017dda71f9eecea74575c7d7292e543e5ec)

13 years agos3-pdb_ipa: Use new smbldap_make_mod_blob() without a return value
Sumit Bose [Mon, 4 Apr 2011 11:14:47 +0000 (13:14 +0200)]
s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return value

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit ca22befb9c2f4bf96944fc70650435dc11b4ea3a)

13 years agos3-smbldap: make octet_strings/DATA_BLOBs const.
Sumit Bose [Mon, 4 Apr 2011 12:16:44 +0000 (14:16 +0200)]
s3-smbldap: make octet_strings/DATA_BLOBs const.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit f3b1a68f5f540fa3674c5594ad3ede1568bab6cb)

13 years agos3-smbldap: support storing octet_strings/DATA_BLOBs.
Günther Deschner [Thu, 29 Oct 2009 22:36:14 +0000 (23:36 +0100)]
s3-smbldap: support storing octet_strings/DATA_BLOBs.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c4974eec01d32f2c777aa3fca02210bb6c255d79)

13 years agos3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.
Günther Deschner [Wed, 6 Apr 2011 09:33:12 +0000 (11:33 +0200)]
s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 02c6940964f8db0c7e78b9e6d8e4a7a404331285)

13 years agos3-pdb_ipa: Fix indentation
Sumit Bose [Mon, 4 Apr 2011 11:07:37 +0000 (13:07 +0200)]
s3-pdb_ipa: Fix indentation

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit db76adc308217e92ada425703cbdbfce289d009b)

13 years agos3/vfs_gpfs: s/syncops/gpfs
Björn Jacke [Sun, 3 Apr 2011 14:19:11 +0000 (16:19 +0200)]
s3/vfs_gpfs: s/syncops/gpfs

as pointed out by Metze in bug #8031

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Apr  5 18:08:42 CEST 2011 on sn-devel-104
(cherry picked from commit dca465fa53f4d16cdce1353685b11010aa8ff0c7)

13 years agos3-net: fix the build of utils/net_idmap_check.c on a variety of platforms.
Günther Deschner [Tue, 5 Apr 2011 21:42:56 +0000 (23:42 +0200)]
s3-net: fix the build of utils/net_idmap_check.c on a variety of platforms.

Gregor, please check.

Guenther

13 years agoFix bug #7080 - Quota only shown when logged as root.
Jeremy Allison [Tue, 5 Apr 2011 18:24:39 +0000 (11:24 -0700)]
Fix bug #7080 - Quota only shown when logged as root.

Remove the final incorrect uses of conn->session_info->utok.uid.
When we're in the "admin users" list, then this value is not set
to zero.

Inspired by the comment on this bug by Dmitry Butskoy <dmitry@butskoy.name>.

I'll create a different fix for 3.5.x.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr  5 21:53:59 CEST 2011 on sn-devel-104
(cherry picked from commit b6a30be70266c07733ddfa2ae08d127e08560868)

13 years agos3-libndr: add ../librpc/ndr/libndr.h include in some places.
Günther Deschner [Wed, 30 Mar 2011 21:47:34 +0000 (23:47 +0200)]
s3-libndr: add ../librpc/ndr/libndr.h include in some places.

Guenther
(cherry picked from commit a730dff78318a0bfe8c6b2b8a2cefed63cc586e8)

13 years agos3-vfs: try to fix build of aio_fork module.
Günther Deschner [Wed, 30 Mar 2011 20:24:18 +0000 (22:24 +0200)]
s3-vfs: try to fix build of aio_fork module.

Guenther
(cherry picked from commit 3800bae260ed3998317ce5e492a8f0a42fb2fd5f)

13 years agos3-smbd: try to fix the irix build.
Günther Deschner [Wed, 30 Mar 2011 14:18:38 +0000 (16:18 +0200)]
s3-smbd: try to fix the irix build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 30 17:17:58 CEST 2011 on sn-devel-104
(cherry picked from commit 220db5aad629451d24fcf678a5aa2f3637bc5eeb)

13 years agos3-vfs acl modules: more non-linux build fixes.
Günther Deschner [Wed, 30 Mar 2011 13:14:05 +0000 (15:14 +0200)]
s3-vfs acl modules: more non-linux build fixes.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 30 16:00:02 CEST 2011 on sn-devel-104
(cherry picked from commit 53bdf43acab2f8808fb205a719ff6323543a6440)

13 years agos3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.
Günther Deschner [Wed, 30 Mar 2011 13:09:10 +0000 (15:09 +0200)]
s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.

Guenther
(cherry picked from commit 33082d016ee27537af0514d5eebcdaf0360fa4f7)

13 years agos3-passdb: move some passdb defines to passdb.h
Günther Deschner [Wed, 30 Mar 2011 12:49:37 +0000 (14:49 +0200)]
s3-passdb: move some passdb defines to passdb.h

Guenther
(cherry picked from commit 3253d5ad0515198083b0b185c06b659fc6972830)

13 years agos3-proto: pure cosmetics, remove some generated comments.
Günther Deschner [Wed, 30 Mar 2011 12:48:18 +0000 (14:48 +0200)]
s3-proto: pure cosmetics, remove some generated comments.

Guenther
(cherry picked from commit c8ed33ae9c26a63fd8adffa2041fe46a2542f0ba)

13 years agos3-winbind: try to fix the build on hosts w/o winbind support.
Günther Deschner [Wed, 30 Mar 2011 12:03:13 +0000 (14:03 +0200)]
s3-winbind: try to fix the build on hosts w/o winbind support.

Guenther
(cherry picked from commit 6206156465b32aa565a1f7fbabfc62d668985d68)

13 years agos3-vfs_solarisacl: try to fix the solaris build.
Günther Deschner [Wed, 30 Mar 2011 11:46:59 +0000 (13:46 +0200)]
s3-vfs_solarisacl: try to fix the solaris build.

Guenther
(cherry picked from commit b09b694dddfa4284b2c92d289694013e48b1e3f6)

13 years agos3: try to fix the build on some non-linux buildfarm machines.
Günther Deschner [Wed, 30 Mar 2011 08:50:10 +0000 (10:50 +0200)]
s3: try to fix the build on some non-linux buildfarm machines.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 30 11:39:31 CEST 2011 on sn-devel-104
(cherry picked from commit fbd0ff69ec07c55a2858f49b1effb40bd871d4a6)

13 years agos3-rpc_server: move access check functions out of samr server.
Günther Deschner [Fri, 25 Mar 2011 13:12:59 +0000 (14:12 +0100)]
s3-rpc_server: move access check functions out of samr server.

Guenther
(cherry picked from commit ab9a29eb638143a93f70bb7880ca24f73bbb2118)

13 years agos3: only include ntioctl.h where needed.
Günther Deschner [Fri, 25 Mar 2011 12:42:42 +0000 (13:42 +0100)]
s3: only include ntioctl.h where needed.

Guenther
(cherry picked from commit b1e3b9d7c118b5ba5260525e87796a98a5037144)

13 years agos3: only include lib/privileges.h where needed.
Günther Deschner [Fri, 25 Mar 2011 10:56:52 +0000 (11:56 +0100)]
s3: only include lib/privileges.h where needed.

This finally removes the global lsa.h inclusion.

Guenther
(cherry picked from commit c2d6260f1042313ecb7540dd6ced1470db3001e9)

13 years agos3: include ../librpc/gen_ndr/lsa.h where needed.
Günther Deschner [Fri, 25 Mar 2011 10:56:10 +0000 (11:56 +0100)]
s3: include ../librpc/gen_ndr/lsa.h where needed.

Guenther
(cherry picked from commit 643b08dd25f9b1891b55d6653d0b04403d9b8ea0)

13 years agos3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.
Günther Deschner [Fri, 25 Mar 2011 10:40:00 +0000 (11:40 +0100)]
s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.

Guenther
(cherry picked from commit 1d383daf399b08c3833e55d11135796e34cc2689)

13 years agos3-includes: only include ntdomain.h where needed.
Günther Deschner [Thu, 24 Mar 2011 21:33:07 +0000 (22:33 +0100)]
s3-includes: only include ntdomain.h where needed.

Guenther
(cherry picked from commit 6e3f0d28a4c0bc79cdbe4cfb50d105c4fe479d2b)

13 years agopidl: add an include for "ntdomain.h" for s3 server stubs.
Günther Deschner [Thu, 24 Mar 2011 21:32:17 +0000 (22:32 +0100)]
pidl: add an include for "ntdomain.h" for s3 server stubs.

Guenther
(cherry picked from commit 9115615663edf82afde5a3c934b53d53a0e508f0)

13 years agos3-messages: make ndr_messaging.h part of messages.h.
Günther Deschner [Thu, 24 Mar 2011 14:56:32 +0000 (15:56 +0100)]
s3-messages: make ndr_messaging.h part of messages.h.

Guenther
(cherry picked from commit ab36d597e75286cca09abd75c67d8072c0ff64cf)

13 years agos3-messages: only include messages.h where needed.
Günther Deschner [Thu, 24 Mar 2011 14:31:06 +0000 (15:31 +0100)]
s3-messages: only include messages.h where needed.

Guenther
(cherry picked from commit b2af281e508194d9548ea1119c19ee96a0dd1f0a)

13 years agos3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.
Günther Deschner [Thu, 24 Mar 2011 13:16:28 +0000 (14:16 +0100)]
s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.

Guenther
(cherry picked from commit 4bd5f51c43147b74203711764390727bdda17a77)

13 years agos3-includes: finally remove global include of auth.h.
Günther Deschner [Fri, 25 Mar 2011 01:28:17 +0000 (02:28 +0100)]
s3-includes: finally remove global include of auth.h.

Guenther
(cherry picked from commit 3679c0b8c101f9652858ea74a71556cdcdc88cb3)

13 years agos3-auth: vfs modules need auth.h
Günther Deschner [Thu, 24 Mar 2011 13:15:54 +0000 (14:15 +0100)]
s3-auth: vfs modules need auth.h

Guenther
(cherry picked from commit bd471d30047e7053a0accf8b7a3caf0472d06486)

13 years agos3-auth: printing needs auth.h
Günther Deschner [Thu, 24 Mar 2011 13:12:42 +0000 (14:12 +0100)]
s3-auth: printing needs auth.h

Guenther
(cherry picked from commit 3061f44fc9f6cf5b532cd59598d166e52c8cef36)

13 years agos3-auth: smbd needs auth.h
Günther Deschner [Thu, 24 Mar 2011 12:46:20 +0000 (13:46 +0100)]
s3-auth: smbd needs auth.h

Guenther
(cherry picked from commit af300a9fcb96f99b37cbf3a47332a135bfe9722f)

13 years agos3-auth: rpc_server needs auth.h
Günther Deschner [Thu, 24 Mar 2011 11:08:15 +0000 (12:08 +0100)]
s3-auth: rpc_server needs auth.h

Guenther
(cherry picked from commit 146c1aac99b20afff30567e80fca7540853c446a)

13 years agos3-auth: use auth.h where needed.
Günther Deschner [Fri, 25 Mar 2011 01:28:05 +0000 (02:28 +0100)]
s3-auth: use auth.h where needed.

Guenther
(cherry picked from commit 7e73214ebf614a1f876bf80d374c1e1bc9379981)

13 years agos3-auth: move auth prototypes to auth/proto.h.
Günther Deschner [Fri, 25 Mar 2011 01:27:24 +0000 (02:27 +0100)]
s3-auth: move auth prototypes to auth/proto.h.

Guenther
(cherry picked from commit 1b6767d26218eaf85ec7af9281c6674bab36ce3f)

13 years agos3-libsmb: put namequery headers to nmblib.h
Günther Deschner [Wed, 23 Mar 2011 13:18:59 +0000 (14:18 +0100)]
s3-libsmb: put namequery headers to nmblib.h

We might find a better name for it and merge other namequery related things as
well here...

Guenther
(cherry picked from commit 2473c2fb1b9246e284b96cdf117bbb592a7c5309)

13 years agos3-locking: move locking prototypes out of proto.h.
Günther Deschner [Wed, 23 Mar 2011 11:43:17 +0000 (12:43 +0100)]
s3-locking: move locking prototypes out of proto.h.

Will later become part of locking.h

Guenther
(cherry picked from commit 2377039738ea6676b71d58db770ffcd594ca08b7)

13 years agos3: finally remove global include of smbd prototypes.
Günther Deschner [Fri, 25 Mar 2011 10:15:55 +0000 (11:15 +0100)]
s3: finally remove global include of smbd prototypes.

Guenther
(cherry picked from commit f064c8e4f23b7d427b6e0cb11a6d7ec04964e773)

13 years agos3: rpc_server needs parts of smbd.
Günther Deschner [Tue, 22 Mar 2011 22:49:33 +0000 (23:49 +0100)]
s3: rpc_server needs parts of smbd.

Guenther
(cherry picked from commit 20d8ae49b701bc2663dcecad8253863c9c979a40)

13 years agos3: printing needs parts of smbd.
Günther Deschner [Tue, 22 Mar 2011 22:49:17 +0000 (23:49 +0100)]
s3: printing needs parts of smbd.

Guenther
(cherry picked from commit 84815d38d204f3b6d0bbd2f419a20915078be70a)

13 years agos3: auth also needs parts of smbd.
Günther Deschner [Tue, 22 Mar 2011 22:49:03 +0000 (23:49 +0100)]
s3: auth also needs parts of smbd.

Guenther
(cherry picked from commit 34a335a87db7d707c34a069f29b7cb97c8f36be9)

13 years agos3-vfs: include smbd/smbd.h in vfs modules.
Günther Deschner [Tue, 22 Mar 2011 21:34:22 +0000 (22:34 +0100)]
s3-vfs: include smbd/smbd.h in vfs modules.

Guenther
(cherry picked from commit 45364f5e69c4ef00f6870e11213da930e802b6d0)

13 years agos3: include smbd/smbd.h where needed.
Günther Deschner [Tue, 22 Mar 2011 15:57:01 +0000 (16:57 +0100)]
s3: include smbd/smbd.h where needed.

Guenther
(cherry picked from commit 8c24ebf371d8aff4742a2ba063a8789e20eaaabc)

13 years agos3-smbd: add smbd.h and move smbd prototypes to smbd/proto.h.
Günther Deschner [Fri, 18 Mar 2011 23:47:12 +0000 (00:47 +0100)]
s3-smbd: add smbd.h and move smbd prototypes to smbd/proto.h.

Guenther

13 years agos3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h
Günther Deschner [Wed, 30 Mar 2011 21:21:42 +0000 (23:21 +0200)]
s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h

Guenther
(cherry picked from commit 2352e7cb7fe43b2a3cb5c4876f21cd655823288a)

13 years agos3-build: make it a little easier to build smbtorture4.
Günther Deschner [Wed, 30 Mar 2011 20:24:42 +0000 (22:24 +0200)]
s3-build: make it a little easier to build smbtorture4.

Only configure with --enable-socket-wrapper --enable-nss-wrapper
--enable-uid-wrapper, not --enable-developer which turns on at least one -Werror
switch.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 30 23:12:42 CEST 2011 on sn-devel-104
(cherry picked from commit 9ede19fdccaf09303012208129a093197403ef2c)

13 years agos3: move filename_util.c out of source3/smbd to source3/lib.
Günther Deschner [Tue, 22 Mar 2011 20:45:44 +0000 (21:45 +0100)]
s3: move filename_util.c out of source3/smbd to source3/lib.

Guenther
(cherry picked from commit 8560c00a507126c0d315d0b790ab154a3a75a426)

13 years agos3-build: only include intl protos where needed.
Günther Deschner [Tue, 22 Mar 2011 22:58:21 +0000 (23:58 +0100)]
s3-build: only include intl protos where needed.

Guenther
(cherry picked from commit 6b76909f5ef5f279cb73decf83f23d3dbf8adaf8)

13 years agos3-passdb: finally stop including passdb.h globaly.
Günther Deschner [Tue, 22 Mar 2011 22:32:56 +0000 (23:32 +0100)]
s3-passdb: finally stop including passdb.h globaly.

Guenther
(cherry picked from commit 60d2816c5e914f1674267a3b388c302335f93466)

13 years agos3-passdb: use passdb headers where needed.
Günther Deschner [Tue, 22 Mar 2011 15:50:02 +0000 (16:50 +0100)]
s3-passdb: use passdb headers where needed.

Guenther
(cherry picked from commit 235f1485901774bfbeb0f052bc4e1397f4ef0b88)

13 years agos3-passdb: move util_builtin.c out of passdb.
Günther Deschner [Wed, 23 Mar 2011 13:57:08 +0000 (14:57 +0100)]
s3-passdb: move util_builtin.c out of passdb.

Guenther
(cherry picked from commit a22a53ea44c18378481d3a432fb0e667117da5bd)

13 years agos3-passdb: move util_unixsids.c out of passdb.
Günther Deschner [Tue, 22 Mar 2011 22:23:17 +0000 (23:23 +0100)]
s3-passdb: move util_unixsids.c out of passdb.

Guenther
(cherry picked from commit 7d798ac485b47483c9f99c67f7be196d55587a09)

13 years agos3-passdb: move util_wellknown.c out of passdb.
Günther Deschner [Tue, 22 Mar 2011 22:20:49 +0000 (23:20 +0100)]
s3-passdb: move util_wellknown.c out of passdb.

Guenther
(cherry picked from commit bcee6c1fe209b458e546b5788a9148eecc8715f1)

13 years agos3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.
Günther Deschner [Tue, 22 Mar 2011 16:43:39 +0000 (17:43 +0100)]
s3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.

Guenther
(cherry picked from commit cc94bcb952b1bf16e1d3f335e5288f793ee4ca96)

13 years agos3-passdb: add machine_sid.h and lookup_sid.h
Günther Deschner [Tue, 22 Mar 2011 15:48:05 +0000 (16:48 +0100)]
s3-passdb: add machine_sid.h and lookup_sid.h

Guenther
(cherry picked from commit f378f9f144d2b8ccb9c8443f3e605171e60ce3c2)

13 years agos3-proto: add some forward declarations.
Günther Deschner [Fri, 18 Mar 2011 23:46:41 +0000 (00:46 +0100)]
s3-proto: add some forward declarations.

Guenther
(cherry picked from commit cd7e088ddf37cb9f516e3a9d94232fa1e91221cd)

13 years agos3-passdb: add passdb.h where needed.
Günther Deschner [Fri, 18 Mar 2011 17:58:37 +0000 (18:58 +0100)]
s3-passdb: add passdb.h where needed.

Guenther
(cherry picked from commit 2f36ef72256cf3c2e36ed759427af07effda1069)

13 years agos3-passdb: move mapping.h into passdb.h, its needed here.
Günther Deschner [Fri, 18 Mar 2011 15:22:14 +0000 (16:22 +0100)]
s3-passdb: move mapping.h into passdb.h, its needed here.

Guenther
(cherry picked from commit b0773aa61a1fdecfd80f09454ff85c7bb4b7896b)

13 years agos3-passdb: move passdb headers to passdb/proto.h.
Günther Deschner [Fri, 18 Mar 2011 15:05:55 +0000 (16:05 +0100)]
s3-passdb: move passdb headers to passdb/proto.h.

Guenther
(cherry picked from commit 35c2d8ec1edd84714d9d6f8082d116d734b83161)

13 years agos3-groupdb: move groupdb headers to groupdb/proto.h.
Günther Deschner [Fri, 18 Mar 2011 15:05:26 +0000 (16:05 +0100)]
s3-groupdb: move groupdb headers to groupdb/proto.h.

Guenther
(cherry picked from commit bb04a70c0bf5fbc10733edd20feb5bb03386c084)