Andrew Bartlett [Thu, 6 Dec 2007 22:15:37 +0000 (23:15 +0100)]
r26324: Fix includes for Jelmer.
Andrew Bartlett
Jelmer Vernooij [Thu, 6 Dec 2007 21:39:44 +0000 (22:39 +0100)]
r26323: Regenerated credentials SWIG.
Jelmer Vernooij [Thu, 6 Dec 2007 21:34:56 +0000 (22:34 +0100)]
r26322: Fix include
Jelmer Vernooij [Thu, 6 Dec 2007 20:40:00 +0000 (21:40 +0100)]
r26321: Fix python tests.
Jelmer Vernooij [Thu, 6 Dec 2007 20:39:56 +0000 (21:39 +0100)]
r26320: Clean up properly after error.
Jelmer Vernooij [Thu, 6 Dec 2007 20:39:49 +0000 (21:39 +0100)]
r26319: Split encoding functions out of libcli_ldap.
Jelmer Vernooij [Thu, 6 Dec 2007 20:16:40 +0000 (21:16 +0100)]
r26318: Don't rely on SAMDB functions in secrets database.
Jelmer Vernooij [Thu, 6 Dec 2007 20:10:24 +0000 (21:10 +0100)]
r26317: Fix typos.
Jelmer Vernooij [Thu, 6 Dec 2007 16:52:23 +0000 (17:52 +0100)]
r26316: Use contexts for conversion functions.
Jelmer Vernooij [Thu, 6 Dec 2007 16:16:40 +0000 (17:16 +0100)]
r26315: Avoid using lp_ functions in libcharset.
Jelmer Vernooij [Thu, 6 Dec 2007 16:04:11 +0000 (17:04 +0100)]
r26314: Eliminate use of global_loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 15:54:34 +0000 (16:54 +0100)]
r26313: Fix more uses of static loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 15:46:02 +0000 (16:46 +0100)]
r26312: Move specification of port higher up the call stack.
Jelmer Vernooij [Thu, 6 Dec 2007 15:41:53 +0000 (16:41 +0100)]
r26311: Move port number specification higher up the call stack.
Jelmer Vernooij [Thu, 6 Dec 2007 15:36:54 +0000 (16:36 +0100)]
r26310: Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 15:26:56 +0000 (16:26 +0100)]
r26309: Move specification of port higher up the all stack.
Jelmer Vernooij [Thu, 6 Dec 2007 15:01:15 +0000 (16:01 +0100)]
r26308: Split up big popt common callback function.
Stefan Metzmacher [Thu, 6 Dec 2007 14:06:36 +0000 (15:06 +0100)]
r26307: BASE-DELAYWRITE: only set the write time
metze
Stefan Metzmacher [Thu, 6 Dec 2007 12:17:34 +0000 (13:17 +0100)]
r26306: BASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo match
metze
Andrew Bartlett [Wed, 5 Dec 2007 03:26:28 +0000 (04:26 +0100)]
r26305: Update template files and testsuite to try and work with current
openldap, and fully support different LDAP server locations.
Andrew Bartlett
Andrew Bartlett [Wed, 5 Dec 2007 02:03:33 +0000 (03:03 +0100)]
r26304: More work to remove silly error printouts.
Andrew Bartlett
Andrew Bartlett [Wed, 5 Dec 2007 02:00:48 +0000 (03:00 +0100)]
r26303: Fix up error reporting during the delete of previous entries in the
provision, and ignore 'no such entry' as an error (it is normal, and
just means the partition is compleatly empty).
Andrew Bartlett
Andrew Bartlett [Wed, 5 Dec 2007 00:25:39 +0000 (01:25 +0100)]
r26302: Print the error string for failed rootdse searches.
Andrew Bartlett
Andrew Bartlett [Wed, 5 Dec 2007 00:25:07 +0000 (01:25 +0100)]
r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
and therefore further improve debug output.
Andrew Bartlett
Andrew Bartlett [Wed, 5 Dec 2007 00:20:53 +0000 (01:20 +0100)]
r26300: Don't segfault when called from the ntptr libs.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Dec 2007 23:56:11 +0000 (00:56 +0100)]
r26299: Print out which module failed to initialise.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Dec 2007 23:40:48 +0000 (00:40 +0100)]
r26298: Use metze's schema loading code to pre-initialise the schema into the
samdb before we start writing entries into it.
In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).
We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.
When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works. This required some ejs
glue.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Dec 2007 23:35:19 +0000 (00:35 +0100)]
r26297: Correct error message. This function verifies attributes, not
objectclasses.
Andrew Bartlett
Jelmer Vernooij [Tue, 4 Dec 2007 19:05:00 +0000 (20:05 +0100)]
r26296: Store loadparm context in DCE/RPC server context.
Jelmer Vernooij [Tue, 4 Dec 2007 18:33:00 +0000 (19:33 +0100)]
r26295: Remove use of global_loadparm for net and wb_pam_auth.
Jelmer Vernooij [Tue, 4 Dec 2007 17:39:20 +0000 (18:39 +0100)]
r26294: Use hardcoded name for SWIG for now, until proper autoconf checks are in place.
Jelmer Vernooij [Tue, 4 Dec 2007 17:35:56 +0000 (18:35 +0100)]
r26293: Make sure SWIG directory exists, respect DESTDIR.
Jelmer Vernooij [Tue, 4 Dec 2007 17:24:16 +0000 (18:24 +0100)]
r26292: Make sure swig directory exists.
Stefan Metzmacher [Tue, 4 Dec 2007 13:20:46 +0000 (14:20 +0100)]
r26291: build: make use of output::add_dir_str() to avoid ugly foo/../bla pathes
metze
Stefan Metzmacher [Tue, 4 Dec 2007 13:18:58 +0000 (14:18 +0100)]
r26290: build: split add_dir() into add_dir_str() and add_dir_array()
metze
Stefan Metzmacher [Tue, 4 Dec 2007 13:17:26 +0000 (14:17 +0100)]
r26289: build: avoid nasty foo/./bla pathes for python stuff
metze
Stefan Metzmacher [Tue, 4 Dec 2007 12:19:21 +0000 (13:19 +0100)]
r26288: events: events.h uses uint16_t so it needs stdint.h
stdlib.h isn't used directly and talloc.h brings it in anyway
this fixes the build of lib/events/./events_wrap.c
on older systems linux versions.
metze
Stefan Metzmacher [Tue, 4 Dec 2007 10:56:23 +0000 (11:56 +0100)]
r26287: selftest: fix stupid typo LDB_MODULE_PATH -> LDB_MODULES_PATH
metze
Günther Deschner [Tue, 4 Dec 2007 09:20:13 +0000 (10:20 +0100)]
r26286: IDL and torture test for netr_ServerTrustPasswordsGet().
Guenther
Günther Deschner [Tue, 4 Dec 2007 08:41:28 +0000 (09:41 +0100)]
r26285: Add IDL and torture test for netr_ServerPasswordGet().
Guenther
Andrew Bartlett [Tue, 4 Dec 2007 04:32:23 +0000 (05:32 +0100)]
r26284: Rather than just debug, push the error back up the stack as the error
string, if we fail to load the schema.
Andrew Bartlett
Andrew Bartlett [Tue, 4 Dec 2007 02:38:35 +0000 (03:38 +0100)]
r26283: fix typo
Andrew Bartlett [Tue, 4 Dec 2007 02:37:41 +0000 (03:37 +0100)]
r26282: These modules expect errors, but if we don't wipe the error string, we
get phony error strings at the caller, which is very confusing.
Andrew Bartlett
Jelmer Vernooij [Tue, 4 Dec 2007 02:13:12 +0000 (03:13 +0100)]
r26281: Fix include.
Jelmer Vernooij [Tue, 4 Dec 2007 01:04:25 +0000 (02:04 +0100)]
r26280: Fix installation if swig is not available.
Jelmer Vernooij [Tue, 4 Dec 2007 00:51:48 +0000 (01:51 +0100)]
r26279: Don't compile any python stuff if python is not available.
Jelmer Vernooij [Tue, 4 Dec 2007 00:51:44 +0000 (01:51 +0100)]
r26278: Tallocify convenience table for iconv handles.
Jelmer Vernooij [Tue, 4 Dec 2007 00:51:36 +0000 (01:51 +0100)]
r26277: Move loadparm context higher up the stack.
Jelmer Vernooij [Tue, 4 Dec 2007 00:37:28 +0000 (01:37 +0100)]
r26276: Install SWIG files if swig is present.
Jelmer Vernooij [Mon, 3 Dec 2007 23:12:13 +0000 (00:12 +0100)]
r26275: return loadparm context in lp_load.
Jelmer Vernooij [Mon, 3 Dec 2007 23:12:03 +0000 (00:12 +0100)]
r26274: Some syntax fixes, remove more global_loadparm instances.
Günther Deschner [Mon, 3 Dec 2007 22:38:54 +0000 (23:38 +0100)]
r26273: Add IDL and torture test for netr_NetrEnumerateTurstedDomains() and
netr_NetrEnumerateTurstedDomainsEx().
Guenther
Jelmer Vernooij [Mon, 3 Dec 2007 22:33:22 +0000 (23:33 +0100)]
r26272: Remove global_loadparm in some more places.
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.