12 years agor18697: Make sure that does not
Günther Deschner [Tue, 19 Sep 2006 22:57:13 +0000 (22:57 +0000)]
r18697: Make sure that does not

* chase referrals
* use paged search control

when using the LDAP change notify control for monitoring changes.

(This used to be commit d6849a83c01ee444931ffaa34c77b5fb7f4c8a5c)

12 years agor18695: Zero initialize ref ptrs as well.
Jelmer Vernooij [Tue, 19 Sep 2006 22:47:30 +0000 (22:47 +0000)]
r18695: Zero initialize ref ptrs as well.
(This used to be commit 3295122173b0794880e68ea60f51d41b9b170ff4)

12 years agor18694: prevent -O and -g from being set at the same time (by default)
Gerald Carter [Tue, 19 Sep 2006 22:47:01 +0000 (22:47 +0000)]
r18694: prevent -O and -g from being set at the same time (by default)
(This used to be commit 5af1d3a425e99a49d7ff6bee4dad024e0f82509b)

12 years agor18692: Dump debug data when DEBUGLEVEL >= 10
Jelmer Vernooij [Tue, 19 Sep 2006 22:39:15 +0000 (22:39 +0000)]
r18692: Dump debug data when DEBUGLEVEL >= 10
(This used to be commit 503d1a27d5838718355fdd37968c3670f53b1cd7)

12 years agor18690: Regenerate RPC files after pidl changes.
Jelmer Vernooij [Tue, 19 Sep 2006 22:22:57 +0000 (22:22 +0000)]
r18690: Regenerate RPC files after pidl changes.
(This used to be commit 87d34305374e867eeac9d75d5d690c6b15570e6e)

12 years agor18688: get rid of the now obsolete keepref attribute
Jelmer Vernooij [Tue, 19 Sep 2006 22:14:34 +0000 (22:14 +0000)]
r18688: get rid of the now obsolete keepref attribute
(This used to be commit b970f05b9b06762ed11bef0e765717bd2b36d760)

12 years agor18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
Stefan Metzmacher [Tue, 19 Sep 2006 21:57:59 +0000 (21:57 +0000)]
r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64

(This used to be commit aa8222c6a709a1538862878b89a17b893600b7e8)

12 years agor18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
Gerald Carter [Tue, 19 Sep 2006 19:47:54 +0000 (19:47 +0000)]
r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
to ensure it finds the Unix user.
(This used to be commit 4cea9bfca1b84db31fae6f7a05ff3247a23fd409)

12 years agor18681: Although we have commandline completion in rpcclient, just also allow
Günther Deschner [Tue, 19 Sep 2006 18:32:13 +0000 (18:32 +0000)]
r18681: Although we have commandline completion in rpcclient, just also allow
"debug" to be set instead of "debuglevel" - just for convenience.

(This used to be commit ffec64730b04076264045841ccfd0ed7fce43c2f)

12 years agor18680: Fix last struct uuids (in uncommented code).
Günther Deschner [Tue, 19 Sep 2006 17:29:31 +0000 (17:29 +0000)]
r18680: Fix last struct uuids (in uncommented code).

(This used to be commit 41c79ee5accb13f73d1f65b303d723ca2ff49933)

12 years agor18679: Fix the build.
Günther Deschner [Tue, 19 Sep 2006 17:27:17 +0000 (17:27 +0000)]
r18679: Fix the build.

(This used to be commit b42bd2bf9b8180813b6f3f1d7a1e08652f87d9e7)

12 years agor18678: Fix the build. (never commit before breakfeast).
Günther Deschner [Tue, 19 Sep 2006 16:15:54 +0000 (16:15 +0000)]
r18678: Fix the build. (never commit before breakfeast).

(This used to be commit e1e9b57ce24c9825a8904697918818df7e83b50b)

12 years agor18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.
Günther Deschner [Tue, 19 Sep 2006 15:53:44 +0000 (15:53 +0000)]
r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.

(This used to be commit bd546edc482d42c6d783f474eeffa8a8086efd83)

12 years agor18673: define the macros even if we don't define bool ourself
Stefan Metzmacher [Tue, 19 Sep 2006 03:38:35 +0000 (03:38 +0000)]
r18673: define the macros even if we don't define bool ourself

(This used to be commit 65013a8d9e678c44cecae07967b7a001b796faf1)

12 years agor18672: fix the build on Tru64
Stefan Metzmacher [Tue, 19 Sep 2006 03:29:44 +0000 (03:29 +0000)]
r18672: fix the build on Tru64

(This used to be commit 6c101d206812fe24233409e0757cad52638e685a)

12 years agor18671: try to fix the build on solaris 10 and maybe some other hosts
Stefan Metzmacher [Tue, 19 Sep 2006 03:04:57 +0000 (03:04 +0000)]
r18671: try to fix the build on solaris 10 and maybe some other hosts

we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>

(This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)

12 years agor18670: Fix memleaks.
Günther Deschner [Tue, 19 Sep 2006 02:04:11 +0000 (02:04 +0000)]
r18670: Fix memleaks.

(This used to be commit 2fc63fb8f7927ea61c565801b4c6308d3a4afcd1)

12 years agor18669: fix the samba3 build...
Stefan Metzmacher [Tue, 19 Sep 2006 02:03:15 +0000 (02:03 +0000)]
r18669: fix the samba3 build...

we need to move the iconv configure checks to libreplace...

(This used to be commit 6b53ed8fdc2a4c0b3b24e22ada90d14d60cc93fb)

12 years agor18667: Two C++ warnings
Volker Lendecke [Tue, 19 Sep 2006 01:28:25 +0000 (01:28 +0000)]
r18667: Two C++ warnings
(This used to be commit 8c60e71229cd577f3b17345c5824363dd202eba9)

12 years agor18666: checking in generated netlogon files
Gerald Carter [Tue, 19 Sep 2006 01:27:20 +0000 (01:27 +0000)]
r18666: checking in generated netlogon files
(This used to be commit ac5561103caccac7d14fddbdc9a0fa972be45c6f)

12 years agor18665: Remove two type-punned warnings
Volker Lendecke [Tue, 19 Sep 2006 01:25:52 +0000 (01:25 +0000)]
r18665: Remove two type-punned warnings
(This used to be commit 157b2c0c262dc9b9ae2a8a3133479e66e6c8db07)

12 years agor18664: this stuff is included from libreplace
Stefan Metzmacher [Tue, 19 Sep 2006 01:21:03 +0000 (01:21 +0000)]
r18664: this stuff is included from libreplace

(This used to be commit 054728e071f7e1943376f0d7a5655683dc3422b9)

12 years agor18663: Fix one more uuid -> GUID.
Jeremy Allison [Tue, 19 Sep 2006 01:07:40 +0000 (01:07 +0000)]
r18663: Fix one more uuid -> GUID.
(This used to be commit e568271af2b5c20cff70b72b8ab4b1b704122b40)

12 years agor18662: print out the failing command for dynconfig.o too
Stefan Metzmacher [Tue, 19 Sep 2006 00:56:02 +0000 (00:56 +0000)]
r18662: print out the failing command for dynconfig.o too

(This used to be commit f51a200f6730c6c760348adc12612587b1e79df9)

12 years agor18661: C++ warnings
Volker Lendecke [Tue, 19 Sep 2006 00:55:40 +0000 (00:55 +0000)]
r18661: C++ warnings
(This used to be commit 6004b8025de3207f5af2d62087ec13c5e444fec7)

12 years agor18660: Fix build, one uuid->GUID was missed.
Jim McDonough [Tue, 19 Sep 2006 00:39:21 +0000 (00:39 +0000)]
r18660: Fix build, one uuid->GUID was missed.
(This used to be commit f8ea2069d444a6630b61828999605a3ed011db02)

12 years agor18659: restore BOOL, sorry:-)
Stefan Metzmacher [Tue, 19 Sep 2006 00:29:41 +0000 (00:29 +0000)]
r18659: restore BOOL, sorry:-)

libreplace only provides 'bool' not BOOL

(This used to be commit ce6a0723ff116fc1867705c3d0b520c36cba5a6e)

12 years agor18654: Rename "struct uuid" => "struct GUID" for consistency.
Jelmer Vernooij [Tue, 19 Sep 2006 00:12:11 +0000 (00:12 +0000)]
r18654: Rename "struct uuid" => "struct GUID" for consistency.
(This used to be commit 5de76767e857e9d159ea46e2ded612ccd6d6bf19)

12 years agor18653: this stuff is in libreplace...
Stefan Metzmacher [Mon, 18 Sep 2006 23:47:36 +0000 (23:47 +0000)]
r18653: this stuff is in libreplace...

(This used to be commit 1dd0ed613410e8b8db44396eeb4627a17f23db34)

12 years agor18652: libreplace has replacements for strndup and strnlen
Stefan Metzmacher [Mon, 18 Sep 2006 23:46:58 +0000 (23:46 +0000)]
r18652: libreplace has replacements for strndup and strnlen

(This used to be commit 9f3599a7ca636dd21c150873f395abde153ee6fd)

12 years agor18651: this comment is wrong, was cut'n'paste...
Stefan Metzmacher [Mon, 18 Sep 2006 23:28:46 +0000 (23:28 +0000)]
r18651: this comment is wrong, was cut'n'paste...

(This used to be commit e3b88fb65567f19964a4ef68267a64de14132e52)

12 years agor18650: this isn't needed twice in include/includes.h
Stefan Metzmacher [Mon, 18 Sep 2006 23:27:36 +0000 (23:27 +0000)]
r18650: this isn't needed twice in include/includes.h

(This used to be commit ee1127518347690e8baea1b5010ccada0ba29890)

12 years agor18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
Stefan Metzmacher [Mon, 18 Sep 2006 23:26:14 +0000 (23:26 +0000)]
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace

(This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)

12 years agor18648: this is provided by libreplace
Stefan Metzmacher [Mon, 18 Sep 2006 23:18:38 +0000 (23:18 +0000)]
r18648: this is provided by libreplace

(This used to be commit cbc3f0926375b92b40c4f550296cf90453288f49)

12 years agor18647: print out the failing cammand, this is very usefull for the build farm
Stefan Metzmacher [Mon, 18 Sep 2006 23:16:39 +0000 (23:16 +0000)]
r18647: print out the failing cammand, this is very usefull for the build farm

(This used to be commit ab58cd10568305e1059b4259ecba860025b691e3)

12 years agor18646: now we can have the socket_wrapper.c completely in sync with samba4
Stefan Metzmacher [Mon, 18 Sep 2006 22:55:10 +0000 (22:55 +0000)]
r18646: now we can have the socket_wrapper.c completely in sync with samba4

(This used to be commit d4d9b7e02614e30ab410a26654db3ca66ffe06e6)

12 years agor18644: bring in libreplace in lib/replace
Stefan Metzmacher [Mon, 18 Sep 2006 22:49:20 +0000 (22:49 +0000)]
r18644: bring in libreplace in lib/replace

(This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)

12 years agor18643: Fix a 64-bit warning
Volker Lendecke [Mon, 18 Sep 2006 22:32:23 +0000 (22:32 +0000)]
r18643: Fix a 64-bit warning
(This used to be commit bd175177960f39ef70d73d09e304299e03372bd6)

12 years agor18642: convert [out] parameters to pointers in Spooler IDL
Gerald Carter [Mon, 18 Sep 2006 22:27:37 +0000 (22:27 +0000)]
r18642: convert [out] parameters to pointers in Spooler IDL
(This used to be commit 9c67dd36c633bf367322385f6d43ca8bbdecaa70)

12 years agor18641: Checking in the wkssvc files after updating the [out]
Gerald Carter [Mon, 18 Sep 2006 22:20:37 +0000 (22:20 +0000)]
r18641: Checking in the wkssvc files after updating the [out]
pointers.  Waiting on on srvsvc files before it can actually compile.
(This used to be commit 1dbfb25d0a8a6e75af17ac8efff82bbe28d47094)

12 years agor18640: move to socket_wrapper to lib/socket_wrapper/
Stefan Metzmacher [Mon, 18 Sep 2006 22:12:56 +0000 (22:12 +0000)]
r18640: move to socket_wrapper to lib/socket_wrapper/
and sync it with samba4

(This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)

12 years agor18638: This is an attempt to fix the AIX build. Jeremy, as you are busy talking
Volker Lendecke [Mon, 18 Sep 2006 21:29:08 +0000 (21:29 +0000)]
r18638: This is an attempt to fix the AIX build. Jeremy, as you are busy talking
SASL/Steve/Andrew I can't right now ask why the aio.h is needed for the
timespec test.

Might have to revert that soon.

(This used to be commit fa53ad6571c08e49c3fbe61d9be081c06633e408)

12 years agor18632: Make C++ compilers happy.
Jelmer Vernooij [Mon, 18 Sep 2006 20:41:45 +0000 (20:41 +0000)]
r18632: Make C++ compilers happy.
(This used to be commit 609224565f728b7fe44f070ad0013af7a6e59267)

12 years agor18623: starting on eventlog IDL
Gerald Carter [Mon, 18 Sep 2006 19:46:11 +0000 (19:46 +0000)]
r18623: starting on eventlog IDL
(This used to be commit 6cb7b6226da0b3060f4850fc2cc2ca82fbdcaa8f)

12 years agor18622: Fix at least the python bindings *build*, I'm sure there is much more to
Günther Deschner [Mon, 18 Sep 2006 19:43:08 +0000 (19:43 +0000)]
r18622: Fix at least the python bindings *build*, I'm sure there is much more to
do so that they actually work again.

(This used to be commit 49d07d0cf9f8735f53d40dd094a0b17b4573e2b2)

12 years agor18621: Fix samr server build.
Günther Deschner [Mon, 18 Sep 2006 19:27:15 +0000 (19:27 +0000)]
r18621: Fix samr server build.

(This used to be commit 23d6656427d0f7184f5365f6cb9356b15186b30e)

12 years agor18620: Fallback to non-paging LDAP searches in ads_do_search_retry_internal()
Günther Deschner [Mon, 18 Sep 2006 19:26:09 +0000 (19:26 +0000)]
r18620: Fallback to non-paging LDAP searches in ads_do_search_retry_internal()
for anonymous bound connections.

When doing anonymous bind you can never use paged LDAP control for
RootDSE searches on AD.

(This used to be commit dc1d92faabd4b291f607eb481349ba37e52ef11e)

12 years agor18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.
Günther Deschner [Mon, 18 Sep 2006 19:18:29 +0000 (19:18 +0000)]
r18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.

(This used to be commit 1a307954e5ddc1441524eb6d22258be387cca9d4)

12 years agor18618: * remove svn:externals
Gerald Carter [Mon, 18 Sep 2006 19:02:06 +0000 (19:02 +0000)]
r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
(This used to be commit e936d39e00f07d942ce977b9a725ebe7b9e57625)

12 years agor18617: fix unixinfo call after change to IDL (change from pointer)
Gerald Carter [Mon, 18 Sep 2006 18:30:20 +0000 (18:30 +0000)]
r18617: fix unixinfo call after change to IDL (change from pointer)
(This used to be commit fd0579b9638260309721a71fbc07e60da0a23ea0)

12 years agor18616: fix breakage after DLIST_ADD_END() changes for --with-pam
Gerald Carter [Mon, 18 Sep 2006 18:28:56 +0000 (18:28 +0000)]
r18616: fix breakage after DLIST_ADD_END() changes for --with-pam
(This used to be commit 5c00b5497b7b2bb345429893d247cbb6bb0f4e20)

12 years agor18613: Metze, in your DLINKLIST commit you changed this
Jeremy Allison [Mon, 18 Sep 2006 15:20:33 +0000 (15:20 +0000)]
r18613: Metze, in your DLINKLIST commit you changed this
from 10 seconds to 30 seconds. I don't think you
meant to do this....
(This used to be commit dd1691cf81492cfecc7f015ba201b78e2588db90)

12 years agor18612: remove RPC-ECHO till it gets fixed
Stefan Metzmacher [Mon, 18 Sep 2006 10:15:58 +0000 (10:15 +0000)]
r18612: remove RPC-ECHO till it gets fixed

(This used to be commit 2afeec3d15740261356b5a51b0413378f8d10cf5)

12 years agor18608: -D_SAMBA_BUILD_ was already added in another place to CFLAGS
Stefan Metzmacher [Mon, 18 Sep 2006 09:05:23 +0000 (09:05 +0000)]
r18608: -D_SAMBA_BUILD_ was already added in another place to CFLAGS
so we don't need it twice

(This used to be commit 19259e5e93edac4f247b7a71480f39eec4c76ed1)

12 years agor18606: - fix the detection of the working quota implementation
Stefan Metzmacher [Mon, 18 Sep 2006 08:55:35 +0000 (08:55 +0000)]
r18606: - fix the detection of the working quota implementation
- we now define the set of samba related include path in one place
  so that we can't get it wrong in different places

(This used to be commit 6bf0aad052699d21a242b5a25ef0a360d320c078)

12 years agor18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
Stefan Metzmacher [Mon, 18 Sep 2006 07:52:16 +0000 (07:52 +0000)]
r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
and DLIST_DEMOTE() now take the type of the tmp pointer
not the tmp pointer itself anymore.

(This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d)

12 years agor18603: Add in the NFSv4 ACL mapping code from IBM.
Jeremy Allison [Mon, 18 Sep 2006 02:27:48 +0000 (02:27 +0000)]
r18603: Add in the NFSv4 ACL mapping code from IBM.
Sorry for the delay :-).
(This used to be commit a52fa218952ffcd784ea31e947aa4d17dfdc8ee0)

12 years agor18598: Add marshalling support to smb_io_time.
Volker Lendecke [Sun, 17 Sep 2006 20:28:46 +0000 (20:28 +0000)]
r18598: Add marshalling support to smb_io_time.

(This used to be commit 2ab0ab326210a6e2b23a15c0cfc8f21ac2fcceac)

12 years agor18597: A C++ warning
Volker Lendecke [Sun, 17 Sep 2006 20:05:09 +0000 (20:05 +0000)]
r18597: A C++ warning
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)

12 years agor18572: Use the autogenerated client and server for the echo interface and implement
Jelmer Vernooij [Fri, 15 Sep 2006 22:49:27 +0000 (22:49 +0000)]
r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3.
(This used to be commit 9e9a05366176454cc1779acc6c2b6070743f5939)

12 years agor18562: quick build fix rather than rolling back (I didn't actually intend the previo...
Gerald Carter [Fri, 15 Sep 2006 18:54:37 +0000 (18:54 +0000)]
r18562: quick build fix rather than rolling back (I didn't actually intend the previous commit but got confused between Samab 3 & 4 branches)
(This used to be commit 990e7c3f8eda0c7902bcab0523218b6b218e2ef4)

12 years agor18560: * Add in the winreg and initshutdown IDL files
Gerald Carter [Fri, 15 Sep 2006 18:32:43 +0000 (18:32 +0000)]
r18560: * Add in the winreg and initshutdown IDL files
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN
  for compatibility with pidl libndr output
(This used to be commit 23a882861311d9d6ca45af1bfcc90d05846ba3a9)

12 years agor18557: If you've set security=ads, do the DNS queries first.
Jeremy Allison [Fri, 15 Sep 2006 16:03:11 +0000 (16:03 +0000)]
r18557: If you've set security=ads, do the DNS queries first.
Doing otherwise means site support doesn't work correctly.
(This used to be commit 06a75f3b935b30c60ab4690634b26cdcd7f02b90)

12 years agor18556: Implement "net sam policy", thanks to Karolin Seeger <>.
Volker Lendecke [Fri, 15 Sep 2006 15:27:13 +0000 (15:27 +0000)]
r18556: Implement "net sam policy", thanks to Karolin Seeger <>.

(This used to be commit da22aa7021d42a940d8f2151770fedbd2abdb63a)

12 years agor18552: Ensure the sitename matches before we SAF store a DC in ADS mode.
Jeremy Allison [Fri, 15 Sep 2006 14:18:52 +0000 (14:18 +0000)]
r18552: Ensure the sitename matches before we SAF store a DC in ADS mode.
(This used to be commit 03e1078b459531af5a2336b584b3c886c5dd1e29)

12 years agor18551: Implement a 30 seconds from startup, during which we
Jeremy Allison [Fri, 15 Sep 2006 14:05:28 +0000 (14:05 +0000)]
r18551: Implement a 30 seconds from startup, during which we
try hard to connect a DC even if we might be offline.
(This used to be commit a9f115140700487767bafa058db744eea5ee8f77)

12 years agor18547: Add in fixes to mangling dir code - ensure don't
Jeremy Allison [Fri, 15 Sep 2006 09:06:36 +0000 (09:06 +0000)]
r18547: Add in fixes to mangling dir code - ensure don't
look in the paths for wcard - always read directly
from incoming packet.
(This used to be commit 3745a1af4ea9262fcda28931539fa6ab4c9060d1)

12 years agor18543: Fix Coverity ID#312
Volker Lendecke [Fri, 15 Sep 2006 06:14:50 +0000 (06:14 +0000)]
r18543: Fix Coverity ID#312
(This used to be commit 763cbe924b78b206985db6552e20cb4830446d35)

12 years agor18534: Fix grammar
Simo Sorce [Thu, 14 Sep 2006 18:07:59 +0000 (18:07 +0000)]
r18534: Fix grammar
(This used to be commit 6c9b80bde39be7feb15f0fab4024a1de2980f4c1)

12 years agor18533: Ensure we clear out the failed connection cache for an entire
Jeremy Allison [Thu, 14 Sep 2006 16:37:13 +0000 (16:37 +0000)]
r18533: Ensure we clear out the failed connection cache for an entire
domain when going back online.
(This used to be commit c7e4c8d0b4d109ec67d4424dd446b74b55246c72)

12 years agor18530: typos
Simo Sorce [Thu, 14 Sep 2006 16:33:47 +0000 (16:33 +0000)]
r18530: typos
(This used to be commit 8c5c4959ede04e1cdbfe65beeee1f67ac0a93753)

12 years agor18529: warn the user that putting the machine host name on the
Simo Sorce [Thu, 14 Sep 2006 16:29:07 +0000 (16:29 +0000)]
r18529: warn the user that putting the machine host name on the line in /etc/hosts is not ok for Kerberos.
(This used to be commit 85126391e11006514af8e6c6b88eb7fa21abf49a)

12 years agor18527: Janitor for Jeremy ;-)
Volker Lendecke [Thu, 14 Sep 2006 16:02:58 +0000 (16:02 +0000)]
r18527: Janitor for Jeremy ;-)
(This used to be commit d72ba9ed1288e7f498a64c96dd6aa04bda59c8b2)

12 years agor18526: Use generated server for unixinfo RPC interface.
Jelmer Vernooij [Thu, 14 Sep 2006 14:51:16 +0000 (14:51 +0000)]
r18526: Use generated server for unixinfo RPC interface.
(This used to be commit a5c0606d7667506fdc64776e32d4b3508195a199)

12 years agor18525: Be a little less agressive about going back online when requested.
Jeremy Allison [Thu, 14 Sep 2006 14:26:33 +0000 (14:26 +0000)]
r18525: Be a little less agressive about going back online when requested.
(This used to be commit 9a0066278c30b123eeaed8213294b6d81a339524)

12 years agor18519: Copy over the Samba4 code to figure out options for the named initializers.
Volker Lendecke [Thu, 14 Sep 2006 11:58:22 +0000 (11:58 +0000)]
r18519: Copy over the Samba4 code to figure out options for the named initializers.

(This used to be commit 1786c28cc353e2ba70abe2750b9ef804cec84bf0)

12 years agor18512: Add krb5conf file environment to debug statement.
Günther Deschner [Thu, 14 Sep 2006 10:21:46 +0000 (10:21 +0000)]
r18512: Add krb5conf file environment to debug statement.

(This used to be commit 398f368c8a2df36d522583c733f7c22cac2f2059)

12 years agor18511: Ops, fix the build.
Günther Deschner [Thu, 14 Sep 2006 10:11:22 +0000 (10:11 +0000)]
r18511: Ops, fix the build.

(This used to be commit 20de0b4823abb59518b7ffb495120494e705df7a)

12 years agor18510: Protect against storing null-sids in the winbind cache.
Günther Deschner [Thu, 14 Sep 2006 10:08:36 +0000 (10:08 +0000)]
r18510: Protect against storing null-sids in the winbind cache.

(This used to be commit b04c8d46efc67e013b976e0ba1be558b70a1f899)

12 years agor18509: We must always canonicalise the usernames to be UPPERCASE DOMAIN,
Jeremy Allison [Thu, 14 Sep 2006 09:58:20 +0000 (09:58 +0000)]
r18509: We must always canonicalise the usernames to be UPPERCASE DOMAIN,
lowercase username. We cache names as keys in this form, and we weren't
always returning this....
(This used to be commit 205aa2b70d647460ca5a273caad7717312f53aab)

12 years agor18508: A query for the LDAP schema can never be done anonymously against AD.
Günther Deschner [Thu, 14 Sep 2006 09:44:48 +0000 (09:44 +0000)]
r18508: A query for the LDAP schema can never be done anonymously against AD.

(This used to be commit 8bb6e82f02044a715dbeee020bcc4a01a83c4a64)

12 years agor18507: Added debug log for returned username.
Jeremy Allison [Thu, 14 Sep 2006 09:27:10 +0000 (09:27 +0000)]
r18507: Added debug log for returned username.
(This used to be commit 7644fa70ba4f7c88d887930e23b5ee2e1632473b)

12 years agor18506: Fix online requests to cause an immediate DC connection.
Jeremy Allison [Thu, 14 Sep 2006 09:11:30 +0000 (09:11 +0000)]
r18506: Fix online requests to cause an immediate DC connection.
(This used to be commit 03b1699fa7d94fd637ff8c3bd2c59358673d2607)

12 years agor18487: Add NULL checks
Jelmer Vernooij [Wed, 13 Sep 2006 17:39:21 +0000 (17:39 +0000)]
r18487: Add NULL checks
(This used to be commit 3df11307f8ca05e4f7182522d835911f0768e9eb)

12 years agor18484: Start some cleanup on pam_winbind's syslogging:
Günther Deschner [Wed, 13 Sep 2006 16:39:52 +0000 (16:39 +0000)]
r18484: Start some cleanup on pam_winbind's syslogging:

* as openlog() is non-reentrant and pam_winbind thereby overrides the
  syslog settings of the calling application, directly call syslog (or
  pam_vsyslog if available)

* support the PAM_SILENT flag to avoid any log messages beeing created

(This used to be commit 0f7e37ffc4759a4e29f63ab83f39ddb31c8240f6)

12 years agor18483: Ensure all pdb_XXX calls are wrapped in become_root()/unbecome_root()
Jeremy Allison [Wed, 13 Sep 2006 16:30:40 +0000 (16:30 +0000)]
r18483: Ensure all pdb_XXX calls are wrapped in become_root()/unbecome_root()
pairs. Should fix bug #4097.
(This used to be commit f787b9d156992e0069860cb1ab829970cb69eb81)

12 years agor18481: Use pidl-generated server side code for dfs.
Jelmer Vernooij [Wed, 13 Sep 2006 16:28:25 +0000 (16:28 +0000)]
r18481: Use pidl-generated server side code for dfs.
(This used to be commit 3f337c104d42321595161d0283b39357df252a8e)

12 years agor18480: Doh ! Double-free of hostnameDN.
Jeremy Allison [Wed, 13 Sep 2006 16:21:48 +0000 (16:21 +0000)]
r18480: Doh ! Double-free of hostnameDN.
(This used to be commit f8984fa8b706bb76559e447b30a201e1cc2871b6)

12 years agor18476: Protect ourselves from bad cached creds a little
Jeremy Allison [Wed, 13 Sep 2006 14:54:55 +0000 (14:54 +0000)]
r18476: Protect ourselves from bad cached creds a little
better - don't just panic - delete them.
(This used to be commit 4c54b75076442d239ae374b236c6f33aafece981)

12 years agor18473: Once we go online, trigger a "get krb5 ticket event"
Jeremy Allison [Wed, 13 Sep 2006 13:55:19 +0000 (13:55 +0000)]
r18473: Once we go online, trigger a "get krb5 ticket event"
immediately if we were waiting on one.
(This used to be commit 6dc8f9042f057e1f9aff46042a0fe697cb8a912c)

12 years agor18469: Use new pidl-generated DFS client code.
Jelmer Vernooij [Wed, 13 Sep 2006 13:42:23 +0000 (13:42 +0000)]
r18469: Use new pidl-generated DFS client code.
(This used to be commit e277fb067b1a12d816c8a066839751c1824d27bb)

12 years agor18467: Some sites allow an account to be deleted, but not
Jeremy Allison [Wed, 13 Sep 2006 13:28:42 +0000 (13:28 +0000)]
r18467: Some sites allow an account to be deleted, but not
disabled. Cope with both - print appropriate messages.
(This used to be commit 2c003a4463ff59c477fa2558f869444cfa75e3a8)

12 years agor18466: Attempt to fix the AIX build
Volker Lendecke [Wed, 13 Sep 2006 13:02:51 +0000 (13:02 +0000)]
r18466: Attempt to fix the AIX build
(This used to be commit 1398425067d77d90ecf2ed4c17a12d643f7f5a88)

12 years agor18464: Solaris has LDAP_SCOPE_ONELEVEL. Linux seems to have it as well.
Volker Lendecke [Wed, 13 Sep 2006 11:40:21 +0000 (11:40 +0000)]
r18464: Solaris has LDAP_SCOPE_ONELEVEL. Linux seems to have it as well.

Fix a C++ compat warning.

(This used to be commit 351e583f66714562eca1f40429bfee70f06d281c)

12 years agor18457: Argl :-)
Volker Lendecke [Wed, 13 Sep 2006 10:12:55 +0000 (10:12 +0000)]
r18457: Argl :-)
(This used to be commit cafaf5a37cb0ee41829cce95d2d3f2619d5c2744)

12 years agor18453: Attempt to fix the non-ldap build
Volker Lendecke [Wed, 13 Sep 2006 10:03:27 +0000 (10:03 +0000)]
r18453: Attempt to fix the non-ldap build
(This used to be commit 86db85423027d34cb053fc068159ddd2226e90ec)

12 years agor18449: Attempt to fix the build on non-linux platforms: Many of those don't have
Volker Lendecke [Wed, 13 Sep 2006 09:32:24 +0000 (09:32 +0000)]
r18449: Attempt to fix the build on non-linux platforms: Many of those don't have
strtoull. This is a copy of the stuff in samba4 libreplace, which is GPL. I
hope it is ok to copy&paste it into a GPL file. Tridge, we could also create a
replace_lpgl.c if needed.

(This used to be commit f8346687d950ed643e8fa7d0b1a9c27f2880cc85)

12 years agor18446: Add the ldap 'leave domain' code - call this as
Jeremy Allison [Wed, 13 Sep 2006 09:03:42 +0000 (09:03 +0000)]
r18446: Add the ldap 'leave domain' code - call this as
a non-fatal error path if the 'disable machine
account' code succeeded.
(This used to be commit f47bffa21ec1caf5ec3a6ec77af801df0b63d83a)

12 years agor18429: fix a regression renaming local group introduced by trying to handle renames...
Gerald Carter [Tue, 12 Sep 2006 18:02:33 +0000 (18:02 +0000)]
r18429: fix a regression renaming local group introduced by trying to handle renames to the same name
(This used to be commit 4faa5004fb7e5814bf8a97cfe8d0b443f0acdb8d)

12 years agor18425: Fix ads_ntstatus(). LDAP_SUCCESS should really map to NT_STATUS_OK.
Günther Deschner [Tue, 12 Sep 2006 14:45:24 +0000 (14:45 +0000)]
r18425: Fix ads_ntstatus(). LDAP_SUCCESS should really map to NT_STATUS_OK.

(This used to be commit 8ab214956ef11ff0b1532713cff65c17d2439570)