jelmer/samba4-debian.git
16 years agor26235: Avoid global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 20:32:08 +0000 (21:32 +0100)]
r26235: Avoid global_loadparm.

16 years agor26234: More global_loadparm fixes.
Jelmer Vernooij [Sun, 2 Dec 2007 20:14:16 +0000 (21:14 +0100)]
r26234: More global_loadparm fixes.

16 years agor26233: Pass loadparm context when creating krb5 contexts.
Jelmer Vernooij [Sun, 2 Dec 2007 19:56:26 +0000 (20:56 +0100)]
r26233: Pass loadparm context when creating krb5 contexts.

16 years agor26232: Provide replacement for stdint.i for users of older versions of swig.
Jelmer Vernooij [Sun, 2 Dec 2007 19:24:24 +0000 (20:24 +0100)]
r26232: Provide replacement for stdint.i for users of older versions of swig.

16 years agor26231: Spell check: credentails -> credentials.
Jelmer Vernooij [Sun, 2 Dec 2007 18:31:14 +0000 (19:31 +0100)]
r26231: Spell check: credentails -> credentials.

16 years agor26230: Use task-provided loadparm context in a couple more places, avoid loadparm...
Jelmer Vernooij [Sun, 2 Dec 2007 18:27:49 +0000 (19:27 +0100)]
r26230: Use task-provided loadparm context in a couple more places, avoid loadparm context inside ntlm_auth.

16 years agor26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loa...
Jelmer Vernooij [Sun, 2 Dec 2007 18:04:33 +0000 (19:04 +0100)]
r26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loadparm.

16 years agor26228: Store loadparm context in auth context, move more loadparm_contexts up the...
Jelmer Vernooij [Sun, 2 Dec 2007 16:56:09 +0000 (17:56 +0100)]
r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack.

16 years agor26227: Make loadparm_context part of a server task, move loadparm_contexts further...
Jelmer Vernooij [Sun, 2 Dec 2007 16:09:52 +0000 (17:09 +0100)]
r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.

16 years agor26226: Avoid more uses of global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 16:09:43 +0000 (17:09 +0100)]
r26226: Avoid more uses of global_loadparm.

16 years agor26225: Remove use of global_loadparm in wins server.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:41 +0000 (16:20 +0100)]
r26225: Remove use of global_loadparm in wins server.

16 years agor26224: Remove another use of global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:32 +0000 (16:20 +0100)]
r26224: Remove another use of global_loadparm.

16 years agor26223: Move loadparm context up in the stack.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:29 +0000 (16:20 +0100)]
r26223: Move loadparm context up in the stack.

16 years agor26222: Avoid global_loadparm in a couple more places.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:25 +0000 (16:20 +0100)]
r26222: Avoid global_loadparm in a couple more places.

16 years agor26221: Add loadparm_context parameter to auth_context_create.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:18 +0000 (16:20 +0100)]
r26221: Add loadparm_context parameter to auth_context_create.

16 years agor26220: BASE-DELAYWRITE: add more subtests to explore write time update details
Stefan Metzmacher [Sat, 1 Dec 2007 10:43:38 +0000 (11:43 +0100)]
r26220: BASE-DELAYWRITE: add more subtests to explore write time update details

metze

16 years agor26219: BASE-DELAYWRITE: make the tests more strict about the write time update
Stefan Metzmacher [Sat, 1 Dec 2007 10:39:39 +0000 (11:39 +0100)]
r26219: BASE-DELAYWRITE: make the tests more strict about the write time update

metze

16 years agor26218: Remove libtdb.so as well.
Jelmer Vernooij [Fri, 30 Nov 2007 16:47:51 +0000 (17:47 +0100)]
r26218: Remove libtdb.so as well.

16 years agor26217: Let encode_wkssvc_join_password_buffer() take the session key as parameter.
Günther Deschner [Fri, 30 Nov 2007 12:04:59 +0000 (13:04 +0100)]
r26217: Let encode_wkssvc_join_password_buffer() take the session key as parameter.

Guenther

16 years agor26216: Add very basic torture test for wkssvc_NetrUnjoinDomain2().
Günther Deschner [Fri, 30 Nov 2007 08:55:15 +0000 (09:55 +0100)]
r26216: Add very basic torture test for wkssvc_NetrUnjoinDomain2().

Guenther

16 years agor26215: Verify that test_NetrJoinDomain2() has suceeded.
Günther Deschner [Fri, 30 Nov 2007 08:53:20 +0000 (09:53 +0100)]
r26215: Verify that test_NetrJoinDomain2() has suceeded.

Guenther

16 years agor26214: Add note about remotely joining an unjoined XP SP2 workstation.
Günther Deschner [Fri, 30 Nov 2007 08:49:20 +0000 (09:49 +0100)]
r26214: Add note about remotely joining an unjoined XP SP2 workstation.

Guenther

16 years agor26213: Trying to fix confusing inline comment about wkssvc_PasswordBuffer.
Günther Deschner [Thu, 29 Nov 2007 22:31:12 +0000 (23:31 +0100)]
r26213: Trying to fix confusing inline comment about wkssvc_PasswordBuffer.

Guenther

16 years agor26212: Make test_NetrJoinDomain2() a little more robust against missing parameters.
Günther Deschner [Thu, 29 Nov 2007 22:22:49 +0000 (23:22 +0100)]
r26212: Make test_NetrJoinDomain2() a little more robust against missing parameters.

Guenther

16 years agor26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations...
Günther Deschner [Thu, 29 Nov 2007 22:09:37 +0000 (23:09 +0100)]
r26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations into

an AD domain.

Guenther

16 years agor26210: w00t!
Günther Deschner [Thu, 29 Nov 2007 21:22:19 +0000 (22:22 +0100)]
r26210: w00t!

Solved the nasty crypto problem of the 524 byte wkssvc_PasswordBuffer for
wkssvc_JoinDomain()/wkssvc_UnjoinDomain().

Very soon we will be able to remotely join windows workstations into AD domains
using smbtorture :-)

Guenther

16 years agor26209: For consistency, rename one argument in NetrJoinDomain.
Günther Deschner [Thu, 29 Nov 2007 20:53:50 +0000 (21:53 +0100)]
r26209: For consistency, rename one argument in NetrJoinDomain.

Guenther

16 years agor26208: Add torture test for (unsupported) wkssvc_NetrJoinDomain() and
Günther Deschner [Thu, 29 Nov 2007 20:52:20 +0000 (21:52 +0100)]
r26208: Add torture test for (unsupported) wkssvc_NetrJoinDomain() and

wkssvc_NetrUnjoinDomain().

Guenther

16 years agor26207: Only compile swig files if swig is available.
Jelmer Vernooij [Thu, 29 Nov 2007 16:49:13 +0000 (17:49 +0100)]
r26207: Only compile swig files if swig is available.

16 years agor26206: Build python modules as part of make all.
Jelmer Vernooij [Thu, 29 Nov 2007 16:27:39 +0000 (17:27 +0100)]
r26206: Build python modules as part of make all.

16 years agor26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:16 +0000 (16:01 +0100)]
r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.

16 years agor26204: Binsings for some more functions.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:11 +0000 (16:01 +0100)]
r26204: Binsings for some more functions.

16 years agor26203: Avoid using ldb_wrap for secrets database.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:08 +0000 (16:01 +0100)]
r26203: Avoid using ldb_wrap for secrets database.

16 years agor26202: Fix dependencies.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:05 +0000 (16:01 +0100)]
r26202: Fix dependencies.

16 years agor26201: Build docs for the security module.
Jelmer Vernooij [Thu, 29 Nov 2007 15:00:59 +0000 (16:00 +0100)]
r26201: Build docs for the security module.

16 years agor26200: Bring back some accidently removed files.
Jelmer Vernooij [Thu, 29 Nov 2007 14:08:27 +0000 (15:08 +0100)]
r26200: Bring back some accidently removed files.

16 years agor26199: Allow constructing new sids, implement __eq__ for sids.
Jelmer Vernooij [Thu, 29 Nov 2007 14:08:22 +0000 (15:08 +0100)]
r26199: Allow constructing new sids, implement __eq__ for sids.

16 years agor26197: Add bindings for libsecurity.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:47 +0000 (14:49 +0100)]
r26197: Add bindings for libsecurity.

16 years agor26196: Always build python bindings for ldb.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:44 +0000 (14:49 +0100)]
r26196: Always build python bindings for ldb.

16 years agor26195: Wrap two more functions.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:42 +0000 (14:49 +0100)]
r26195: Wrap two more functions.

16 years agor26194: Wrap the events subsystem in a separate file.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:35 +0000 (14:49 +0100)]
r26194: Wrap the events subsystem in a separate file.

16 years agor26193: In the LDAP server, use the new 'controls_decoded' element to
Andrew Bartlett [Thu, 29 Nov 2007 07:02:36 +0000 (08:02 +0100)]
r26193: In the LDAP server, use the new 'controls_decoded' element to

determine if this (possibly critical) control has been decoded.  This
allows us to return an error, rather than just dropping the socket.

Andrew Bartlett

16 years agor26192: Handle, test and implement the style of extended_dn requiest that MMC uses.
Andrew Bartlett [Thu, 29 Nov 2007 07:00:04 +0000 (08:00 +0100)]
r26192: Handle, test and implement the style of extended_dn requiest that MMC uses.

It appears that the control value is optional, implying type 0 responses.

Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.

Andrew Bartlett

16 years agor26191: Import custom test runner for subunit, rather than using trial, which is...
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:41 +0000 (01:36 +0100)]
r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted.

16 years agor26190: Allow successful as well as success.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:38 +0000 (01:36 +0100)]
r26190: Allow successful as well as success.

16 years agor26189: Add really trivial testsuite for the auth module.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:31 +0000 (01:36 +0100)]
r26189: Add really trivial testsuite for the auth module.

16 years agor26188: Now that swig output is pregenerated, allow building python code without...
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:37 +0000 (22:41 +0100)]
r26188: Now that swig output is pregenerated, allow building python code without swig installed.

16 years agor26187: Fix module name, indentation.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:34 +0000 (22:41 +0100)]
r26187: Fix module name, indentation.

16 years agor26186: Generate SWIG files as part of autogen.sh
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:29 +0000 (22:41 +0100)]
r26186: Generate SWIG files as part of autogen.sh

16 years agor26185: No need to depend on ldap, shared lib already has that info.
Jelmer Vernooij [Wed, 28 Nov 2007 19:13:28 +0000 (20:13 +0100)]
r26185: No need to depend on ldap, shared lib already has that info.

16 years agor26184: Streams are tricky....
Volker Lendecke [Wed, 28 Nov 2007 14:59:11 +0000 (15:59 +0100)]
r26184: Streams are tricky....

16 years agor26183: The idea of a self-seeding secrets.ldb is nice, but in practice we do
Andrew Bartlett [Wed, 28 Nov 2007 04:24:59 +0000 (05:24 +0100)]
r26183: The idea of a self-seeding secrets.ldb is nice, but in practice we do

this with the provision, which sets up a very different database.
Removing this ensures we are consistant.

Andrew Bartlett

16 years agor26182: Extend our linked attribute testsuite to cover many more possible
Andrew Bartlett [Wed, 28 Nov 2007 03:24:12 +0000 (04:24 +0100)]
r26182: Extend our linked attribute testsuite to cover many more possible

modifications, and then extend our implementation to match.

Andrew Bartlett

16 years agor26181: Set version to 1.1.1, as 1.1.0 has already been released.
Jelmer Vernooij [Wed, 28 Nov 2007 00:20:10 +0000 (01:20 +0100)]
r26181: Set version to 1.1.1, as 1.1.0 has already been released.

16 years agor26180: Allow prebuilding swig output files.
Jelmer Vernooij [Wed, 28 Nov 2007 00:20:00 +0000 (01:20 +0100)]
r26180: Allow prebuilding swig output files.

16 years agor26179: Fix symlink.
Jelmer Vernooij [Tue, 27 Nov 2007 23:25:47 +0000 (00:25 +0100)]
r26179: Fix symlink.

16 years agor26178: Link against -ldl as well to prevent undefined symbols.
Jelmer Vernooij [Tue, 27 Nov 2007 22:49:42 +0000 (23:49 +0100)]
r26178: Link against -ldl as well to prevent undefined symbols.

16 years agor26177: Allow prebuilding swig wrapper, install ldb.py.
Jelmer Vernooij [Tue, 27 Nov 2007 22:28:23 +0000 (23:28 +0100)]
r26177: Allow prebuilding swig wrapper, install ldb.py.

16 years agor26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().
Günther Deschner [Tue, 27 Nov 2007 17:13:24 +0000 (18:13 +0100)]
r26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().

Guenther

16 years agor26172: Skip testing wkssvc against us, we only have dummy support anyway.
Günther Deschner [Tue, 27 Nov 2007 12:23:01 +0000 (13:23 +0100)]
r26172: Skip testing wkssvc against us, we only have dummy support anyway.

Guenther

16 years agor26171: Add my copyright.
Günther Deschner [Tue, 27 Nov 2007 11:59:35 +0000 (12:59 +0100)]
r26171: Add my copyright.

Guenther

16 years agor26170: Put test_NetrUseGetInfo() in the correct order of tests.
Günther Deschner [Tue, 27 Nov 2007 11:56:10 +0000 (12:56 +0100)]
r26170: Put test_NetrUseGetInfo() in the correct order of tests.

Guenther

16 years agor26169: Use the NDR_PAHEX flag to print the encrypted wkssvc password buffer.
Günther Deschner [Tue, 27 Nov 2007 11:28:38 +0000 (12:28 +0100)]
r26169: Use the NDR_PAHEX flag to print the encrypted wkssvc password buffer.

Guenther

16 years agor26168: Add two more documented WKSSVC_JOIN_FLAGS.
Günther Deschner [Tue, 27 Nov 2007 11:27:27 +0000 (12:27 +0100)]
r26168: Add two more documented WKSSVC_JOIN_FLAGS.

Guenther

16 years agor26167: Just for completeness, add some more documented wkssvc_NetWkstaInfo info...
Günther Deschner [Tue, 27 Nov 2007 11:26:20 +0000 (12:26 +0100)]
r26167: Just for completeness, add some more documented wkssvc_NetWkstaInfo info level

uint32s.

Guenther

16 years agor26166: Put [ref] in the front in wkssvc IDL.
Günther Deschner [Tue, 27 Nov 2007 11:23:34 +0000 (12:23 +0100)]
r26166: Put [ref] in the front in wkssvc IDL.

Guenther

16 years agor26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
Günther Deschner [Tue, 27 Nov 2007 11:18:23 +0000 (12:18 +0100)]
r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and

wkssvc_NetrGetJoinableOus2() (both unavailable remotely).

Guenther

16 years agor26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Günther Deschner [Tue, 27 Nov 2007 11:11:49 +0000 (12:11 +0100)]
r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().

Guenther

16 years agor26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Günther Deschner [Tue, 27 Nov 2007 11:08:01 +0000 (12:08 +0100)]
r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().

Guenther

16 years agor26162: Remove accidental commit.
Günther Deschner [Tue, 27 Nov 2007 11:04:48 +0000 (12:04 +0100)]
r26162: Remove accidental commit.

Guenther

16 years agor26161: Add (dangerous) torture tests for wkssvc_NetrRenameMachineInDomain() and
Günther Deschner [Tue, 27 Nov 2007 11:04:03 +0000 (12:04 +0100)]
r26161: Add (dangerous) torture tests for wkssvc_NetrRenameMachineInDomain() and

wkssvc_NetrRenameMachineInDomain2().

Guenther

16 years agor26160: Add WERR_NAME_NOT_FOUND.
Günther Deschner [Tue, 27 Nov 2007 10:58:33 +0000 (11:58 +0100)]
r26160: Add WERR_NAME_NOT_FOUND.

Guenther

16 years agor26159: Align to coding conventions.
Günther Deschner [Tue, 27 Nov 2007 10:51:22 +0000 (11:51 +0100)]
r26159: Align to coding conventions.

Guenther

16 years agor26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Günther Deschner [Tue, 27 Nov 2007 10:49:51 +0000 (11:49 +0100)]
r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().

Guenther

16 years agor26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Günther Deschner [Tue, 27 Nov 2007 10:31:09 +0000 (11:31 +0100)]
r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().

Guenther

16 years agor26156: Choose a more speaking message in test_NetrMessageBufferSend().
Günther Deschner [Tue, 27 Nov 2007 10:21:26 +0000 (11:21 +0100)]
r26156: Choose a more speaking message in test_NetrMessageBufferSend().

Guenther

16 years agor26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Günther Deschner [Tue, 27 Nov 2007 10:20:34 +0000 (11:20 +0100)]
r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().

Guenther

16 years agor26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
Günther Deschner [Tue, 27 Nov 2007 10:14:51 +0000 (11:14 +0100)]
r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of

unknowns, I know...

Guenther

16 years agor26153: Add torture test for NetrAddAlternateComputerName() and
Günther Deschner [Tue, 27 Nov 2007 10:04:51 +0000 (11:04 +0100)]
r26153: Add torture test for NetrAddAlternateComputerName() and

NetrRemoveAlternateComputerName().

Guenther

16 years agor26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Günther Deschner [Tue, 27 Nov 2007 09:42:50 +0000 (10:42 +0100)]
r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().

Guenther

16 years agor26151: Add IDL and torture test for wkssvc_NetrValidateName() and
Günther Deschner [Tue, 27 Nov 2007 09:34:53 +0000 (10:34 +0100)]
r26151: Add IDL and torture test for wkssvc_NetrValidateName() and

wkssvc_NetrValidateName2().

Guenther

16 years agor26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and
Günther Deschner [Tue, 27 Nov 2007 09:29:19 +0000 (10:29 +0100)]
r26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and

wkssvc_NetrLogonDomainNameDel(), both unsupported on w2k3.

Guenther

16 years agor26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.
Günther Deschner [Tue, 27 Nov 2007 09:25:48 +0000 (10:25 +0100)]
r26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.

Guenther

16 years agor26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Günther Deschner [Tue, 27 Nov 2007 09:23:24 +0000 (10:23 +0100)]
r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().

Guenther

16 years agor26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.
Günther Deschner [Tue, 27 Nov 2007 09:18:00 +0000 (10:18 +0100)]
r26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.

Guenther

16 years agor26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Günther Deschner [Tue, 27 Nov 2007 09:07:00 +0000 (10:07 +0100)]
r26146: Add IDL and torture test for wkssvc_NetrUseEnum().

Guenther

16 years agor26145: Fix server side of wkssvc_NetWkstaTransportEnum.
Günther Deschner [Tue, 27 Nov 2007 08:58:18 +0000 (09:58 +0100)]
r26145: Fix server side of wkssvc_NetWkstaTransportEnum.

Guenther

16 years agor26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
Günther Deschner [Tue, 27 Nov 2007 08:49:19 +0000 (09:49 +0100)]
r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and

wkssvc_NetrWkstaTransportDel.

Guenther

16 years agor26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Günther Deschner [Tue, 27 Nov 2007 08:41:50 +0000 (09:41 +0100)]
r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.

Guenther

16 years agor26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.
Günther Deschner [Tue, 27 Nov 2007 08:35:10 +0000 (09:35 +0100)]
r26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.

Guenther

16 years agor26141: Reflect pointer_default(unique) setting.
Günther Deschner [Tue, 27 Nov 2007 08:29:41 +0000 (09:29 +0100)]
r26141: Reflect pointer_default(unique) setting.

Guenther

16 years agor26140: Add a new test for searches by distinguieshedName and dn, and
Andrew Bartlett [Tue, 27 Nov 2007 03:43:20 +0000 (04:43 +0100)]
r26140: Add a new test for searches by distinguieshedName and dn, and

implement these in the simple ldap mapping module.

We still don't pass this test, because we must get linked attributes
into OpenLDAP.

Andrew Bartlett

16 years agor26139: Based on a report by Theodor Chirana, don't assert() on invalid
Andrew Bartlett [Tue, 27 Nov 2007 01:49:37 +0000 (02:49 +0100)]
r26139: Based on a report by Theodor Chirana, don't assert() on invalid

netbios names at this point, the calling order has changed, and we
have a more informative place to do it.

Andrew Bartlett

16 years agor26138: Don't talloc_free() res if an error occoured.
Andrew Bartlett [Tue, 27 Nov 2007 01:47:57 +0000 (02:47 +0100)]
r26138: Don't talloc_free() res if an error occoured.

Andrew Bartlett

16 years agor26137: Rename the entryUUID module to better match it's purpose: being a
Andrew Bartlett [Tue, 27 Nov 2007 01:26:47 +0000 (02:26 +0100)]
r26137: Rename the entryUUID module to better match it's purpose: being a

simple ldap mapping (a complex mapping will follow).

Fix the module to handle 'name' better, rather than using the 'name'
attribute built into OpenLDAP, rename to samba4RDN.  We need to see if
this can be handled in the backend.

Also rename the functions and inernal module name to entryuuid for
consistancy.

Andrew Bartlett

16 years agor26136: Attempt to fix dependencies for auth.
Jelmer Vernooij [Tue, 27 Nov 2007 01:04:38 +0000 (02:04 +0100)]
r26136: Attempt to fix dependencies for auth.

16 years agor26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just
Andrew Bartlett [Tue, 27 Nov 2007 00:25:11 +0000 (01:25 +0100)]
r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just

wrappers to ldb_add() etc.  samdb_replace() remains, as it sets flags on
all entries as 'replace'.

Andrew Bartlett

16 years agor26134: Avoid using samdb-dependent functions in auth_system_session.
Jelmer Vernooij [Tue, 27 Nov 2007 00:14:54 +0000 (01:14 +0100)]
r26134: Avoid using samdb-dependent functions in auth_system_session.

16 years agor26133: Add some more error codes from wkssvc testing.
Günther Deschner [Mon, 26 Nov 2007 22:58:39 +0000 (23:58 +0100)]
r26133: Add some more error codes from wkssvc testing.

Guenther

16 years agor26131: Ensure we show the right errors in the NULL base DN case. Based on
Andrew Bartlett [Mon, 26 Nov 2007 05:12:01 +0000 (06:12 +0100)]
r26131: Ensure we show the right errors in the NULL base DN case. Based on

bug 5090 by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>

Andrew Bartlett