ira/wip.git
14 years agor26480: Add utility class for testing LDB code.
Jelmer Vernooij [Mon, 17 Dec 2007 02:25:28 +0000 (03:25 +0100)]
r26480: Add utility class for testing LDB code.

14 years agor26479: Further test behaviour of 'attribute or value exists'.
Andrew Bartlett [Mon, 17 Dec 2007 01:13:41 +0000 (02:13 +0100)]
r26479: Further test behaviour of 'attribute or value exists'.

Andrew Bartlett

14 years agor26477: Allow setting loadparm context for a ldb context in python, plus some other...
Jelmer Vernooij [Sun, 16 Dec 2007 16:17:37 +0000 (17:17 +0100)]
r26477: Allow setting loadparm context for a ldb context in python, plus some other minor improvements.

14 years agor26476: Remove unnecessary hack.
Jelmer Vernooij [Sun, 16 Dec 2007 15:19:43 +0000 (16:19 +0100)]
r26476: Remove unnecessary hack.

14 years agor26475: Add ldb.set_credentials function.
Jelmer Vernooij [Sun, 16 Dec 2007 14:50:02 +0000 (15:50 +0100)]
r26475: Add ldb.set_credentials function.

14 years agor26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missi...
Jelmer Vernooij [Sun, 16 Dec 2007 14:33:58 +0000 (15:33 +0100)]
r26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missing symbols in some of the python bindings.

14 years agor26471: Sync with js version.
Jelmer Vernooij [Sun, 16 Dec 2007 13:50:18 +0000 (14:50 +0100)]
r26471: Sync with js version.

14 years agor26470: Update README.
Jelmer Vernooij [Sun, 16 Dec 2007 13:50:11 +0000 (14:50 +0100)]
r26470: Update README.

14 years agor26469: Fix paths, only include IPv4 addresses for now.
Jelmer Vernooij [Sun, 16 Dec 2007 02:22:13 +0000 (03:22 +0100)]
r26469: Fix paths, only include IPv4 addresses for now.

14 years agor26468: Match getifaddrs more closely, add trivial test.
Jelmer Vernooij [Sun, 16 Dec 2007 01:49:52 +0000 (02:49 +0100)]
r26468: Match getifaddrs more closely, add trivial test.

14 years agor26467: Use getifaddrs() for interface enumeration and provide replacements for platf...
Jelmer Vernooij [Sun, 16 Dec 2007 01:39:01 +0000 (02:39 +0100)]
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.

14 years agor26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
Kai Blin [Sat, 15 Dec 2007 22:16:43 +0000 (23:16 +0100)]
r26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c

14 years agor26465: ntlm_auth: Remoce pstring.
Kai Blin [Sat, 15 Dec 2007 22:15:18 +0000 (23:15 +0100)]
r26465: ntlm_auth: Remoce pstring.

14 years agor26464: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:45 +0000 (22:23 +0100)]
r26464: Tighten dependencies.

14 years agor26463: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:42 +0000 (22:23 +0100)]
r26463: Tighten dependencies.

14 years agor26462: Tighten dependencies.
Jelmer Vernooij [Sat, 15 Dec 2007 21:23:38 +0000 (22:23 +0100)]
r26462: Tighten dependencies.

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

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

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

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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

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

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

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

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

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

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

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

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Guenther

14 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

14 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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

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