gd/samba-autobuild/.git
16 years agor26504: Don't rely on system-provided kerberos headers.
Jelmer Vernooij [Mon, 17 Dec 2007 10:12:42 +0000 (11:12 +0100)]
r26504: Don't rely on system-provided kerberos headers.

16 years agor26503: Change order of arguments in param interface so it's easier to make the
Jelmer Vernooij [Mon, 17 Dec 2007 10:12:36 +0000 (11:12 +0100)]
r26503: Change order of arguments in param interface so it's easier to make the

section name optional. Fix several smaller bits and pieces in the Python code.

16 years agor26502: Revert accidently removed pkg-config path change. Thanks to metze for catchin...
Jelmer Vernooij [Mon, 17 Dec 2007 10:12:26 +0000 (11:12 +0100)]
r26502: Revert accidently removed pkg-config path change. Thanks to metze for catching this.

16 years agor26500: README: Samba4 is not a technical preview anymore.
Kai Blin [Mon, 17 Dec 2007 09:24:26 +0000 (10:24 +0100)]
r26500: README: Samba4 is not a technical preview anymore.

Also, clean up some whitespace at the end of some lines that make my vim show
files in a funny colour.

16 years agor26499: Allow testing python provision by setting the PROVISION_PYTHON environment...
Jelmer Vernooij [Mon, 17 Dec 2007 07:36:39 +0000 (08:36 +0100)]
r26499: Allow testing python provision by setting the PROVISION_PYTHON environment variable.

16 years agor26498: Fix memory leak in iconv code.
Jelmer Vernooij [Mon, 17 Dec 2007 07:32:00 +0000 (08:32 +0100)]
r26498: Fix memory leak in iconv code.

16 years agor26497: Fix return type for freeifaddrs().
Jelmer Vernooij [Mon, 17 Dec 2007 07:20:29 +0000 (08:20 +0100)]
r26497: Fix return type for freeifaddrs().

16 years agor26496: Move some provision functions to a new SamDB class, support setting session_i...
Jelmer Vernooij [Mon, 17 Dec 2007 07:20:20 +0000 (08:20 +0100)]
r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.

16 years agor26495: Add defines for getifaddrs/freeifaddrs.
Jelmer Vernooij [Mon, 17 Dec 2007 06:45:05 +0000 (07:45 +0100)]
r26495: Add defines for getifaddrs/freeifaddrs.

16 years agor26494: Add entries for new header files.
Jelmer Vernooij [Mon, 17 Dec 2007 06:39:42 +0000 (07:39 +0100)]
r26494: Add entries for new header files.

16 years agor26493: Fix includes for dsdb/common.
Jelmer Vernooij [Mon, 17 Dec 2007 06:14:11 +0000 (07:14 +0100)]
r26493: Fix includes for dsdb/common.

16 years agor26492: Some hosts have a define called ifa_dstaddr.
Jelmer Vernooij [Mon, 17 Dec 2007 05:57:30 +0000 (06:57 +0100)]
r26492: Some hosts have a define called ifa_dstaddr.

16 years agor26491: Fix syntax.
Jelmer Vernooij [Mon, 17 Dec 2007 05:30:50 +0000 (06:30 +0100)]
r26491: Fix syntax.

16 years agor26488: Implement tests for the ranged_results module.
Andrew Bartlett [Mon, 17 Dec 2007 04:56:42 +0000 (05:56 +0100)]
r26488: Implement tests for the ranged_results module.

Untested code is broken code, so rework the module until it passes...

It turns out that AD puts search attributes onto the wire in the
reverse order to what Samba does.  This complicates exact value
matching, so this is skipped for now.

Andrew Bartlett

16 years agor26487: Cope with systems that don't have struct sockaddr.sa_len.
Jelmer Vernooij [Mon, 17 Dec 2007 04:53:37 +0000 (05:53 +0100)]
r26487: Cope with systems that don't have struct sockaddr.sa_len.

16 years agor26486: Use portable run-time library path environment variable.
Jelmer Vernooij [Mon, 17 Dec 2007 04:44:38 +0000 (05:44 +0100)]
r26486: Use portable run-time library path environment variable.

16 years agor26485: Fix indent, remove left-over debug.
Andrew Bartlett [Mon, 17 Dec 2007 04:19:48 +0000 (05:19 +0100)]
r26485: Fix indent, remove left-over debug.

Andrew Bartlett

16 years agor26484: Don't rely on removed header.
Jelmer Vernooij [Mon, 17 Dec 2007 03:56:54 +0000 (04:56 +0100)]
r26484: Don't rely on removed header.

16 years agor26483: Merge ldb module dependency fixes, fix auth python module.
Jelmer Vernooij [Mon, 17 Dec 2007 03:22:44 +0000 (04:22 +0100)]
r26483: Merge ldb module dependency fixes, fix auth python module.

16 years agor26482: Use shared library version of ldb, to make sure not every module ends up...
Jelmer Vernooij [Mon, 17 Dec 2007 03:22:36 +0000 (04:22 +0100)]
r26482: Use shared library version of ldb, to make sure not every module ends up with its own private copy of ldb with its own list of modules...

16 years agor26481: Make function for loading symbol from DSO more generic, and allow modules...
Jelmer Vernooij [Mon, 17 Dec 2007 02:35:59 +0000 (03:35 +0100)]
r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.

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

16 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

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

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

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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