jelmer/samba4-debian.git
16 years agor26355: Eliminate global_loadparm in more places.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:16 +0000 (04:33 +0100)]
r26355: Eliminate global_loadparm in more places.

16 years agor26354: In trying to chase down why we have reports that WinXP won't join
Andrew Bartlett [Mon, 10 Dec 2007 00:45:04 +0000 (01:45 +0100)]
r26354: In trying to chase down why we have reports that WinXP won't join

Samba4, rule out incorrect sid types in LSA LookupName returns.

Also fix the test to pass against Win2k3 Native mode.

Andrew Bartlett

16 years agor26353: Remove use of global_loadparm.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:43 +0000 (23:32 +0100)]
r26353: Remove use of global_loadparm.

16 years agor26352: Don't make lp_load create a new context.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:37 +0000 (23:32 +0100)]
r26352: Don't make lp_load create a new context.

16 years agor26351: Fix handling of flags when there are multiple loadparm contexts around.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:33 +0000 (23:32 +0100)]
r26351: Fix handling of flags when there are multiple loadparm contexts around.

16 years agor26350: More tests.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:27 +0000 (23:32 +0100)]
r26350: More tests.

16 years agor26349: More tests.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:23 +0000 (23:32 +0100)]
r26349: More tests.

16 years agor26348: Avoid use of autofree context.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:18 +0000 (23:32 +0100)]
r26348: Avoid use of autofree context.

16 years agor26347: More tests.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:13 +0000 (23:32 +0100)]
r26347: More tests.

16 years agor26346: Add tests for loadparm.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:09 +0000 (23:32 +0100)]
r26346: Add tests for loadparm.

16 years agor26345: Fix dumping an individual parameter.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:05 +0000 (23:32 +0100)]
r26345: Fix dumping an individual parameter.

16 years agor26344: Fix memory access.
Jelmer Vernooij [Sat, 8 Dec 2007 22:32:01 +0000 (23:32 +0100)]
r26344: Fix memory access.

16 years agor26343: Remove bLoaded global variable.
Jelmer Vernooij [Sat, 8 Dec 2007 22:31:58 +0000 (23:31 +0100)]
r26343: Remove bLoaded global variable.

16 years agor26342: Fix initialization.
Jelmer Vernooij [Sat, 8 Dec 2007 22:31:55 +0000 (23:31 +0100)]
r26342: Fix initialization.

16 years agor26340: Add special handlers for debuglevel and logfile.
Jelmer Vernooij [Sat, 8 Dec 2007 22:31:49 +0000 (23:31 +0100)]
r26340: Add special handlers for debuglevel and logfile.

16 years agor26339: Make loadparm talloc-allocated.
Jelmer Vernooij [Sat, 8 Dec 2007 22:31:41 +0000 (23:31 +0100)]
r26339: Make loadparm talloc-allocated.

16 years agor26338: Fix parameter, typo.
Jelmer Vernooij [Fri, 7 Dec 2007 22:56:53 +0000 (23:56 +0100)]
r26338: Fix parameter, typo.

16 years agor26337: Move global_loadparm to a higher caller.
Jelmer Vernooij [Fri, 7 Dec 2007 15:04:25 +0000 (16:04 +0100)]
r26337: Move global_loadparm to a higher caller.

16 years agor26336: use offsets inside loadparm rather than pointers (allows multiple contexts...
Jelmer Vernooij [Fri, 7 Dec 2007 15:04:22 +0000 (16:04 +0100)]
r26336: use offsets inside loadparm rather than pointers (allows multiple contexts to exist at the same time).

16 years agor26335: Specify name_resolve_order to socket code.
Jelmer Vernooij [Fri, 7 Dec 2007 15:04:17 +0000 (16:04 +0100)]
r26335: Specify name_resolve_order to socket code.

16 years agor26334: Avoid loadparm_context.
Jelmer Vernooij [Fri, 7 Dec 2007 12:30:31 +0000 (13:30 +0100)]
r26334: Avoid loadparm_context.

16 years agor26333: No more global_loadparm in finddcs.
Jelmer Vernooij [Fri, 7 Dec 2007 12:30:23 +0000 (13:30 +0100)]
r26333: No more global_loadparm in finddcs.

16 years agor26332: Add samr_ValidationStatus error mapping to samr_ValidatePassword().
Günther Deschner [Fri, 7 Dec 2007 10:45:17 +0000 (11:45 +0100)]
r26332: Add samr_ValidationStatus error mapping to samr_ValidatePassword().

Torture test to follow.

Guenther

16 years agor26331: Add IDL for samr_ValidatePassword(). A very interesting call.
Günther Deschner [Fri, 7 Dec 2007 10:36:32 +0000 (11:36 +0100)]
r26331: Add IDL for samr_ValidatePassword(). A very interesting call.

Guenther

16 years agor26330: Fix header installation.
Jelmer Vernooij [Fri, 7 Dec 2007 02:18:12 +0000 (03:18 +0100)]
r26330: Fix header installation.

16 years agor26329: Fix more loadparm_context references. Only about a 100 left now.
Jelmer Vernooij [Fri, 7 Dec 2007 02:01:41 +0000 (03:01 +0100)]
r26329: Fix more loadparm_context references. Only about a 100 left now.

16 years agor26328: remove more uses of global_loadparm.
Jelmer Vernooij [Fri, 7 Dec 2007 01:37:13 +0000 (02:37 +0100)]
r26328: remove more uses of global_loadparm.

16 years agor26327: Explicit loadparm_context for RPC client functions.
Jelmer Vernooij [Fri, 7 Dec 2007 01:37:04 +0000 (02:37 +0100)]
r26327: Explicit loadparm_context for RPC client functions.

16 years agor26326: Remove more uses of global_loadparm.
Jelmer Vernooij [Fri, 7 Dec 2007 00:16:50 +0000 (01:16 +0100)]
r26326: Remove more uses of global_loadparm.

16 years agor26325: Remove use of global_loadparm in netif.
Jelmer Vernooij [Thu, 6 Dec 2007 22:57:22 +0000 (23:57 +0100)]
r26325: Remove use of global_loadparm in netif.

16 years agor26324: Fix includes for Jelmer.
Andrew Bartlett [Thu, 6 Dec 2007 22:15:37 +0000 (23:15 +0100)]
r26324: Fix includes for Jelmer.

Andrew Bartlett

16 years agor26323: Regenerated credentials SWIG.
Jelmer Vernooij [Thu, 6 Dec 2007 21:39:44 +0000 (22:39 +0100)]
r26323: Regenerated credentials SWIG.

16 years agor26322: Fix include
Jelmer Vernooij [Thu, 6 Dec 2007 21:34:56 +0000 (22:34 +0100)]
r26322: Fix include

16 years agor26321: Fix python tests.
Jelmer Vernooij [Thu, 6 Dec 2007 20:40:00 +0000 (21:40 +0100)]
r26321: Fix python tests.

16 years agor26320: Clean up properly after error.
Jelmer Vernooij [Thu, 6 Dec 2007 20:39:56 +0000 (21:39 +0100)]
r26320: Clean up properly after error.

16 years agor26319: Split encoding functions out of libcli_ldap.
Jelmer Vernooij [Thu, 6 Dec 2007 20:39:49 +0000 (21:39 +0100)]
r26319: Split encoding functions out of libcli_ldap.

16 years agor26318: Don't rely on SAMDB functions in secrets database.
Jelmer Vernooij [Thu, 6 Dec 2007 20:16:40 +0000 (21:16 +0100)]
r26318: Don't rely on SAMDB functions in secrets database.

16 years agor26317: Fix typos.
Jelmer Vernooij [Thu, 6 Dec 2007 20:10:24 +0000 (21:10 +0100)]
r26317: Fix typos.

16 years agor26316: Use contexts for conversion functions.
Jelmer Vernooij [Thu, 6 Dec 2007 16:52:23 +0000 (17:52 +0100)]
r26316: Use contexts for conversion functions.

16 years agor26315: Avoid using lp_ functions in libcharset.
Jelmer Vernooij [Thu, 6 Dec 2007 16:16:40 +0000 (17:16 +0100)]
r26315: Avoid using lp_ functions in libcharset.

16 years agor26314: Eliminate use of global_loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 16:04:11 +0000 (17:04 +0100)]
r26314: Eliminate use of global_loadparm.

16 years agor26313: Fix more uses of static loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 15:54:34 +0000 (16:54 +0100)]
r26313: Fix more uses of static loadparm.

16 years agor26312: Move specification of port higher up the call stack.
Jelmer Vernooij [Thu, 6 Dec 2007 15:46:02 +0000 (16:46 +0100)]
r26312: Move specification of port higher up the call stack.

16 years agor26311: Move port number specification 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.

16 years agor26310: Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 6 Dec 2007 15:36:54 +0000 (16:36 +0100)]
r26310: Remove more uses of global_loadparm.

16 years agor26309: Move specification of port higher up the all stack.
Jelmer Vernooij [Thu, 6 Dec 2007 15:26:56 +0000 (16:26 +0100)]
r26309: Move specification of port higher up the all stack.

16 years agor26308: Split up big popt common callback function.
Jelmer Vernooij [Thu, 6 Dec 2007 15:01:15 +0000 (16:01 +0100)]
r26308: Split up big popt common callback function.

16 years agor26307: BASE-DELAYWRITE: only set the write time
Stefan Metzmacher [Thu, 6 Dec 2007 14:06:36 +0000 (15:06 +0100)]
r26307: BASE-DELAYWRITE: only set the write time

metze

16 years agor26306: BASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo...
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

16 years agor26305: Update template files and testsuite to try and work with current
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

16 years agor26304: More work to remove silly error printouts.
Andrew Bartlett [Wed, 5 Dec 2007 02:03:33 +0000 (03:03 +0100)]
r26304: More work to remove silly error printouts.

Andrew Bartlett

16 years agor26303: Fix up error reporting during the delete of previous entries in the
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

16 years agor26302: Print the error string for failed rootdse searches.
Andrew Bartlett [Wed, 5 Dec 2007 00:25:39 +0000 (01:25 +0100)]
r26302: Print the error string for failed rootdse searches.

Andrew Bartlett

16 years agor26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
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

16 years agor26300: Don't segfault when called from the ntptr libs.
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

16 years agor26299: Print out which module failed to initialise.
Andrew Bartlett [Tue, 4 Dec 2007 23:56:11 +0000 (00:56 +0100)]
r26299: Print out which module failed to initialise.

Andrew Bartlett

16 years agor26298: Use metze's schema loading code to pre-initialise the schema into the
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

16 years agor26297: Correct error message. This function verifies attributes, not
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

16 years agor26296: Store loadparm context in DCE/RPC server context.
Jelmer Vernooij [Tue, 4 Dec 2007 19:05:00 +0000 (20:05 +0100)]
r26296: Store loadparm context in DCE/RPC server context.

16 years agor26295: Remove use of global_loadparm for net and wb_pam_auth.
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.

16 years agor26294: Use hardcoded name for SWIG for now, until proper autoconf checks are in...
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.

16 years agor26293: Make sure SWIG directory exists, respect DESTDIR.
Jelmer Vernooij [Tue, 4 Dec 2007 17:35:56 +0000 (18:35 +0100)]
r26293: Make sure SWIG directory exists, respect DESTDIR.

16 years agor26292: Make sure swig directory exists.
Jelmer Vernooij [Tue, 4 Dec 2007 17:24:16 +0000 (18:24 +0100)]
r26292: Make sure swig directory exists.

16 years agor26291: build: make use of output::add_dir_str() to avoid ugly foo/../bla pathes
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

16 years agor26290: build: split add_dir() into add_dir_str() and add_dir_array()
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

16 years agor26289: build: avoid nasty foo/./bla pathes for python stuff
Stefan Metzmacher [Tue, 4 Dec 2007 13:17:26 +0000 (14:17 +0100)]
r26289: build: avoid nasty foo/./bla pathes for python stuff

metze

16 years agor26288: events: events.h uses uint16_t so it needs stdint.h
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

16 years agor26287: selftest: fix stupid typo LDB_MODULE_PATH -> LDB_MODULES_PATH
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

16 years agor26286: IDL and torture test for netr_ServerTrustPasswordsGet().
Günther Deschner [Tue, 4 Dec 2007 09:20:13 +0000 (10:20 +0100)]
r26286: IDL and torture test for netr_ServerTrustPasswordsGet().

Guenther

16 years agor26285: Add IDL and torture test for netr_ServerPasswordGet().
Günther Deschner [Tue, 4 Dec 2007 08:41:28 +0000 (09:41 +0100)]
r26285: Add IDL and torture test for netr_ServerPasswordGet().

Guenther

16 years agor26284: Rather than just debug, push the error back up the stack as the error
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

16 years agor26283: fix typo
Andrew Bartlett [Tue, 4 Dec 2007 02:38:35 +0000 (03:38 +0100)]
r26283: fix typo

16 years agor26282: These modules expect errors, but if we don't wipe the error string, we
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

16 years agor26281: Fix include.
Jelmer Vernooij [Tue, 4 Dec 2007 02:13:12 +0000 (03:13 +0100)]
r26281: Fix include.

16 years agor26280: Fix installation if swig is not available.
Jelmer Vernooij [Tue, 4 Dec 2007 01:04:25 +0000 (02:04 +0100)]
r26280: Fix installation if swig is not available.

16 years agor26279: Don't compile any python stuff if python 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.

16 years agor26278: Tallocify convenience table for iconv handles.
Jelmer Vernooij [Tue, 4 Dec 2007 00:51:44 +0000 (01:51 +0100)]
r26278: Tallocify convenience table for iconv handles.

16 years agor26277: Move loadparm context higher up the stack.
Jelmer Vernooij [Tue, 4 Dec 2007 00:51:36 +0000 (01:51 +0100)]
r26277: Move loadparm context higher up the stack.

16 years agor26276: Install SWIG files if swig is present.
Jelmer Vernooij [Tue, 4 Dec 2007 00:37:28 +0000 (01:37 +0100)]
r26276: Install SWIG files if swig is present.

16 years agor26275: return loadparm context in lp_load.
Jelmer Vernooij [Mon, 3 Dec 2007 23:12:13 +0000 (00:12 +0100)]
r26275: return loadparm context in lp_load.

16 years agor26274: Some syntax fixes, remove more global_loadparm instances.
Jelmer Vernooij [Mon, 3 Dec 2007 23:12:03 +0000 (00:12 +0100)]
r26274: Some syntax fixes, remove more global_loadparm instances.

16 years agor26273: Add IDL and torture test for netr_NetrEnumerateTurstedDomains() and
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

16 years agor26272: Remove global_loadparm in some more places.
Jelmer Vernooij [Mon, 3 Dec 2007 22:33:22 +0000 (23:33 +0100)]
r26272: Remove global_loadparm in some more places.

16 years agor26271: Remove some more uses of global_loadparm.
Jelmer Vernooij [Mon, 3 Dec 2007 22:33:16 +0000 (23:33 +0100)]
r26271: Remove some more uses of global_loadparm.

16 years agor26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
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().

16 years agor26269: Fix a couple more references to global_loadparm.
Jelmer Vernooij [Mon, 3 Dec 2007 22:32:59 +0000 (23:32 +0100)]
r26269: Fix a couple more references to global_loadparm.

16 years agor26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connec...
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.

16 years agor26267: Fix two calls of smb2_connect I missed.
Jelmer Vernooij [Mon, 3 Dec 2007 20:25:14 +0000 (21:25 +0100)]
r26267: Fix two calls of smb2_connect I missed.

16 years agor26266: Remove more global_loadparm uses.
Jelmer Vernooij [Mon, 3 Dec 2007 20:25:06 +0000 (21:25 +0100)]
r26266: Remove more global_loadparm uses.

16 years agor26265: Use task-provided loadparm context in nbt and rpc servers.
Jelmer Vernooij [Mon, 3 Dec 2007 17:47:42 +0000 (18:47 +0100)]
r26265: Use task-provided loadparm context in nbt and rpc servers.

16 years agor26264: pass name resolve order explicitly, use torture context for settings in dssyn...
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.

16 years agor26263: Don't assume CH_UNIX is CH_UTF8.
Jelmer Vernooij [Mon, 3 Dec 2007 16:58:04 +0000 (17:58 +0100)]
r26263: Don't assume CH_UNIX is CH_UTF8.

16 years agor26262: Add test for WERROR return code handling for Samba 3 client code.
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.

16 years agor26261: Use enum type.
Jelmer Vernooij [Mon, 3 Dec 2007 16:51:44 +0000 (17:51 +0100)]
r26261: Use enum type.

16 years agor26260: Store loadparm context in gensec context.
Jelmer Vernooij [Mon, 3 Dec 2007 16:41:50 +0000 (17:41 +0100)]
r26260: Store loadparm context in gensec context.

16 years agor26259: Provide convert_string_talloc() variant that works directly with an iconv...
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.

16 years agor26258: Use loadparm context in client_start function of gensec.
Jelmer Vernooij [Mon, 3 Dec 2007 16:41:37 +0000 (17:41 +0100)]
r26258: Use loadparm context in client_start function of gensec.

16 years agor26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
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

16 years agor26256: When generating Samba3 pidl output for WERROR based functions, make sure the
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

16 years agor26255: Work around another broken aspect of sys/capability.h on RHEL5.
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