jelmer/samba4-debian.git
11 years agor26462: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:38 +0000 (22:23 +0100)]
r26462: Tighten dependencies.

11 years agor26461: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:36 +0000 (22:23 +0100)]
r26461: Tighten dependencies.

11 years agor26460: Enable ldb python tests.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:30 +0000 (22:23 +0100)]
r26460: Enable ldb python tests.

11 years agor26459: Build ildap module as shared module by default.
Jelmer Vernooij [Sat, 15 Dec 2007 19:53:45 +0000 (20:53 +0100)]
r26459: Build ildap module as shared module by default.

11 years agor26458: Janitorial: also free() var on continue.
Kai Blin [Fri, 14 Dec 2007 16:32:48 +0000 (17:32 +0100)]
r26458: Janitorial: also free() var on continue.

Spotted by metze.

11 years agor26457: Janitorial: Don't use pstring in tdb_unpack
Kai Blin [Fri, 14 Dec 2007 13:47:07 +0000 (14:47 +0100)]
r26457: Janitorial: Don't use pstring in tdb_unpack

11 years agor26456: Provide default config object, fix typo.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:21 +0000 (14:28 +0100)]
r26456: Provide default config object, fix typo.

11 years agor26455: Use new talloctype macro in generated SWIG code as well.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:16 +0000 (14:28 +0100)]
r26455: Use new talloctype macro in generated SWIG code as well.

11 years agor26454: Add simple SWIG macro for wrapping talloced types.
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:07 +0000 (14:28 +0100)]
r26454: Add simple SWIG macro for wrapping talloced types.

11 years agor26453: Janitorial: Don't use a static char[] in smb_readline_replacement.
Kai Blin [Fri, 14 Dec 2007 13:04:56 +0000 (14:04 +0100)]
r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.

Fix up callers to free the memory returned, as that is needed if we use the
original readline function as well.

11 years agor26452: Janitorial: Remove a pstring.
Kai Blin [Fri, 14 Dec 2007 09:46:35 +0000 (10:46 +0100)]
r26452: Janitorial: Remove a pstring.

11 years agor26451: Janitorial: fix warnings in lib/registry/
Kai Blin [Fri, 14 Dec 2007 09:38:26 +0000 (10:38 +0100)]
r26451: Janitorial: fix warnings in lib/registry/

This does not fix the discarded qualifier warnings in tests, as the test data
is currently passed as const. Jelmer wants to provide a test function that
passes non-const test data, thus allowing for a cleaner way to fix those
warnings.

11 years agor26450: The subprocess is only available in python >= 2.4 so avoid it for now.
Jelmer Vernooij [Fri, 14 Dec 2007 00:53:54 +0000 (01:53 +0100)]
r26450: The subprocess is only available in python >= 2.4 so avoid it for now.

11 years agor26449: Support configuration without a known configuration dir.
Jelmer Vernooij [Fri, 14 Dec 2007 00:46:25 +0000 (01:46 +0100)]
r26449: Support configuration without a known configuration dir.

11 years agor26448: Add basic tests for param python module.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:25 +0000 (01:26 +0100)]
r26448: Add basic tests for param python module.

11 years agor26447: Forgot to add param.i file.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:20 +0000 (01:26 +0100)]
r26447: Forgot to add param.i file.

11 years agor26446: Convert param module to SWIG.
Jelmer Vernooij [Fri, 14 Dec 2007 00:26:12 +0000 (01:26 +0100)]
r26446: Convert param module to SWIG.

11 years agor26445: Fix credentials python bindings.
Jelmer Vernooij [Thu, 13 Dec 2007 23:35:05 +0000 (00:35 +0100)]
r26445: Fix credentials python bindings.

11 years agor26444: Fix pidl tests.
Jelmer Vernooij [Thu, 13 Dec 2007 23:27:38 +0000 (00:27 +0100)]
r26444: Fix pidl tests.

11 years agor26443: Remove global_loadparm instances.
Jelmer Vernooij [Thu, 13 Dec 2007 23:27:31 +0000 (00:27 +0100)]
r26443: Remove global_loadparm instances.

11 years agor26442: Remove use of global_loadparm.
Jelmer Vernooij [Thu, 13 Dec 2007 22:23:31 +0000 (23:23 +0100)]
r26442: Remove use of global_loadparm.

11 years agor26441: Remove global_loadparm uses.
Jelmer Vernooij [Thu, 13 Dec 2007 22:23:25 +0000 (23:23 +0100)]
r26441: Remove global_loadparm uses.

11 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.

11 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.

11 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.

11 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.

11 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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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.

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

11 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

11 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

11 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.

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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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).

11 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.

11 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.

11 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.

11 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.

11 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()

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

Guenther

11 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

11 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

11 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

11 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

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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.

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

11 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.

11 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.

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

11 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.

11 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.

11 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.

11 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

11 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

11 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

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

11 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.

11 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.

11 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.

11 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.