Jelmer Vernooij [Sun, 2 Dec 2007 20:14:16 +0000 (21:14 +0100)]
r26234: More global_loadparm fixes.
Jelmer Vernooij [Sun, 2 Dec 2007 19:56:26 +0000 (20:56 +0100)]
r26233: Pass loadparm context when creating krb5 contexts.
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.
Jelmer Vernooij [Sun, 2 Dec 2007 18:31:14 +0000 (19:31 +0100)]
r26231: Spell check: credentails -> credentials.
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.
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.
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.
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.
Jelmer Vernooij [Sun, 2 Dec 2007 16:09:43 +0000 (17:09 +0100)]
r26226: Avoid more uses of global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:41 +0000 (16:20 +0100)]
r26225: Remove use of global_loadparm in wins server.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:32 +0000 (16:20 +0100)]
r26224: Remove another use of global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:29 +0000 (16:20 +0100)]
r26223: Move loadparm context up in the stack.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:25 +0000 (16:20 +0100)]
r26222: Avoid global_loadparm in a couple more places.
Jelmer Vernooij [Sun, 2 Dec 2007 15:20:18 +0000 (16:20 +0100)]
r26221: Add loadparm_context parameter to auth_context_create.
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
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
Jelmer Vernooij [Fri, 30 Nov 2007 16:47:51 +0000 (17:47 +0100)]
r26218: Remove libtdb.so as well.
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
Günther Deschner [Fri, 30 Nov 2007 08:55:15 +0000 (09:55 +0100)]
r26216: Add very basic torture test for wkssvc_NetrUnjoinDomain2().
Guenther
Günther Deschner [Fri, 30 Nov 2007 08:53:20 +0000 (09:53 +0100)]
r26215: Verify that test_NetrJoinDomain2() has suceeded.
Guenther
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
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
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
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
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
Günther Deschner [Thu, 29 Nov 2007 20:53:50 +0000 (21:53 +0100)]
r26209: For consistency, rename one argument in NetrJoinDomain.
Guenther
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
Jelmer Vernooij [Thu, 29 Nov 2007 16:49:13 +0000 (17:49 +0100)]
r26207: Only compile swig files if swig is available.
Jelmer Vernooij [Thu, 29 Nov 2007 16:27:39 +0000 (17:27 +0100)]
r26206: Build python modules as part of make all.
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.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:11 +0000 (16:01 +0100)]
r26204: Binsings for some more functions.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:08 +0000 (16:01 +0100)]
r26203: Avoid using ldb_wrap for secrets database.
Jelmer Vernooij [Thu, 29 Nov 2007 15:01:05 +0000 (16:01 +0100)]
r26202: Fix dependencies.
Jelmer Vernooij [Thu, 29 Nov 2007 15:00:59 +0000 (16:00 +0100)]
r26201: Build docs for the security module.
Jelmer Vernooij [Thu, 29 Nov 2007 14:08:27 +0000 (15:08 +0100)]
r26200: Bring back some accidently removed files.
Jelmer Vernooij [Thu, 29 Nov 2007 14:08:22 +0000 (15:08 +0100)]
r26199: Allow constructing new sids, implement __eq__ for sids.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:47 +0000 (14:49 +0100)]
r26197: Add bindings for libsecurity.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:44 +0000 (14:49 +0100)]
r26196: Always build python bindings for ldb.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:42 +0000 (14:49 +0100)]
r26195: Wrap two more functions.
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:35 +0000 (14:49 +0100)]
r26194: Wrap the events subsystem in a separate file.
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
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
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.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:38 +0000 (01:36 +0100)]
r26190: Allow successful as well as success.
Jelmer Vernooij [Thu, 29 Nov 2007 00:36:31 +0000 (01:36 +0100)]
r26189: Add really trivial testsuite for the auth module.
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.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:34 +0000 (22:41 +0100)]
r26187: Fix module name, indentation.
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:29 +0000 (22:41 +0100)]
r26186: Generate SWIG files as part of autogen.sh
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.
Volker Lendecke [Wed, 28 Nov 2007 14:59:11 +0000 (15:59 +0100)]
r26184: Streams are tricky....
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
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
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.
Jelmer Vernooij [Wed, 28 Nov 2007 00:20:00 +0000 (01:20 +0100)]
r26180: Allow prebuilding swig output files.
Jelmer Vernooij [Tue, 27 Nov 2007 23:25:47 +0000 (00:25 +0100)]
r26179: Fix symlink.
Jelmer Vernooij [Tue, 27 Nov 2007 22:49:42 +0000 (23:49 +0100)]
r26178: Link against -ldl as well to prevent undefined symbols.
Jelmer Vernooij [Tue, 27 Nov 2007 22:28:23 +0000 (23:28 +0100)]
r26177: Allow prebuilding swig wrapper, install ldb.py.
Günther Deschner [Tue, 27 Nov 2007 17:13:24 +0000 (18:13 +0100)]
r26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 11:59:35 +0000 (12:59 +0100)]
r26171: Add my copyright.
Guenther
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
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
Günther Deschner [Tue, 27 Nov 2007 11:27:27 +0000 (12:27 +0100)]
r26168: Add two more documented WKSSVC_JOIN_FLAGS.
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 11:23:34 +0000 (12:23 +0100)]
r26166: Put [ref] in the front in wkssvc IDL.
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 11:11:49 +0000 (12:11 +0100)]
r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:08:01 +0000 (12:08 +0100)]
r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Guenther
Günther Deschner [Tue, 27 Nov 2007 11:04:48 +0000 (12:04 +0100)]
r26162: Remove accidental commit.
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 10:58:33 +0000 (11:58 +0100)]
r26160: Add WERR_NAME_NOT_FOUND.
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:51:22 +0000 (11:51 +0100)]
r26159: Align to coding conventions.
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:49:51 +0000 (11:49 +0100)]
r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:31:09 +0000 (11:31 +0100)]
r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:21:26 +0000 (11:21 +0100)]
r26156: Choose a more speaking message in test_NetrMessageBufferSend().
Guenther
Günther Deschner [Tue, 27 Nov 2007 10:20:34 +0000 (11:20 +0100)]
r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 10:04:51 +0000 (11:04 +0100)]
r26153: Add torture test for NetrAddAlternateComputerName() and
NetrRemoveAlternateComputerName().
Guenther
Günther Deschner [Tue, 27 Nov 2007 09:42:50 +0000 (10:42 +0100)]
r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther
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
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
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
Günther Deschner [Tue, 27 Nov 2007 09:23:24 +0000 (10:23 +0100)]
r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 09:07:00 +0000 (10:07 +0100)]
r26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Guenther
Günther Deschner [Tue, 27 Nov 2007 08:58:18 +0000 (09:58 +0100)]
r26145: Fix server side of wkssvc_NetWkstaTransportEnum.
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 08:41:50 +0000 (09:41 +0100)]
r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther
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
Günther Deschner [Tue, 27 Nov 2007 08:29:41 +0000 (09:29 +0100)]
r26141: Reflect pointer_default(unique) setting.
Guenther
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
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
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
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
Jelmer Vernooij [Tue, 27 Nov 2007 01:04:38 +0000 (02:04 +0100)]
r26136: Attempt to fix dependencies for auth.
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
Jelmer Vernooij [Tue, 27 Nov 2007 00:14:54 +0000 (01:14 +0100)]
r26134: Avoid using samdb-dependent functions in auth_system_session.
Günther Deschner [Mon, 26 Nov 2007 22:58:39 +0000 (23:58 +0100)]
r26133: Add some more error codes from wkssvc testing.
Guenther
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
Jelmer Vernooij [Mon, 26 Nov 2007 02:14:57 +0000 (03:14 +0100)]
r26130: Fix header installation