jelmer/samba4-debian.git
16 years agor26528: dsdb: Fix a warning.
Kai Blin [Tue, 18 Dec 2007 21:50:49 +0000 (22:50 +0100)]
r26528: dsdb: Fix a warning.

16 years agor26527: Start on tests for provision.
Jelmer Vernooij [Tue, 18 Dec 2007 17:54:19 +0000 (18:54 +0100)]
r26527: Start on tests for provision.

16 years agor26526: Fix argument value.
Jelmer Vernooij [Tue, 18 Dec 2007 16:29:08 +0000 (17:29 +0100)]
r26526: Fix argument value.

16 years agor26525: Consistency in the API.
Jelmer Vernooij [Tue, 18 Dec 2007 16:21:24 +0000 (17:21 +0100)]
r26525: Consistency in the API.

16 years agor26524: Import self join.
Jelmer Vernooij [Tue, 18 Dec 2007 16:21:20 +0000 (17:21 +0100)]
r26524: Import self join.

16 years agor26523: Refactor provisioning code.
Jelmer Vernooij [Tue, 18 Dec 2007 16:21:13 +0000 (17:21 +0100)]
r26523: Refactor provisioning code.

16 years agor26522: Fix warnings on SamDB connect from Python, simplify the setup code for the...
Jelmer Vernooij [Tue, 18 Dec 2007 01:21:28 +0000 (02:21 +0100)]
r26522: Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.

16 years agor26521: Fix newlines.
Jelmer Vernooij [Tue, 18 Dec 2007 01:21:24 +0000 (02:21 +0100)]
r26521: Fix newlines.

16 years agor26520: More Python updates.
Jelmer Vernooij [Tue, 18 Dec 2007 01:21:14 +0000 (02:21 +0100)]
r26520: More Python updates.

16 years agor26519: Add libnet_GroupList function. Totally untested (yet), but
Rafal Szczesniak [Mon, 17 Dec 2007 23:59:21 +0000 (00:59 +0100)]
r26519: Add libnet_GroupList function. Totally untested (yet), but

it builds for start.

16 years agor26518: Fix provision of registry using Python.
Jelmer Vernooij [Mon, 17 Dec 2007 22:16:16 +0000 (23:16 +0100)]
r26518: Fix provision of registry using Python.

16 years agor26517: Add functions for setting and getting parameters on a LoadParm.
Jelmer Vernooij [Mon, 17 Dec 2007 22:16:12 +0000 (23:16 +0100)]
r26517: Add functions for setting and getting parameters on a LoadParm.

Pass loadparm context along to Ldb contexts.
Other minor Python improvements.

16 years agor26516: Fix line splitting in subunitrun.
Jelmer Vernooij [Mon, 17 Dec 2007 22:16:05 +0000 (23:16 +0100)]
r26516: Fix line splitting in subunitrun.

16 years agor26515: nsswitch: Get rid of a pstring
Kai Blin [Mon, 17 Dec 2007 21:49:36 +0000 (22:49 +0100)]
r26515: nsswitch: Get rid of a pstring

16 years agor26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Kai Blin [Mon, 17 Dec 2007 19:18:02 +0000 (20:18 +0100)]
r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.

Thanks to metze for pointing this out

16 years agor26513: Update substitution dictionary for ldifs.
Jelmer Vernooij [Mon, 17 Dec 2007 19:03:06 +0000 (20:03 +0100)]
r26513: Update substitution dictionary for ldifs.

16 years agor26512: Another attempt at fixing darwin
Jelmer Vernooij [Mon, 17 Dec 2007 18:18:55 +0000 (19:18 +0100)]
r26512: Another attempt at fixing darwin

16 years agor26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
Kai Blin [Mon, 17 Dec 2007 17:31:16 +0000 (18:31 +0100)]
r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v

While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.

16 years agor26510: attempt to fix shld flags for darwin.
Jelmer Vernooij [Mon, 17 Dec 2007 16:40:57 +0000 (17:40 +0100)]
r26510: attempt to fix shld flags for darwin.

16 years agor26509: Don't make boolean options eat the next argument.
Jelmer Vernooij [Mon, 17 Dec 2007 12:21:29 +0000 (13:21 +0100)]
r26509: Don't make boolean options eat the next argument.

16 years agor26508: Tighter dependencies in an attempt to fix missing symbol errors on sun9.
Jelmer Vernooij [Mon, 17 Dec 2007 12:16:10 +0000 (13:16 +0100)]
r26508: Tighter dependencies in an attempt to fix missing symbol errors on sun9.

16 years agor26507: Fix function signature for freeifaddrs.
Jelmer Vernooij [Mon, 17 Dec 2007 11:27:59 +0000 (12:27 +0100)]
r26507: Fix function signature for freeifaddrs.

16 years agor26506: Start running (really trivial) tests for upgrade script.
Jelmer Vernooij [Mon, 17 Dec 2007 11:19:45 +0000 (12:19 +0100)]
r26506: Start running (really trivial) tests for upgrade script.

16 years agor26505: Add python bindings for some samdb-related functions, improve provisioning...
Jelmer Vernooij [Mon, 17 Dec 2007 11:07:51 +0000 (12:07 +0100)]
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.

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