obnox/samba-ctdb.git
13 years agoRevert "v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module." 3.6.0pre1-ctdb-8
Michael Adam [Fri, 21 Jan 2011 14:44:53 +0000 (15:44 +0100)]
Revert "v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module."

This reverts commit 36713652a1f0ccee3e84c3c58d46f03141e43513.

The gpfs_prefetch module needs to be properly merged:
The vfs API has changed.

13 years agoRevert "v3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch...
Michael Adam [Fri, 21 Jan 2011 14:44:18 +0000 (15:44 +0100)]
Revert "v3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch vfs module"

This reverts commit 18296ef666202ae15cba6b7a6f25c3692f13f7e4.

The gpfs prefetch mdule needs to be properly merged:
The vfs api has changed.

13 years agov3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch vfs module
Volker Lendecke [Fri, 5 Mar 2010 15:10:49 +0000 (16:10 +0100)]
v3-6-ctdb: packaging/RHEL-CTDB: Fix the RPM build: list the gpfs_prefetch vfs module

13 years agov3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.
Volker Lendecke [Fri, 21 Jan 2011 13:07:15 +0000 (14:07 +0100)]
v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.

This can not go upstream yet because it uses the gpfs_fcntl call
from the non-GPL libgpfs.

13 years agov3-6-ctdb: VERSION bump vendor patch level to 8
Michael Adam [Wed, 30 Mar 2011 14:40:48 +0000 (16:40 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 8

13 years agov3-6-ctdb: VERSION bump vendor patch level to 7
Volker Lendecke [Wed, 30 Mar 2011 14:40:48 +0000 (16:40 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 7

13 years agov3-6-ctdb: VERSION bump vendor patch level to 6
Volker Lendecke [Tue, 29 Mar 2011 10:49:40 +0000 (12:49 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 6

13 years agos3: Use wbcSidsToUnixIds in create_local_token
Volker Lendecke [Wed, 23 Mar 2011 17:31:38 +0000 (18:31 +0100)]
s3: Use wbcSidsToUnixIds in create_local_token

13 years agonsswitch: Add wbinfo --sids-to-unix-ids
Volker Lendecke [Wed, 23 Mar 2011 17:31:17 +0000 (18:31 +0100)]
nsswitch: Add wbinfo --sids-to-unix-ids

13 years agolibwbclient: Add wbcSidsToUnixIds
Volker Lendecke [Wed, 23 Mar 2011 17:30:32 +0000 (18:30 +0100)]
libwbclient: Add wbcSidsToUnixIds

13 years agos3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipe
Volker Lendecke [Wed, 23 Mar 2011 17:29:45 +0000 (18:29 +0100)]
s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipe

13 years agos3: Add wbint_Sids2UnixIDs idl & implementation
Volker Lendecke [Wed, 23 Mar 2011 17:18:13 +0000 (18:18 +0100)]
s3: Add wbint_Sids2UnixIDs idl & implementation

13 years agos3: Make idmap_find_domain public
Volker Lendecke [Wed, 23 Mar 2011 17:15:34 +0000 (18:15 +0100)]
s3: Make idmap_find_domain public

13 years agos3: Add is_domain_online
Volker Lendecke [Tue, 22 Mar 2011 15:37:41 +0000 (16:37 +0100)]
s3: Add is_domain_online

13 years agonsswitch: wbinfo --lookup-sids
Volker Lendecke [Wed, 9 Mar 2011 15:36:20 +0000 (16:36 +0100)]
nsswitch: wbinfo --lookup-sids

13 years agolib: Move next_token next to next_token_talloc
Volker Lendecke [Wed, 9 Mar 2011 15:34:49 +0000 (16:34 +0100)]
lib: Move next_token next to next_token_talloc

13 years agolibwbclient: Add wbcLookupSids
Volker Lendecke [Tue, 8 Mar 2011 17:01:21 +0000 (18:01 +0100)]
libwbclient: Add wbcLookupSids

13 years agos3: Add winbindd_lookupsids
Volker Lendecke [Tue, 8 Mar 2011 13:31:44 +0000 (14:31 +0100)]
s3: Add winbindd_lookupsids

13 years agos3: Add wb_lookupsids
Volker Lendecke [Mon, 7 Mar 2011 12:40:30 +0000 (13:40 +0100)]
s3: Add wb_lookupsids

13 years agos3: Add wbint_LookupSids
Volker Lendecke [Fri, 11 Mar 2011 11:48:11 +0000 (12:48 +0100)]
s3: Add wbint_LookupSids

This will be called from wb_lookupsids to query remote DCs via lsa

13 years agos3: Make parse_sidlist public
Volker Lendecke [Tue, 8 Mar 2011 13:23:15 +0000 (14:23 +0100)]
s3: Make parse_sidlist public

13 years agos3: Simplify parse_sidlist
Volker Lendecke [Mon, 7 Mar 2011 19:27:30 +0000 (20:27 +0100)]
s3: Simplify parse_sidlist

13 years agoAdd dom_sid_parse_endp
Volker Lendecke [Mon, 7 Mar 2011 19:16:13 +0000 (20:16 +0100)]
Add dom_sid_parse_endp

This returns a pointer to the first non-parsed character, along the lines of
strtoul for example.

13 years agov3-6-ctdb: VERSION bump vendor patch level to 5
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 5

13 years agov3-6-ctdb: VERSION bump vendor patch level to 4
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 4

13 years agov3-6-ctdb: VERSION bump vendor patch level to 3
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 3

13 years agov3-6-ctdb: VERSION bump vendor patch level to 2
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 2

13 years agov3-6-ctdb: s3: Add the "net groupfilter" command
Volker Lendecke [Sun, 14 Dec 2008 23:16:56 +0000 (00:16 +0100)]
v3-6-ctdb: s3: Add the "net groupfilter" command

This is the start of a bad hack for even worse systems: Many Unix systems still
have the NGROUPS problem: A user can not be member of more than a very limited
number of groups. Solaris for example limits this to 16 by default. Many
Windows environments have a *LOT* more groups per user, some even go to
hundreds. Whether that is efficient is debatable, but it's there.

This patch implements the

"net groupfilter"

command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
present according to "net groupfilter list" (they are stored in secrets.tdb),
then only the SIDs in that list are converted to GIDs for a user at login time.

This gives the Administrator the possibility to define a set of groups that are
used on the Unix box, making sure that no user is in more than NGROUPS of those
at a time.

This patch is incomplete in the sense that winbind is not aware of this, only
smbd. So it is kind of an emergency hack for smbd-only machines.

Volker

Signed-off-by: Michael Adam <obnox@samba.org>
13 years agov3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind
Andrew Tridgell [Mon, 21 Apr 2008 16:41:32 +0000 (18:41 +0200)]
v3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind

This is needed to ensure the administrator can login to a node even
when ctdbd and winbindd are stuck

13 years agov3-6-ctdb: add README.v3-6-ctdb
Michael Adam [Tue, 18 Jan 2011 12:19:55 +0000 (13:19 +0100)]
v3-6-ctdb: add README.v3-6-ctdb

13 years agov3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"
Michael Adam [Tue, 23 Jun 2009 14:41:38 +0000 (16:41 +0200)]
v3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"

Michael

following the versioning scheme of the v3-2-ctdb branch

Michael

13 years agov3-6-ctdb: VERSION: set version to non-snapshot..
Michael Adam [Wed, 8 Apr 2009 17:28:52 +0000 (19:28 +0200)]
v3-6-ctdb: VERSION: set version to non-snapshot..

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>

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