vlendec/samba-autobuild/.git
16 years agor19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
Jim McDonough [Thu, 9 Nov 2006 20:29:31 +0000 (20:29 +0000)]
r19647: Add some GPFS support in a vfs mod.  Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890fa9c68a9848538728023192319c81a)

16 years agor19646: Fix memleak in the default_ou_string handling. Thanks to David Hu
Günther Deschner [Thu, 9 Nov 2006 10:16:38 +0000 (10:16 +0000)]
r19646: Fix memleak in the default_ou_string handling. Thanks to David Hu
<david.hu@hp.com>. Fixes #4212.

Guenther
(This used to be commit 4ec896cdbe441b17d91895a50ac9be61efe2f9c1)

16 years agor19627: Fix for bug #4211 - logic error in acl_group_override()
Jeremy Allison [Tue, 7 Nov 2006 18:35:41 +0000 (18:35 +0000)]
r19627: Fix for bug #4211 - logic error in acl_group_override()
function. Fix from Jim Wang of Wesoft.
Jeremy.
(This used to be commit eb78ce1f550377bfb1fd43f550641cf8a606e973)

16 years agor19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
James Peach [Tue, 7 Nov 2006 17:18:00 +0000 (17:18 +0000)]
r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
in core dump path.
(This used to be commit 9a51fba71c5fa7082c331e1a78a98638d9aa06cf)

16 years agor19601: Fix protection from invalid struct tm values.
Jeremy Allison [Tue, 7 Nov 2006 02:33:10 +0000 (02:33 +0000)]
r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
(This used to be commit 02a0ac0bacafe91e4fa3ca0cae2f05a25215efbc)

16 years agor19591: Use `import' and `include' in the IDL and regenerate.
Jelmer Vernooij [Mon, 6 Nov 2006 23:20:35 +0000 (23:20 +0000)]
r19591: Use `import' and `include' in the IDL and regenerate.
(This used to be commit 68fc15a5e025348dee4bf14aa4498e20905cb377)

16 years agor19579: BUG 4075: patch from Dmitry Butskoy <dmitry@butskoy.name>.
Gerald Carter [Mon, 6 Nov 2006 19:46:50 +0000 (19:46 +0000)]
r19579: BUG 4075: patch from Dmitry Butskoy <dmitry@butskoy.name>.
Allow smbd to use winbindd to lookup uids/gids outside the
idmap range if 'winbind trusted domains only = yes'
(This used to be commit 5b3ac400a7d51dfc818563189bdf6649b2dc3a52)

16 years agor19577: Fix from Nils Nordman for bug #4085. Thanks !
Jeremy Allison [Mon, 6 Nov 2006 19:21:44 +0000 (19:21 +0000)]
r19577: Fix from Nils Nordman for bug #4085. Thanks !
Jeremy.
(This used to be commit 3b5ab8ab8296339ad0e62d8564d706b5a446dcf3)

16 years agor19576: Correct trivial typo.
James Peach [Mon, 6 Nov 2006 18:39:48 +0000 (18:39 +0000)]
r19576: Correct trivial typo.
(This used to be commit a0ada1aa342722fa7f90715a312b5d81f02f937b)

16 years agor19552: Fix names of known failing tests.
Jelmer Vernooij [Sat, 4 Nov 2006 13:28:19 +0000 (13:28 +0000)]
r19552: Fix names of known failing tests.
(This used to be commit b533620f04758636db6ae5fcea932bb392bc039a)

16 years agor19542: Regenerate IDL.
Jelmer Vernooij [Fri, 3 Nov 2006 20:00:14 +0000 (20:00 +0000)]
r19542: Regenerate IDL.
(This used to be commit 759c1b0fd24aa23802432a0b9447435044d2a11c)

16 years agor19533: Add a suffix to the program name if this is a process with a
Jeremy Allison [Thu, 2 Nov 2006 09:37:52 +0000 (09:37 +0000)]
r19533: Add a suffix to the program name if this is a process with a
non-default configuration file name.
Jeremy.
(This used to be commit e8bf421c018ed829b9dba7c0872693080b77d49d)

16 years agor19529: Added showacls togle. Previously was vendor-specific code.
Jeremy Allison [Wed, 1 Nov 2006 17:18:08 +0000 (17:18 +0000)]
r19529: Added showacls togle. Previously was vendor-specific code.
Merging these in - should have been merged back before (will
be tidied up later).
Jeremy.
(This used to be commit 1e9284590f42b61bd730104920bc535bf7dfcbf4)

16 years agor19528: Fix container handling for "net ads user" and "net ads group" functions
Günther Deschner [Wed, 1 Nov 2006 11:19:33 +0000 (11:19 +0000)]
r19528: Fix container handling for "net ads user" and "net ads group" functions
along with some memleaks.

Guenther
(This used to be commit 4bad52c5b3a983418d4216a2c3f5e04926e37e94)

16 years agor19527: Fix double free in "net ads group add".
Günther Deschner [Wed, 1 Nov 2006 11:08:05 +0000 (11:08 +0000)]
r19527: Fix double free in "net ads group add".

Guenther
(This used to be commit 08db3d3b04d91238b739e88e817bd3f800b768ee)

16 years agor19526: Fix minor memleak.
Günther Deschner [Wed, 1 Nov 2006 11:04:28 +0000 (11:04 +0000)]
r19526: Fix minor memleak.

Guenther
(This used to be commit 61ebedc82ee7d7a98e2a52b0677d723a801ab30f)

16 years agor19525: Fix the same error in "net ads group delete".
Günther Deschner [Wed, 1 Nov 2006 10:59:28 +0000 (10:59 +0000)]
r19525: Fix the same error in "net ads group delete".

Guenther
(This used to be commit 94ed3e9de8671d677451d2a16977caeeb7e744d1)

16 years agor19524: Stop "net ads user delete" from doing funny things.
Günther Deschner [Wed, 1 Nov 2006 10:38:54 +0000 (10:38 +0000)]
r19524: Stop "net ads user delete" from doing funny things.

Guenther
(This used to be commit a20e7c0315f9a06ce2139f99d035b409b066d722)

16 years agor19516: Fix the DN, to make searches using the domain as base
Simo Sorce [Tue, 31 Oct 2006 12:57:56 +0000 (12:57 +0000)]
r19516: Fix the DN, to make searches using the domain as base
the DN must be rid,domain and not domain,rid

Also use member and not memberOf for group members
following conventions.
(This used to be commit 7c0ea791d21d914e882b56a849766d966ce8ed1a)

16 years agor19497: Thought I already fixes the etags target. Ignore .svn
Gerald Carter [Wed, 25 Oct 2006 16:19:42 +0000 (16:19 +0000)]
r19497: Thought I already fixes the etags target.  Ignore .svn
and not CVS (since we don't use CVS anymore
(This used to be commit 782298cd03f3fd79a46e65626ed2864e46ce3daf)

16 years agor19494: When building with a static Heimdal, make sure not to link against
Günther Deschner [Wed, 25 Oct 2006 12:50:10 +0000 (12:50 +0000)]
r19494: When building with a static Heimdal, make sure not to link against
-lgssapi_krb5. With that change I could sucessfully verify that Heimdal
support is still working nicely after the changes from jpeach.

Guenther
(This used to be commit 53d09487a003c00b7bb6c1a4824bda799b928bfc)

16 years agor19493: There is no point in prompting for a user's password in "net ads" when
Günther Deschner [Wed, 25 Oct 2006 12:10:48 +0000 (12:10 +0000)]
r19493: There is no point in prompting for a user's password in "net ads" when
we can't find a domain controller at all.

Guenther
(This used to be commit e691ae7da3620a7d4c0e0b1217aaae44db0b8db3)

16 years agor19491: backport changes from samba4
Simo Sorce [Wed, 25 Oct 2006 02:06:05 +0000 (02:06 +0000)]
r19491: backport changes from samba4
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)

16 years agor19487: Fix coverity # 313
Volker Lendecke [Tue, 24 Oct 2006 20:23:14 +0000 (20:23 +0000)]
r19487: Fix coverity # 313
(This used to be commit 0eb5a0f7b8dd26dae489b74e1d2a88188ae9e48d)

16 years agor19486: Probably Coverity is wrong here, but this fixes their ID 317. Not sure whether
Volker Lendecke [Tue, 24 Oct 2006 20:20:39 +0000 (20:20 +0000)]
r19486: Probably Coverity is wrong here, but this fixes their ID 317. Not sure whether
to merge it to 4_0. I want it in 3_0 because it took a bit to persuade myself
that el can not be NULL here.

Volker
(This used to be commit c0c035b1c8b9d80cd205cde16ad3e838e2d44459)

16 years agor19485: Fix Coverity # 319
Volker Lendecke [Tue, 24 Oct 2006 20:15:13 +0000 (20:15 +0000)]
r19485: Fix Coverity # 319
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)

16 years agor19484: Fix Coverity #329
Volker Lendecke [Tue, 24 Oct 2006 20:12:38 +0000 (20:12 +0000)]
r19484: Fix Coverity #329
(This used to be commit c3f860e55da8877131f149ca213b311c215e8a6e)

16 years agor19477: Patch from Huang Dejin Eugene <hdejin@yahoo.com>.
James Peach [Tue, 24 Oct 2006 03:23:19 +0000 (03:23 +0000)]
r19477: Patch from Huang Dejin Eugene <hdejin@yahoo.com>.

Add configure option --enable-fam so that FAM support can explicitly
be controlled at build time. Default behaviour is to autodetect.
(This used to be commit 066951bc48723b1a26aab9ebb21ff2c897189043)

16 years agor19469: Another user of NetShareEnum
Volker Lendecke [Mon, 23 Oct 2006 20:13:53 +0000 (20:13 +0000)]
r19469: Another user of NetShareEnum
(This used to be commit 3a1be1626c1e285da70a8fd688a494eb633eee2f)

16 years agor19468: Fix some potential NULL dereferences
Volker Lendecke [Mon, 23 Oct 2006 20:11:12 +0000 (20:11 +0000)]
r19468: Fix some potential NULL dereferences
(This used to be commit c8ed4129767d53ba6b7a084ca43b3e22e847ffec)

16 years agor19451: Another cleanup of 18802. Referring to structures after the block has been
Volker Lendecke [Sun, 22 Oct 2006 10:30:46 +0000 (10:30 +0000)]
r19451: Another cleanup of 18802. Referring to structures after the block has been
left is not a good idea.

Volker
(This used to be commit 88ac17db196c828e15a73c7561fda291b15e2613)

16 years agor19450: Fix smbtree's use of netshareenum.
Volker Lendecke [Sun, 22 Oct 2006 10:01:55 +0000 (10:01 +0000)]
r19450: Fix smbtree's use of netshareenum.

Jelmer, how much of r18802 did you actually test??

Volker
(This used to be commit d0025861c09b3a19ecd291265f10eaec5f380932)

16 years agor19448: Convert delete_share_security to struct share_params plus some cleanups
Volker Lendecke [Sat, 21 Oct 2006 17:00:47 +0000 (17:00 +0000)]
r19448: Convert delete_share_security to struct share_params plus some cleanups
(This used to be commit c73d0815a3a1f58b951caa62fac601a8f4630894)

16 years agor19447: Do not throw away information
Volker Lendecke [Sat, 21 Oct 2006 16:52:25 +0000 (16:52 +0000)]
r19447: Do not throw away information
(This used to be commit 141e0dd7174462d0df642f6055eb3f35df107bac)

16 years agor19446: Comment can be NULL now
Volker Lendecke [Sat, 21 Oct 2006 16:46:30 +0000 (16:46 +0000)]
r19446: Comment can be NULL now
(This used to be commit f4dcb9bd56dc61bc2d254f1fb8a648ef9fc6aa8f)

16 years agor19445: Attempt to fix net rpc share
Volker Lendecke [Sat, 21 Oct 2006 16:27:38 +0000 (16:27 +0000)]
r19445: Attempt to fix net rpc share
(This used to be commit 769988f83adac5f8adcf6a3cda68fb8f26a0327d)

16 years agor19444: merge from samba4:
Stefan Metzmacher [Sat, 21 Oct 2006 11:50:52 +0000 (11:50 +0000)]
r19444: merge from samba4:

reset trap when we have removed the test specifc files already

metze
(This used to be commit 36065025c70d4ae3115554aac44c8807725a63b7)

16 years agor19431: merge recent talloc performance improvements from Samba4
Andrew Tridgell [Sat, 21 Oct 2006 00:23:27 +0000 (00:23 +0000)]
r19431: merge recent talloc performance improvements from Samba4
(This used to be commit ced12bd6d8c95a103cb2c84166a64f9a21bd32ad)

16 years agor19430: merge recent ldb changes from Samba4. This includes memory leak fixes
Andrew Tridgell [Sat, 21 Oct 2006 00:10:19 +0000 (00:10 +0000)]
r19430: merge recent ldb changes from Samba4. This includes memory leak fixes
and significant speedups
(This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)

16 years agor19429: moved tdb/common/tdbutil.c into lib/util_tdb.c
Andrew Tridgell [Fri, 20 Oct 2006 23:46:59 +0000 (23:46 +0000)]
r19429: moved tdb/common/tdbutil.c into lib/util_tdb.c

see discussion on samba-technical
(This used to be commit 1ad563286f00be0d72930b81b10cb74f13c5fbff)

16 years agor19426: merge nearly all the differences between Samba3 tdb and Samba4
Andrew Tridgell [Fri, 20 Oct 2006 09:55:47 +0000 (09:55 +0000)]
r19426: merge nearly all the differences between Samba3 tdb and Samba4
tdb. This includes:

 - the new tdb_lockall and tdb_lockall_read code, which will be needed
   for the ldb speedups

 - the tdb logging changes. This is an intermediate step to keep the
   differences between the two branches small. The plan is still to
   move to a tdb_init()/tdb_set_logging_function()/tdb_attach() style
   of open which will make things much cleaner.

 - the updated test suites and standalone tdb build code

 - use libreplace headers

There are still some small differences I haven't merged. I'll discuss
those on the list.
(This used to be commit 48903c75edfaf75dbd3e9d052e615552cdff39b4)

16 years agor19424: Protect against username == NULL
Jeremy Allison [Fri, 20 Oct 2006 08:14:38 +0000 (08:14 +0000)]
r19424: Protect against username == NULL
Jeremy.
(This used to be commit 78b14de27a2220dc4a26d21d108242220b4a1598)

16 years agor19422: Doh ! Put the krb5 user@realm code in the right place.
Jeremy Allison [Fri, 20 Oct 2006 07:44:09 +0000 (07:44 +0000)]
r19422: Doh ! Put the krb5 user@realm code in the right place.
Jeremy.
(This used to be commit a31bbbaee1042143d750a29b8fcec4720bfdb374)

16 years agor19421: BUG 3868: Patch from Timur Bakeyev <timur@com.bat.ru> to prevent
Gerald Carter [Thu, 19 Oct 2006 22:48:03 +0000 (22:48 +0000)]
r19421: BUG 3868: Patch from Timur Bakeyev <timur@com.bat.ru> to prevent
--with-aio-support from trimping on the $LIBS variable
(This used to be commit 00bf29d352af694373be035047cfcf1298891d25)

16 years agor19420: Remove strequal and use strcmp() instead. Meant to
Gerald Carter [Thu, 19 Oct 2006 22:41:11 +0000 (22:41 +0000)]
r19420: Remove strequal and use strcmp() instead.  Meant to
make the change before theprevious commit.
(This used to be commit 815388c4c8be1274359679077a120fec4cc39b0f)

16 years agor19419: BUG 4109: Patch from Timur Bakeyev. Fix bug causing smbd to turn off
Gerald Carter [Thu, 19 Oct 2006 22:34:58 +0000 (22:34 +0000)]
r19419: BUG 4109: Patch from Timur Bakeyev.  Fix bug causing smbd to turn off
winbindd and fail to disable the _NO_WINBIND environment.
(This used to be commit a6366b40b3967853c20ca5399021108f09ffd505)

16 years agor19417: BUG 3856: patch from Timur Bakeyev <timur@com.bat.ru> to include setting...
Gerald Carter [Thu, 19 Oct 2006 22:28:55 +0000 (22:28 +0000)]
r19417: BUG 3856: patch from Timur Bakeyev <timur@com.bat.ru> to include setting the nss soname version on FreeBSD
(This used to be commit e1490e72eafbe3a2f9cc2e3a46563a75a19672e0)

16 years agor19416: Fix some c++ warnings.
Günther Deschner [Thu, 19 Oct 2006 21:47:11 +0000 (21:47 +0000)]
r19416: Fix some c++ warnings.

Guenther
(This used to be commit b076c39b6ac87a078feae30a4384c881c46e81ac)

16 years agor19415: oh la la, always compile before commit, I'm very sorry.
Günther Deschner [Thu, 19 Oct 2006 15:47:19 +0000 (15:47 +0000)]
r19415: oh la la, always compile before commit, I'm very sorry.

Guenther
(This used to be commit bdd2e0361ce53a4f10fca767f734991797e7f927)

16 years agor19414: gencache is getting really important now, make sure that lp_lockdir
Günther Deschner [Thu, 19 Oct 2006 15:43:25 +0000 (15:43 +0000)]
r19414: gencache is getting really important now, make sure that lp_lockdir
always exists so that the gencache.tdb can get created there.

Guenther
(This used to be commit e5ed286125d1f4b8b28bf143f987102071fd0de2)

16 years agor19413: Now we're calling init_dc_connection, this code
Jeremy Allison [Thu, 19 Oct 2006 13:32:00 +0000 (13:32 +0000)]
r19413: Now we're calling init_dc_connection, this code
is completely useless (and in fact harmful :-) in
that it causes a winbindd error where there should
be none.
Jeremy.
(This used to be commit acf5419d62f4ac64449d4722c5ff3c9be35c0570)

16 years agor19399: Now Guenther discovered one crash dereferencing domain->backends,
Jeremy Allison [Wed, 18 Oct 2006 21:24:20 +0000 (21:24 +0000)]
r19399: Now Guenther discovered one crash dereferencing domain->backends,
get paranoid. I don't think this can really happen, but let's be
sure.
Jeremy.
(This used to be commit be4709984b8548abf10a5e9fabba21d53440c42a)

16 years agor19394: When we fail to get the list of trusted domains, make sure to return
Günther Deschner [Wed, 18 Oct 2006 16:09:42 +0000 (16:09 +0000)]
r19394: When we fail to get the list of trusted domains, make sure to return
WINBINDD_ERROR.

Guenther
(This used to be commit 6089b3007bf92904ca4562d21958d7922143dbcb)

16 years agor19391: Fix crash bug within the winbind caching method.
Günther Deschner [Wed, 18 Oct 2006 14:22:08 +0000 (14:22 +0000)]
r19391: Fix crash bug within the winbind caching method.

That one was hard to find: when coming from offline mode and switching
to online, a refresh sequence number call (using the default MS-RPC
mechanism) may reset domain->backend to NULL (by the set_domain_online
event). We need to make sure to reidentify the remote domain in that
case.

Guenther
(This used to be commit 4d6503d1377a262ba8b87f344be7daf04e011ef2)

16 years agor19390: Add some tests that are known failing against samba3.
Jelmer Vernooij [Wed, 18 Oct 2006 12:23:58 +0000 (12:23 +0000)]
r19390: Add some tests that are known failing against samba3.
(This used to be commit 6ff2ad4246a7e6c51ac8764c417fffc57c6d49df)

16 years agor19386: Limit the size of the connection bitmap to <64K entries.
James Peach [Wed, 18 Oct 2006 03:34:31 +0000 (03:34 +0000)]
r19386: Limit the size of the connection bitmap to <64K entries.
(This used to be commit 9f0518e0b0d4add7cceac6d4d797edddb0080aaa)

16 years agor19385: These replaced symbols should have a rep_ prefix.
James Peach [Wed, 18 Oct 2006 03:26:58 +0000 (03:26 +0000)]
r19385: These replaced symbols should have a rep_ prefix.
(This used to be commit decdb46a3f7445d589c23e0ad554453ae79cd292)

16 years agor19374: fix the build with heimdal
Stefan Metzmacher [Tue, 17 Oct 2006 15:57:00 +0000 (15:57 +0000)]
r19374: fix the build with heimdal

metze
(This used to be commit a813c7595541e31dfa77915d80235de4402bfeca)

16 years agor19371: Add two missing refresh_sequence_number calls where they are missing
Günther Deschner [Tue, 17 Oct 2006 12:41:24 +0000 (12:41 +0000)]
r19371: Add two missing refresh_sequence_number calls where they are missing
just before writing to the winbind cache tdb.

Guenther
(This used to be commit bd8548998b06a84c2e66acbcb68542a4b5d8b8df)

16 years agor19368: Use WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE whereever the winbindd tdb is
Günther Deschner [Tue, 17 Oct 2006 12:06:17 +0000 (12:06 +0000)]
r19368: Use WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE whereever the winbindd tdb is
opened.

Guenther
(This used to be commit 49e9e1a3e7f6ac1a9cf584c88f3c640ca9d15554)

16 years agor19355: Add getdispenumindex2 wrapper for rpcclient.
Günther Deschner [Mon, 16 Oct 2006 23:42:15 +0000 (23:42 +0000)]
r19355: Add getdispenumindex2 wrapper for rpcclient.

Guenther
(This used to be commit 27c35848ebc6d72fd4fccbb6597b63787230f80c)

16 years agor19354: adjust usage printf for rpcclient's timeout command.
Günther Deschner [Mon, 16 Oct 2006 23:28:48 +0000 (23:28 +0000)]
r19354: adjust usage printf for rpcclient's timeout command.

Guenther
(This used to be commit fb21c9c58b3867ee2f0831342427b0cd0aa1fd6c)

16 years agor19353: Add "timeout" command for rpcclient.
Günther Deschner [Mon, 16 Oct 2006 23:27:38 +0000 (23:27 +0000)]
r19353: Add "timeout" command for rpcclient.

Guenther
(This used to be commit 4106a56d3f4edb2e07e876204743a1cb028c950a)

16 years agor19351: Also export the info3 profilepath via the PAM_WINBIND_PROFILEPATH data
Günther Deschner [Mon, 16 Oct 2006 23:13:56 +0000 (23:13 +0000)]
r19351: Also export the info3 profilepath via the PAM_WINBIND_PROFILEPATH data
field.

Guenther
(This used to be commit 66b92f27fa4edec180b8c8eee929ec8f31ef6a08)

16 years agor19349: Fix invalid free on the PAM_WINBIND_PWD_LAST_SET data.
Günther Deschner [Mon, 16 Oct 2006 23:06:48 +0000 (23:06 +0000)]
r19349: Fix invalid free on the PAM_WINBIND_PWD_LAST_SET data.

Guenther
(This used to be commit a4d17ee9c960abdf21b9af1601bd1042e0cd7636)

16 years agor19348: Fix uninitialized dictionary handle, found by valgrind.
Günther Deschner [Mon, 16 Oct 2006 22:41:24 +0000 (22:41 +0000)]
r19348: Fix uninitialized dictionary handle, found by valgrind.

Guenther
(This used to be commit 9621bb420a13e634badcc922c73c8bfb30aa6120)

16 years agor19345: Allow better rootdse searches.
Günther Deschner [Mon, 16 Oct 2006 20:27:08 +0000 (20:27 +0000)]
r19345: Allow better rootdse searches.

Guenther
(This used to be commit 27fbd85300c810cd06f4df514b6a762f8eac84d5)

16 years agor19342: we only have one BASE-LOCK test in samba4's smbtorture now
Stefan Metzmacher [Mon, 16 Oct 2006 19:59:32 +0000 (19:59 +0000)]
r19342: we only have one BASE-LOCK test in samba4's smbtorture now

metze
(This used to be commit a2c20811d6ef2a20326bcc2d4c2bb2cbb49f6394)

16 years agor19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
Günther Deschner [Mon, 16 Oct 2006 14:29:14 +0000 (14:29 +0000)]
r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.

Guenther
(This used to be commit 37dd019e21cab2f0df314b0b741f79422fc10d1b)

16 years agor19302: Use TALLOC_ZERO_P not TALLOC_P to ensure unused
Jeremy Allison [Mon, 16 Oct 2006 00:12:00 +0000 (00:12 +0000)]
r19302: Use TALLOC_ZERO_P not TALLOC_P to ensure unused
fields are initialized to zero.
Jeremy.
(This used to be commit 8a0ff70e8e562db17b8d90dbde7aeb0314d270da)

16 years agor19301: Correct debug statement.
Jeremy Allison [Mon, 16 Oct 2006 00:08:19 +0000 (00:08 +0000)]
r19301: Correct debug statement.
(This used to be commit 3ea8399bc9ae9de0a6eb0efe0f5b96f923b62082)

16 years agor19300: Fix null deref in debug statement.
Jeremy Allison [Mon, 16 Oct 2006 00:00:32 +0000 (00:00 +0000)]
r19300: Fix null deref in debug statement.
Jeremy.
(This used to be commit c55b9111f60debe4c5a7765273fc86ac3829f31c)

16 years agor19292: Avoid some potential segfaults: In winreg_EnumValue all pointers are unique
Volker Lendecke [Sun, 15 Oct 2006 16:06:10 +0000 (16:06 +0000)]
r19292: Avoid some potential segfaults: In winreg_EnumValue all pointers are unique
pointers and can thus be independently NULL.

Thanks,

Volker
(This used to be commit d48ac0726a931a7200c47a87f771b74826ab9c96)

16 years agor19291: this should fix the build on heimdal systems
Stefan Metzmacher [Sun, 15 Oct 2006 15:14:04 +0000 (15:14 +0000)]
r19291: this should fix the build on heimdal systems

metze
(This used to be commit 785ab128c4d630819f141ede8bcf5fc0c705aebb)

16 years agor19290: regedit running on nt4 will cut off the last character from a enumkey without
Volker Lendecke [Sun, 15 Oct 2006 14:47:25 +0000 (14:47 +0000)]
r19290: regedit running on nt4 will cut off the last character from a enumkey without
this patch. Jerry, Jelmer, can you please check this?

Thanks,

Volker
(This used to be commit ed95fe3c63d48de9504d43f90e72f11ec0617064)

16 years agor19288: tdb_prs_store is right now used to store printer and share security
Volker Lendecke [Sun, 15 Oct 2006 09:16:41 +0000 (09:16 +0000)]
r19288: tdb_prs_store is right now used to store printer and share security
descriptors. Both databases are long-lived and not frequently written, so I
think storing it deserves a tdb transaction.

Volker
(This used to be commit 2d4b5f5727104f87b8282fc0e94675b0dc4cd9d8)

16 years agor19287: As requested by Bjoern Jacke <bjoern@j3e.de>: Check in the NetBSD winbind...
Volker Lendecke [Sun, 15 Oct 2006 08:32:25 +0000 (08:32 +0000)]
r19287: As requested by Bjoern Jacke <bjoern@j3e.de>: Check in the NetBSD winbind module by Luke
Mewburn.

Volker
(This used to be commit 104f5e9ec9aea71950308b8b73479f06bf3c66a2)

16 years agor19286: Remove dependency on Fink. If we really *need* anything from Fink,
James Peach [Sun, 15 Oct 2006 04:49:22 +0000 (04:49 +0000)]
r19286: Remove dependency on Fink. If we really *need* anything from Fink,
this shold be a strong dependency. If stuff from Fink is an optional
extra, there should be a --with-stuff-from-fink argument. It's just
too easy to unexpectedly end up with binaries that depend on
/sw/{lib,include}.
(This used to be commit d0166e117216b5196b27a7caef776007641072f2)

16 years agor19272: Ensure we return 1 member in the optimized case.
Jeremy Allison [Sat, 14 Oct 2006 01:57:59 +0000 (01:57 +0000)]
r19272: Ensure we return 1 member in the optimized case.
(This used to be commit cc6cdabf19e9a610be064e26fdf3a9d2a3c76c2c)

16 years agor19271: Test the "hack" for "Domain Users" as agreed with
Jeremy Allison [Sat, 14 Oct 2006 00:33:03 +0000 (00:33 +0000)]
r19271: Test the "hack" for "Domain Users" as agreed with
Jerry.
If "enum users" is set to false, and the group being looked
up is the Domain Users SID: S-1-5-domain-513, then for the
list of members check if the querying user is in that group,
and if so only return that user as the gr_mem array.
We can change this to a different parameter than "enum users"
if neccessaey, or parameterize the group list we do this for.
Jeremy.
(This used to be commit 91b40e25cc38ed6e8df9e448da975d3e202d919f)

16 years agor19270: Stop depending on internal MIT symbols. These are private on MacOS
James Peach [Fri, 13 Oct 2006 23:43:27 +0000 (23:43 +0000)]
r19270: Stop depending on internal MIT symbols. These are private on MacOS
x, so we can't get at them even if we wanted to.

Kerberos experts, please take a look to make sure I've done the
right thing!
(This used to be commit 9b8e179fcc1fb877e8601bfd242ee1fd615b554c)

16 years agor19263: Be more accurate in telling what the sitename problem is in this DEBUG
Günther Deschner [Fri, 13 Oct 2006 09:44:54 +0000 (09:44 +0000)]
r19263: Be more accurate in telling what the sitename problem is in this DEBUG
statement.

Guenther
(This used to be commit 62928734b820f512f940c1ed79048e14b322d060)

16 years agor19260: Fix for bug #3524 from tiamat@komi.mts.ru - Solaris quotas.
Jeremy Allison [Fri, 13 Oct 2006 05:22:36 +0000 (05:22 +0000)]
r19260: Fix for bug #3524 from tiamat@komi.mts.ru - Solaris quotas.
Jeremy.
(This used to be commit ac510a90f3adf72b64a8e2a764b0500dcd223b3f)

16 years agor19257: Janitor for Guenther - as well as a little massaging to make
Jeremy Allison [Thu, 12 Oct 2006 21:03:28 +0000 (21:03 +0000)]
r19257: Janitor for Guenther - as well as a little massaging to make
his patch fit SAMBA_3_0. (This is guenthers code). Make
site support work correctly in net ads join.
Jeremy.
(This used to be commit 47352b5398e67eb8f4f383dafce31c922626ae99)

16 years agor19255: Add blacklist of accounts when NSS initgroups calls are coming in and
Günther Deschner [Thu, 12 Oct 2006 13:29:01 +0000 (13:29 +0000)]
r19255: Add blacklist of accounts when NSS initgroups calls are coming in and
"winbind use default domain" is set. Defaults to "root, nobody, lp"
currently.

Guenther
(This used to be commit b5b42196a6f2869deefc700dc98060f5ab832e40)

16 years agor19254: Make sure to also wait 35 seconds to receive a Netlogon GETDC reply
Günther Deschner [Thu, 12 Oct 2006 11:25:37 +0000 (11:25 +0000)]
r19254: Make sure to also wait 35 seconds to receive a Netlogon GETDC reply
here in winbindd_getdcname().

Guenther
(This used to be commit 58a181edc5ea8e87e9978f11a5a729ad4dc60091)

16 years agor19250: Fixes bug 4156.
Derrell Lipman [Wed, 11 Oct 2006 19:51:52 +0000 (19:51 +0000)]
r19250: Fixes bug 4156.

The protocol negotiation string "LANMAN2.1" was not listed in the set of
negotiatiable possibilities, so non-optimal negotiation was taking place.
(This used to be commit a0dfa60fc5146ea6af0b88d91e030a4ec3d7f01e)

16 years agor19249: Attempt to fix a site lookup bug found by Guenther.
Jeremy Allison [Wed, 11 Oct 2006 18:54:40 +0000 (18:54 +0000)]
r19249: Attempt to fix a site lookup bug found by Guenther.

- "The problem is, with a fresh system, we don't know our sitename,
therefor we do a stupid DNS query for all DCs. The reply we get is a
round-robin list of all 21 DCs, we just pick the first, contact that
and safe that INET.COM#1C query in the name cache for later use...
What we need to do if we don't yet know our sitename, is to contact to
any DC, get the CLDAP reply to tell us in which site we are, then flush
the namecache and requery DNS including the sitename"

Implement the flushing of the #1C entries for a given NetBIOS name/realm
when looking up the site value.

Jeremy.
(This used to be commit b2d1e44f59d32c91b1d48eacd1a158ba7b65762d)

16 years agor19248: Activate RPC-SAMBA3-WKSSVC
Volker Lendecke [Wed, 11 Oct 2006 15:27:21 +0000 (15:27 +0000)]
r19248: Activate RPC-SAMBA3-WKSSVC
(This used to be commit ed6070b7a053e162a9ac5809ff54181c04267f00)

16 years agor19246: merge from samba4 rev 18207 and 18208:
Stefan Metzmacher [Wed, 11 Oct 2006 13:59:03 +0000 (13:59 +0000)]
r19246: merge from samba4 rev 18207 and 18208:

readline fixes for mac os 10

metze
(This used to be commit 976b97ecbf9bde400a6f92cad9d9709d56e73058)

16 years agor19244: fix the build on systems with broken krb5
Stefan Metzmacher [Wed, 11 Oct 2006 13:31:00 +0000 (13:31 +0000)]
r19244: fix the build on systems with broken krb5
we need to make sure

HAVE_GSSAPI

HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H

are not in config.h

this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()

metze
(This used to be commit eb1f0b49cf0e84385a62f9dfcb2167fea2e8fd8b)

16 years agor19243: Fix debug statement.
Günther Deschner [Wed, 11 Oct 2006 12:29:04 +0000 (12:29 +0000)]
r19243: Fix debug statement.

Guenther
(This used to be commit 4b9d79147ae81fb701abf02dc046076f606443b6)

16 years agor19241: compile xattr wrappers on mac os 10
Stefan Metzmacher [Wed, 11 Oct 2006 11:41:39 +0000 (11:41 +0000)]
r19241: compile xattr wrappers on mac os 10

patch from Bjoern Jacke and it fixes bug 3698

metze
(This used to be commit e54302b9163cfe726c30a8efdc779250e076d493)

16 years agor19240: move the NO_CONFIG_H check to libreplace
Stefan Metzmacher [Wed, 11 Oct 2006 11:38:40 +0000 (11:38 +0000)]
r19240: move the NO_CONFIG_H check to libreplace

this fixes the quota detection configure and maybe more
configure tests

metze
(This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)

16 years agor19239: make the acl configure check more readable...
Stefan Metzmacher [Wed, 11 Oct 2006 10:57:33 +0000 (10:57 +0000)]
r19239: make the acl configure check more readable...

metze
(This used to be commit 0882f0c9d671cd466668f65433ee33a71f127a95)

16 years agor19238: Let the comfigure check find that some krb5 functions
Stefan Metzmacher [Wed, 11 Oct 2006 09:46:19 +0000 (09:46 +0000)]
r19238: Let the comfigure check find that some krb5 functions
are missing! Bailing out at compile time is ugly.

Hopefully this fixes the Mac OS 10 boxes in the build-farm
there're some missing function. Fixing that is a different
problem...

metze
(This used to be commit e00a83a0b65f4685b946aa9a4d225645f67a6df6)

16 years agor19237: fix typo
Stefan Metzmacher [Wed, 11 Oct 2006 09:15:11 +0000 (09:15 +0000)]
r19237: fix typo

metze
(This used to be commit d91041d4b6973fd9779d355cd6f9634e207b7653)

16 years agor19236: prepare for --with-pam=auto as default
Stefan Metzmacher [Wed, 11 Oct 2006 08:47:56 +0000 (08:47 +0000)]
r19236: prepare for --with-pam=auto as default
but still leave --with-pam=no the default for now
and wait for discussion on samba-technical

metze
(This used to be commit b045d5afcf2e352ebb797132bd6b7c02f3b685a0)

16 years agor19235: merge from samba4:
Stefan Metzmacher [Wed, 11 Oct 2006 07:22:33 +0000 (07:22 +0000)]
r19235: merge from samba4:

fix configure test for net/if.h on some platforms

AC_LANG_SOURCE() adds the content of confdefs.h in front
of the compiled file

metze
(This used to be commit 7cbdc06ad9b68544c8eeaa68fdd7b03f71c0b739)

16 years agor19233: remove unused --with-spinlocks option
Stefan Metzmacher [Wed, 11 Oct 2006 05:36:52 +0000 (05:36 +0000)]
r19233: remove unused --with-spinlocks option

the defines are not used anywhere in the tree.
(grep -R SPINLOCKS . in the topdir)

metze
(This used to be commit 1697686d9da7dd1ac707c7af9c145c0fc6204108)