Jelmer Vernooij [Mon, 3 Dec 2007 22:33:16 +0000 (23:33 +0100)]
r26271: Remove some more uses of global_loadparm.
Jelmer Vernooij [Mon, 3 Dec 2007 22:33:09 +0000 (23:33 +0100)]
r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
Jelmer Vernooij [Mon, 3 Dec 2007 22:32:59 +0000 (23:32 +0100)]
r26269: Fix a couple more references to global_loadparm.
Jelmer Vernooij [Mon, 3 Dec 2007 20:25:17 +0000 (21:25 +0100)]
r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection.
Jelmer Vernooij [Mon, 3 Dec 2007 20:25:14 +0000 (21:25 +0100)]
r26267: Fix two calls of smb2_connect I missed.
Jelmer Vernooij [Mon, 3 Dec 2007 20:25:06 +0000 (21:25 +0100)]
r26266: Remove more global_loadparm uses.
Jelmer Vernooij [Mon, 3 Dec 2007 17:47:42 +0000 (18:47 +0100)]
r26265: Use task-provided loadparm context in nbt and rpc servers.
Jelmer Vernooij [Mon, 3 Dec 2007 17:47:35 +0000 (18:47 +0100)]
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
Jelmer Vernooij [Mon, 3 Dec 2007 16:58:04 +0000 (17:58 +0100)]
r26263: Don't assume CH_UNIX is CH_UTF8.
Jelmer Vernooij [Mon, 3 Dec 2007 16:51:50 +0000 (17:51 +0100)]
r26262: Add test for WERROR return code handling for Samba 3 client code.
Jelmer Vernooij [Mon, 3 Dec 2007 16:51:44 +0000 (17:51 +0100)]
r26261: Use enum type.
Jelmer Vernooij [Mon, 3 Dec 2007 16:41:50 +0000 (17:41 +0100)]
r26260: Store loadparm context in gensec context.
Jelmer Vernooij [Mon, 3 Dec 2007 16:41:46 +0000 (17:41 +0100)]
r26259: Provide convert_string_talloc() variant that works directly with an iconv handle.
Jelmer Vernooij [Mon, 3 Dec 2007 16:41:37 +0000 (17:41 +0100)]
r26258: Use loadparm context in client_start function of gensec.
Günther Deschner [Mon, 3 Dec 2007 16:00:10 +0000 (17:00 +0100)]
r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.
Guenther
Günther Deschner [Mon, 3 Dec 2007 15:49:45 +0000 (16:49 +0100)]
r26256: When generating Samba3 pidl output for WERROR based functions, make sure the
client caller can retrieve the WERROR.
Jelmer, no idea how to add a test for that...
Guenther
Michael Adam [Mon, 3 Dec 2007 15:46:45 +0000 (16:46 +0100)]
r26255: Work around another broken aspect of sys/capability.h on RHEL5.
This is synced from samba3 v3-2-test/
11bcdf780e164659b89:
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c in Samba3.
This commit adds a configure check and a workaround for this.
Michael
Michael Adam [Mon, 3 Dec 2007 15:32:28 +0000 (16:32 +0100)]
r26254: Add check for PPC statfs.h to workaround for broken capability.h.
Synced from Samba3.
Michael
Michael Adam [Mon, 3 Dec 2007 15:29:54 +0000 (16:29 +0100)]
r26253: Add check for broken RedHat 7.2 system header files to lib/replace.
This is taken (with slight reformatting) from samba3:configure.in.
It is already used in lib/replace/system/capablity.h.
Michael
Jelmer Vernooij [Mon, 3 Dec 2007 14:53:28 +0000 (15:53 +0100)]
r26252: Specify loadparm_context explicitly when creating sessions.
Jelmer Vernooij [Mon, 3 Dec 2007 14:53:23 +0000 (15:53 +0100)]
r26251: Fix include of stdint in tdb swig wrapper.
Jelmer Vernooij [Mon, 3 Dec 2007 14:53:17 +0000 (15:53 +0100)]
r26250: Avoid global_loadparm in a couple more places.
Jelmer Vernooij [Mon, 3 Dec 2007 14:53:07 +0000 (15:53 +0100)]
r26249: Remove a couple more uses of global_loadparm.
Jelmer Vernooij [Mon, 3 Dec 2007 12:48:09 +0000 (13:48 +0100)]
r26248: Check in SWIG output so SWIG is not required when running out of svn.
Jelmer Vernooij [Mon, 3 Dec 2007 12:33:58 +0000 (13:33 +0100)]
r26247: Don't allow use of older SWIG versions.
Andrew Bartlett [Mon, 3 Dec 2007 06:03:52 +0000 (07:03 +0100)]
r26246: Make it easier to debug assert()s in the provision, if messages are
suppressed with --quiet. Hopefully this will be easier with python.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Dec 2007 04:51:04 +0000 (05:51 +0100)]
r26245: Make it easier to handle the LDAP backend, with it's differing needs,
by seperating the modules list into parts. That way, we can remove
the modules that the backend will provide.
Andrew Bartlett
Andrew Bartlett [Mon, 3 Dec 2007 04:49:06 +0000 (05:49 +0100)]
r26244: Add a module (sans tests for the moment) that implements ranged
results, as used particularly by MMC's Active Directory Users and
Computers to list group members.
This may be used on any attribute, but is useful to obtain attributes
that may be lengthy in 'pages'. The implementation presumes that
attributes will always be returned by the DB in the same order.
Andrew Bartlett
Jelmer Vernooij [Mon, 3 Dec 2007 03:14:24 +0000 (04:14 +0100)]
r26243: stdint.i requires swigarch.i
Jelmer Vernooij [Mon, 3 Dec 2007 02:14:27 +0000 (03:14 +0100)]
r26242: Don't fail if swig is not available.
Jelmer Vernooij [Mon, 3 Dec 2007 01:58:20 +0000 (02:58 +0100)]
r26241: Ignore some files generated by tests.
Jelmer Vernooij [Mon, 3 Dec 2007 01:58:12 +0000 (02:58 +0100)]
r26240: We now actually use torture_context pointers for more than just allocation.
Fix a few places where we were passing talloc contexts that were not
torture contexts.
Jelmer Vernooij [Sun, 2 Dec 2007 23:28:44 +0000 (00:28 +0100)]
r26239: Fix registry argument order.
Jelmer Vernooij [Sun, 2 Dec 2007 23:28:22 +0000 (00:28 +0100)]
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
Jelmer Vernooij [Sun, 2 Dec 2007 23:28:07 +0000 (00:28 +0100)]
r26237: Add loadparm context to the server service interface.
Jelmer Vernooij [Sun, 2 Dec 2007 21:32:11 +0000 (22:32 +0100)]
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
Jelmer Vernooij [Sun, 2 Dec 2007 20:32:08 +0000 (21:32 +0100)]
r26235: Avoid global_loadparm.
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