jelmer/samba4-debian.git
16 years agor26440: Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:55 +0000 (22:46 +0100)]
r26440: Remove more uses of global_loadparm.

16 years agor26439: Require tdr_pull users to specify a smb_iconv convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:51 +0000 (22:46 +0100)]
r26439: Require tdr_pull users to specify a smb_iconv convenience context.

16 years agor26438: Store iconv convenience in tdr push contexts.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:47 +0000 (22:46 +0100)]
r26438: Store iconv convenience in tdr push contexts.

16 years agor26437: remove another use of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:44 +0000 (22:46 +0100)]
r26437: remove another use of global_loadparm.

16 years agor26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:41 +0000 (22:46 +0100)]
r26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified

16 years agor26435: Remove global_loadparm instance.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:37 +0000 (22:46 +0100)]
r26435: Remove global_loadparm instance.

16 years agor26434: Remove display charset from iconv convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:33 +0000 (22:46 +0100)]
r26434: Remove display charset from iconv convenience context.

16 years agor26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:30 +0000 (22:46 +0100)]
r26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.

16 years agor26432: Require ndr_pull users to specify iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:27 +0000 (22:46 +0100)]
r26432: Require ndr_pull users to specify iconv_convenience.

16 years agor26431: Require ndr_push creators to specify a iconv_convenience context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:23 +0000 (22:46 +0100)]
r26431: Require ndr_push creators to specify a iconv_convenience context.

16 years agor26430: require explicit specification of loadparm context.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:17 +0000 (22:46 +0100)]
r26430: require explicit specification of loadparm context.

16 years agor26429: Avoid use of global_smb_iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 21:46:09 +0000 (22:46 +0100)]
r26429: Avoid use of global_smb_iconv_convenience.

16 years agor26428: spoolss: Fix a typo.
Kai Blin [Thu, 13 Dec 2007 11:37:59 +0000 (12:37 +0100)]
r26428: spoolss: Fix a typo.

16 years agor26427: Avoid global_smb_iconv_convenience.
Jelmer Vernooij [Thu, 13 Dec 2007 11:19:33 +0000 (12:19 +0100)]
r26427: Avoid global_smb_iconv_convenience.

16 years agor26426: Remove uses of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 10:41:47 +0000 (11:41 +0100)]
r26426: Remove uses of global_loadparm.

16 years agor26425: fix crash bug, sorry I should have tested that...
Stefan Metzmacher [Thu, 13 Dec 2007 09:28:18 +0000 (10:28 +0100)]
r26425: fix crash bug, sorry I should have tested that...

metze

16 years agor26424: Patch and hits from Howard Chu <hyc@symas.com> for our automated setup
Andrew Bartlett [Thu, 13 Dec 2007 08:46:41 +0000 (09:46 +0100)]
r26424: Patch and hits from Howard Chu <hyc@symas.com> for our automated setup

of OpenLDAP.

This makes it consistant with the Fedora DS setup, and doesn't mix
both hdb and bdb.

Andrew Bartlett

16 years agor26423: try to fix the build on solaris
Stefan Metzmacher [Thu, 13 Dec 2007 08:13:35 +0000 (09:13 +0100)]
r26423: try to fix the build on solaris

metze

16 years agor26422: build: let configure print out if we have working python module support
Stefan Metzmacher [Thu, 13 Dec 2007 07:36:03 +0000 (08:36 +0100)]
r26422: build: let configure print out if we have working python module support

metze

16 years agor26421: build: we now have HAVE_IFACE_GETIFADDRS as valid interface detection code
Stefan Metzmacher [Thu, 13 Dec 2007 07:34:51 +0000 (08:34 +0100)]
r26421: build: we now have HAVE_IFACE_GETIFADDRS as valid interface detection code

metze

16 years agor26420: Don't print a blow-by-blow description of every search we do, just the
Andrew Bartlett [Thu, 13 Dec 2007 06:04:57 +0000 (07:04 +0100)]
r26420: Don't print a blow-by-blow description of every search we do, just the

errors that occour.

Andrew Bartlett

16 years agor26419: Add a module to implement 'ambigious name resolution' by munging the
Andrew Bartlett [Thu, 13 Dec 2007 02:07:38 +0000 (03:07 +0100)]
r26419: Add a module to implement 'ambigious name resolution' by munging the

incoming LDAP filter.

Warning: Any anr search will perform a full index search.  Untill ldb
gets substring indexes, this is unavoidable.

Also implement a testsutie to show we match AD behaviour for this
important extension (used in the Active Directory Users and Computers
MMC plugin, as a genereral 'find').

This will also be useful to OpenChange, as their server needs to
implement this.

Andrew Bartlett

16 years agor26418: Janitorial: Kill pstring in ntlmssp_parse.c
Kai Blin [Wed, 12 Dec 2007 18:38:22 +0000 (19:38 +0100)]
r26418: Janitorial: Kill pstring in ntlmssp_parse.c

16 years agor26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.
Jelmer Vernooij [Wed, 12 Dec 2007 13:09:15 +0000 (14:09 +0100)]
r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.

16 years agor26416: Janitorial: Fix warnings in auth/gensec/
Kai Blin [Wed, 12 Dec 2007 10:08:32 +0000 (11:08 +0100)]
r26416: Janitorial: Fix warnings in auth/gensec/

As per metze's suggestion, the "unused variables" warning is left in to remind
us to fix the #else part of the #if 1

16 years agor26415: LIBSAMBA-CONFIG used dlopen(), so it has to depend on LIBREPLACE_EXT for...
Stefan Metzmacher [Wed, 12 Dec 2007 09:21:25 +0000 (10:21 +0100)]
r26415: LIBSAMBA-CONFIG used dlopen(), so it has to depend on LIBREPLACE_EXT for -ldl

This fixes the pidl/ndr_string test.

metze

16 years agor26414: build: bring in the content of EXT_LIB's for the .pc files
Stefan Metzmacher [Wed, 12 Dec 2007 09:18:32 +0000 (10:18 +0100)]
r26414: build: bring in the content of EXT_LIB's for the .pc files

TODO: we need to check if we need to recursivly expand the dependencies
      as we do for the Makefile rules

metze

16 years agor26413: we should check the return value of talloc_reference()
Stefan Metzmacher [Wed, 12 Dec 2007 09:13:08 +0000 (10:13 +0100)]
r26413: we should check the return value of talloc_reference()

metze

16 years agor26412: Add comments and refactor to reuse common code.
Andrew Bartlett [Wed, 12 Dec 2007 06:02:07 +0000 (07:02 +0100)]
r26412: Add comments and refactor to reuse common code.

Andrew Bartlett

16 years agor26411: Double check Python installation - make sure we can compile and link using it.
Jelmer Vernooij [Wed, 12 Dec 2007 02:02:18 +0000 (03:02 +0100)]
r26411: Double check Python installation - make sure we can compile and link using it.

16 years agor26410: Remove unnecessary static.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:42 +0000 (02:15 +0100)]
r26410: Remove unnecessary static.

16 years agor26409: Pass smb ports along.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:29 +0000 (02:15 +0100)]
r26409: Pass smb ports along.

16 years agor26408: Remove use of global_loadparm.
Jelmer Vernooij [Wed, 12 Dec 2007 01:15:20 +0000 (02:15 +0100)]
r26408: Remove use of global_loadparm.

16 years agor26407: Janitorial: Remove a pstring and compiler warnings.
Kai Blin [Tue, 11 Dec 2007 22:00:30 +0000 (23:00 +0100)]
r26407: Janitorial: Remove a pstring and compiler warnings.

16 years agor26406: Make a copy to prevent modification of the loadparm configuration.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:34 +0000 (22:23 +0100)]
r26406: Make a copy to prevent modification of the loadparm configuration.

16 years agor26405: Import support for getifaddrs from Samba3.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:31 +0000 (22:23 +0100)]
r26405: Import support for getifaddrs from Samba3.

16 years agor26404: Disable socket wrapper for the interface detection code to work around the...
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:28 +0000 (22:23 +0100)]
r26404: Disable socket wrapper for the interface detection code to work around the fact that the ioctls for enumerating interfaces are not very reliable when used on unix domain sockets.

Ideally, we should be implementing the SIOCGIFCONF and SIOCGIFADDR ioctls in socket wrapper.

16 years agor26403: Make sure ntvfs is only initialized once.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:25 +0000 (22:23 +0100)]
r26403: Make sure ntvfs is only initialized once.

16 years agor26402: Require a talloc context in libnetif.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:20 +0000 (22:23 +0100)]
r26402: Require a talloc context in libnetif.

16 years agor26401: Don't cache interfaces context in libnetif.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:14 +0000 (22:23 +0100)]
r26401: Don't cache interfaces context in libnetif.

16 years agor26400: Don't try to do character conversion before smb.conf has been parsed.
Jelmer Vernooij [Tue, 11 Dec 2007 21:23:06 +0000 (22:23 +0100)]
r26400: Don't try to do character conversion before smb.conf has been parsed.

16 years agor26399: Use -O option for SWIG (less evil generated code).
Jelmer Vernooij [Tue, 11 Dec 2007 13:31:01 +0000 (14:31 +0100)]
r26399: Use -O option for SWIG (less evil generated code).

16 years agor26398: Fix writing the output of failed tests to st/summary.
Jelmer Vernooij [Tue, 11 Dec 2007 13:24:20 +0000 (14:24 +0100)]
r26398: Fix writing the output of failed tests to st/summary.

16 years agor26397: Fix circular dependency in samba-socket.
Jelmer Vernooij [Tue, 11 Dec 2007 12:38:54 +0000 (13:38 +0100)]
r26397: Fix circular dependency in samba-socket.

16 years agor26396: dcerpc: Fall back to peer_name() if target_hostname() is not set.
Kai Blin [Tue, 11 Dec 2007 10:28:46 +0000 (11:28 +0100)]
r26396: dcerpc: Fall back to peer_name() if target_hostname() is not set.

16 years agor26395: spoolss: Add WinXP-like printer browsing test.
Kai Blin [Tue, 11 Dec 2007 09:48:33 +0000 (10:48 +0100)]
r26395: spoolss: Add WinXP-like printer browsing test.

16 years agor26394: dcerpc: Use target_hostname() instead of peer_name() in dcerpc_server_name()
Kai Blin [Tue, 11 Dec 2007 09:47:36 +0000 (10:47 +0100)]
r26394: dcerpc: Use target_hostname() instead of peer_name() in dcerpc_server_name()

16 years agor26393: Fix inline comment.
Günther Deschner [Tue, 11 Dec 2007 09:18:10 +0000 (10:18 +0100)]
r26393: Fix inline comment.

Guenther

16 years agor26392: cmdline: remove unused var
Stefan Metzmacher [Tue, 11 Dec 2007 08:14:39 +0000 (09:14 +0100)]
r26392: cmdline: remove unused var

metze

16 years agor26391: samba4 doesn't support 'lmhosts' as resolve module
Stefan Metzmacher [Tue, 11 Dec 2007 08:01:56 +0000 (09:01 +0100)]
r26391: samba4 doesn't support 'lmhosts' as resolve module

metze

16 years agor26389: Merge SWAT changes from alpha2 back into main Samba4 tree.
Andrew Bartlett [Tue, 11 Dec 2007 01:10:46 +0000 (02:10 +0100)]
r26389: Merge SWAT changes from alpha2 back into main Samba4 tree.

Andrew Bartlett

16 years agor26386: We need to test in more than just 'interactive' mode...
Andrew Bartlett [Mon, 10 Dec 2007 23:22:05 +0000 (00:22 +0100)]
r26386: We need to test in more than just 'interactive' mode...

Fix segfault found when running smbd without options.

Andrew Bartlett

16 years agor26385: Integrate gensec-socket into gensec.
Jelmer Vernooij [Mon, 10 Dec 2007 17:42:07 +0000 (18:42 +0100)]
r26385: Integrate gensec-socket into gensec.

16 years agor26384: Fix another global_loadparm instance.
Jelmer Vernooij [Mon, 10 Dec 2007 17:42:04 +0000 (18:42 +0100)]
r26384: Fix another global_loadparm instance.

16 years agor26383: Make interfaces argument explicit.
Jelmer Vernooij [Mon, 10 Dec 2007 17:42:01 +0000 (18:42 +0100)]
r26383: Make interfaces argument explicit.

16 years agor26382: Remove more uses of global_loadparm.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:55 +0000 (18:41 +0100)]
r26382: Remove more uses of global_loadparm.

16 years agor26381: Move global_loadparm higher up the call stack.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:45 +0000 (18:41 +0100)]
r26381: Move global_loadparm higher up the call stack.

16 years agor26380: Specify port number higher up the call stack.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:41 +0000 (18:41 +0100)]
r26380: Specify port number higher up the call stack.

16 years agor26379: Remove more global_loadparm instances.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:38 +0000 (18:41 +0100)]
r26379: Remove more global_loadparm instances.

16 years agor26378: Remove use of global_loadparm.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:33 +0000 (18:41 +0100)]
r26378: Remove use of global_loadparm.

16 years agor26377: Specify port explicitly.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:29 +0000 (18:41 +0100)]
r26377: Specify port explicitly.

16 years agor26376: Add context for libcli_resolve.
Jelmer Vernooij [Mon, 10 Dec 2007 17:41:19 +0000 (18:41 +0100)]
r26376: Add context for libcli_resolve.

16 years agor26375: Move provision-independent utility function to main samba python module.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:45 +0000 (10:29 +0100)]
r26375: Move provision-independent utility function to main samba python module.

16 years agor26374: Remove dependency on dynconfig.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:42 +0000 (10:29 +0100)]
r26374: Remove dependency on dynconfig.

16 years agor26373: add note about shared libs being problematic with static data.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:38 +0000 (10:29 +0100)]
r26373: add note about shared libs being problematic with static data.

16 years agor26372: Add include for external users.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:35 +0000 (10:29 +0100)]
r26372: Add include for external users.

16 years agor26371: Fix typo.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:32 +0000 (10:29 +0100)]
r26371: Fix typo.

16 years agor26370: Import upgrade script in Python.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:26 +0000 (10:29 +0100)]
r26370: Import upgrade script in Python.

16 years agor26369: Start on tests for the upgrade python code.
Jelmer Vernooij [Mon, 10 Dec 2007 09:29:20 +0000 (10:29 +0100)]
r26369: Start on tests for the upgrade python code.

16 years agor26366: Import provision scripts in Python.
Jelmer Vernooij [Mon, 10 Dec 2007 08:29:00 +0000 (09:29 +0100)]
r26366: Import provision scripts in Python.

16 years agor26365: This will now be the alpha3 tree (once I release alpha2).
Andrew Bartlett [Mon, 10 Dec 2007 05:40:37 +0000 (06:40 +0100)]
r26365: This will now be the alpha3 tree (once I release alpha2).

Andrew Bartlett

16 years agor26362: Fix segfault in NET-API-DELSHARE torture test.
Andrew Bartlett [Mon, 10 Dec 2007 05:21:29 +0000 (06:21 +0100)]
r26362: Fix segfault in NET-API-DELSHARE torture test.

Andrew Bartlett

16 years agor26361: Ensure this test cannot proceed if the pipe connection failed.
Andrew Bartlett [Mon, 10 Dec 2007 04:45:41 +0000 (05:45 +0100)]
r26361: Ensure this test cannot proceed if the pipe connection failed.

Andrew Bartlett

16 years agor26360: Add some const.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:39 +0000 (04:33 +0100)]
r26360: Add some const.

16 years agor26359: Build .so version of wins ldb module.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:36 +0000 (04:33 +0100)]
r26359: Build .so version of wins ldb module.

16 years agor26358: Always specify TORTURE_OPTIONS to smbtorture.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:33 +0000 (04:33 +0100)]
r26358: Always specify TORTURE_OPTIONS to smbtorture.

16 years agor26357: Add separate subsystem for auth_sam_reply parsing.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:29 +0000 (04:33 +0100)]
r26357: Add separate subsystem for auth_sam_reply parsing.

16 years agor26356: Remove prototype for nonexisting function.
Jelmer Vernooij [Mon, 10 Dec 2007 03:33:26 +0000 (04:33 +0100)]
r26356: Remove prototype for nonexisting function.

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.