metze/old/samba4-sync/samba4-sync.git/.git
16 years agor26602: Revert my previous commit as it only works with GNU make.
Jelmer Vernooij [Tue, 25 Dec 2007 17:34:07 +0000 (11:34 -0600)]
r26602: Revert my previous commit as it only works with GNU make.

16 years agor26601: Remove existing files to prevent errors.
Jelmer Vernooij [Tue, 25 Dec 2007 16:37:05 +0000 (10:37 -0600)]
r26601: Remove existing files to prevent errors.

16 years agor26600: Provide dir variable with current basedir in Makefile.
Jelmer Vernooij [Tue, 25 Dec 2007 16:37:02 +0000 (10:37 -0600)]
r26600: Provide dir variable with current basedir in Makefile.

16 years agor26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:58 +0000 (10:36 -0600)]
r26599: Attempt to also support provisioning using Python in the BECOME-DC test.

Not tested yet as the test it is part of has been disabled because it's broken.

16 years agor26598: Simplify the way Python tests are run.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:53 +0000 (10:36 -0600)]
r26598: Simplify the way Python tests are run.

16 years agor26597: Attempt to provide alternative for hosts that don't have python-config.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:50 +0000 (10:36 -0600)]
r26597: Attempt to provide alternative for hosts that don't have python-config.

16 years agor26596: Fixed upgrade.py.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:44 +0000 (10:36 -0600)]
r26596: Fixed upgrade.py.

Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.

16 years agor26595: Fix includes for hosts without gssapi as system header.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:39 +0000 (10:36 -0600)]
r26595: Fix includes for hosts without gssapi as system header.

16 years agor26594: Add right paths to the Python sys.path setting so we don't have to set magic...
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:36 +0000 (10:36 -0600)]
r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.

16 years agor26593: - More work on the python versions of samba3dump and the samba3sam tests.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:31 +0000 (10:36 -0600)]
r26593: - More work on the python versions of samba3dump and the samba3sam tests.

- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.

16 years agor26592: Finish fixing the samba3dump script.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:23 +0000 (10:36 -0600)]
r26592: Finish fixing the samba3dump script.

16 years agor26591: Get the first bits of samba3dump to work again.
Jelmer Vernooij [Mon, 24 Dec 2007 14:16:59 +0000 (08:16 -0600)]
r26591: Get the first bits of samba3dump to work again.

16 years agor26590: Parsing routines for the smbpasswd file and idmap database.
Jelmer Vernooij [Mon, 24 Dec 2007 14:16:40 +0000 (08:16 -0600)]
r26590: Parsing routines for the smbpasswd file and idmap database.

16 years agor26589: torture: Add non-const version of torture_tcase_add_simple_test
Kai Blin [Mon, 24 Dec 2007 13:06:57 +0000 (07:06 -0600)]
r26589: torture: Add non-const version of torture_tcase_add_simple_test

16 years agor26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Kai Blin [Mon, 24 Dec 2007 13:04:56 +0000 (07:04 -0600)]
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.

Also rename the corresponding wrap_ functions.

16 years agor26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and...
Jelmer Vernooij [Mon, 24 Dec 2007 13:04:33 +0000 (07:04 -0600)]
r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.

16 years agor26586: Rename fetch to get for consistency with the Python dictionary interface.
Jelmer Vernooij [Mon, 24 Dec 2007 13:04:13 +0000 (07:04 -0600)]
r26586: Rename fetch to get for consistency with the Python dictionary interface.

16 years agor26585: Fix samba3.python tests.
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:52 +0000 (05:02 -0600)]
r26585: Fix samba3.python tests.

16 years agor26584: Fix exception handling in ldb constructor.
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:45 +0000 (05:02 -0600)]
r26584: Fix exception handling in ldb constructor.

16 years agor26583: Throw a proper exception in the python code when tdb_open() fails, fix indent...
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:32 +0000 (05:02 -0600)]
r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.

16 years agor26582: Use the same swig flags everywhere.
Jelmer Vernooij [Mon, 24 Dec 2007 01:55:09 +0000 (19:55 -0600)]
r26582: Use the same swig flags everywhere.

16 years agor26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
Simo Sorce [Mon, 24 Dec 2007 01:38:37 +0000 (19:38 -0600)]
r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules

later on.

16 years agor26580: Include sentinel in build.h, in case the list is empty.
Jelmer Vernooij [Mon, 24 Dec 2007 01:28:22 +0000 (19:28 -0600)]
r26580: Include sentinel in build.h, in case the list is empty.

16 years agor26579: Fix the typo that breaks the code coverage build.
Jelmer Vernooij [Mon, 24 Dec 2007 00:35:40 +0000 (18:35 -0600)]
r26579: Fix the typo that breaks the code coverage build.

16 years agor26578: Ensure directory exists.
Jelmer Vernooij [Mon, 24 Dec 2007 00:13:57 +0000 (18:13 -0600)]
r26578: Ensure directory exists.

16 years agor26577: Fix the standalone ldb build.
Jelmer Vernooij [Mon, 24 Dec 2007 00:10:08 +0000 (18:10 -0600)]
r26577: Fix the standalone ldb build.

16 years agor26576: Allow the static module loading code to be used for the Python modules.
Jelmer Vernooij [Sun, 23 Dec 2007 23:54:30 +0000 (17:54 -0600)]
r26576: Allow the static module loading code to be used for the Python modules.

Simplify the way module initialization functions are handled.

16 years agor26575: Build a private copy of the Python executable for Samba 4, so we know we...
Jelmer Vernooij [Sun, 23 Dec 2007 22:06:29 +0000 (16:06 -0600)]
r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.

16 years agor26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
Simo Sorce [Sun, 23 Dec 2007 22:03:31 +0000 (16:03 -0600)]
r26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,

and also makes code more readable and debuggable.

Eliminate silly parenthesys.

Simo.

16 years agor26573: Fix warnings.
Jelmer Vernooij [Sun, 23 Dec 2007 21:27:58 +0000 (15:27 -0600)]
r26573: Fix warnings.

16 years agor26572: Fix warnings in the Python code.
Jelmer Vernooij [Sun, 23 Dec 2007 20:56:41 +0000 (14:56 -0600)]
r26572: Fix warnings in the Python code.

16 years agor26571: Hide warnings about unused macros and casting qualifiers in autogenerated...
Jelmer Vernooij [Sun, 23 Dec 2007 20:22:46 +0000 (14:22 -0600)]
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.

16 years agor26570: - Trim size of the swig-generated Python bindings by removing a bunch of...
Jelmer Vernooij [Sun, 23 Dec 2007 19:19:41 +0000 (13:19 -0600)]
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.

- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.

16 years agor26569: Jelmer tells me that ldb must inevitably be build as a shared library,
Volker Lendecke [Sun, 23 Dec 2007 16:05:05 +0000 (10:05 -0600)]
r26569: Jelmer tells me that ldb must inevitably be build as a shared library,

otherwise it will break.

Sorry for breaking Samba4.

I will have to look how we can fix Samba3 :-(((

16 years agor26568: Revert r26482
Volker Lendecke [Sun, 23 Dec 2007 15:57:58 +0000 (09:57 -0600)]
r26568: Revert r26482

Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker

16 years agor26567: Allow registering new ldb modules from python.
Jelmer Vernooij [Sat, 22 Dec 2007 14:28:45 +0000 (08:28 -0600)]
r26567: Allow registering new ldb modules from python.

16 years agor26566: Fix member provision when using python.
Jelmer Vernooij [Sat, 22 Dec 2007 05:11:21 +0000 (23:11 -0600)]
r26566: Fix member provision when using python.

16 years agor26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
Jelmer Vernooij [Sat, 22 Dec 2007 05:03:02 +0000 (23:03 -0600)]
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.

16 years agor26564: More python bindings for registry code.
Jelmer Vernooij [Sat, 22 Dec 2007 05:02:57 +0000 (23:02 -0600)]
r26564: More python bindings for registry code.

16 years agor26563: Fix reg_diff_apply argument order.
Jelmer Vernooij [Sat, 22 Dec 2007 05:02:48 +0000 (23:02 -0600)]
r26563: Fix reg_diff_apply argument order.

16 years agor26562: Fix provisioning using Python.
Jelmer Vernooij [Sat, 22 Dec 2007 02:26:38 +0000 (20:26 -0600)]
r26562: Fix provisioning using Python.

16 years agor26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:48 +0000 (18:47 -0600)]
r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.

16 years agor26560: Add script for running in valgrind.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:44 +0000 (18:47 -0600)]
r26560: Add script for running in valgrind.

16 years agor26559: Make the provision function a bit smaller.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:36 +0000 (18:47 -0600)]
r26559: Make the provision function a bit smaller.

16 years agor26558: Add IDL for netr_GetForestTrustInformation().
Günther Deschner [Fri, 21 Dec 2007 23:52:14 +0000 (17:52 -0600)]
r26558: Add IDL for netr_GetForestTrustInformation().

Guenther

16 years agor26557: sync WHATSNEW with release branch of Samba4
Andrew Bartlett [Fri, 21 Dec 2007 22:55:02 +0000 (16:55 -0600)]
r26557: sync WHATSNEW with release branch of Samba4

16 years agor26556: Make Fedora DS consistant use FEDORA_DS_ROOT, now we use OPENLDAP_ROOT.
Andrew Bartlett [Fri, 21 Dec 2007 02:33:43 +0000 (20:33 -0600)]
r26556: Make Fedora DS consistant use FEDORA_DS_ROOT, now we use OPENLDAP_ROOT.

Add in another varient to test with in the OpenLDAP module-guessing
game, from Howard Chu.

Andrew Bartlett

16 years agor26555: Use python-config utility to find python compile/link flags.
Jelmer Vernooij [Fri, 21 Dec 2007 00:36:17 +0000 (18:36 -0600)]
r26555: Use python-config utility to find python compile/link flags.

16 years agor26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
Jelmer Vernooij [Thu, 20 Dec 2007 17:07:31 +0000 (11:07 -0600)]
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.

16 years agor26553: Fix html output.
Jelmer Vernooij [Thu, 20 Dec 2007 17:07:28 +0000 (11:07 -0600)]
r26553: Fix html output.

16 years agor26552: remove unused state variable, use dot as path separator for test names.
Jelmer Vernooij [Thu, 20 Dec 2007 17:07:21 +0000 (11:07 -0600)]
r26552: remove unused state variable, use dot as path separator for test names.

16 years agor26551: Make sure NULL is defined before using it to test for getifaddrs().
James Peach [Thu, 20 Dec 2007 16:35:42 +0000 (10:35 -0600)]
r26551: Make sure NULL is defined before using it to test for getifaddrs().

Patch from Timur I. Bakeyev <timur@com.bat.ru>.

16 years agor26550: libreplace: fallback to __ss_family of struct sockaddr_storage
Stefan Metzmacher [Thu, 20 Dec 2007 15:59:39 +0000 (09:59 -0600)]
r26550: libreplace: fallback to __ss_family of struct sockaddr_storage

metze

16 years agor26549: Remove suite-specific bits.
Jelmer Vernooij [Thu, 20 Dec 2007 15:54:08 +0000 (09:54 -0600)]
r26549: Remove suite-specific bits.

16 years agor26548: Remove remaining variables from state hash.
Jelmer Vernooij [Thu, 20 Dec 2007 15:54:05 +0000 (09:54 -0600)]
r26548: Remove remaining variables from state hash.

16 years agor26547: Make testsuites less special during subunit handling.
Jelmer Vernooij [Thu, 20 Dec 2007 15:54:02 +0000 (09:54 -0600)]
r26547: Make testsuites less special during subunit handling.

16 years agor26546: Rather than having a gazillion targets, add output format variable for 'make...
Jelmer Vernooij [Thu, 20 Dec 2007 15:54:00 +0000 (09:54 -0600)]
r26546: Rather than having a gazillion targets, add output format variable for 'make test'.

16 years agor26545: Sync output with ejs.
Jelmer Vernooij [Thu, 20 Dec 2007 15:53:56 +0000 (09:53 -0600)]
r26545: Sync output with ejs.

16 years agor26540: Revert my previous commit after concerns raised by Andrew.
Jelmer Vernooij [Thu, 20 Dec 2007 00:02:15 +0000 (18:02 -0600)]
r26540: Revert my previous commit after concerns raised by Andrew.

16 years agor26539: Remove unnecessary statics.
Jelmer Vernooij [Wed, 19 Dec 2007 23:27:42 +0000 (17:27 -0600)]
r26539: Remove unnecessary statics.

16 years agor26538: Pass path generation function around rather than base directory.
Jelmer Vernooij [Wed, 19 Dec 2007 23:27:38 +0000 (17:27 -0600)]
r26538: Pass path generation function around rather than base directory.

16 years agor26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).
Jelmer Vernooij [Wed, 19 Dec 2007 23:27:34 +0000 (17:27 -0600)]
r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).

16 years agor26536: More tests for provisioning code.
Jelmer Vernooij [Wed, 19 Dec 2007 23:27:31 +0000 (17:27 -0600)]
r26536: More tests for provisioning code.

16 years agor26535: Get rid of all-knowing ProvisionSettings object.
Jelmer Vernooij [Wed, 19 Dec 2007 23:27:24 +0000 (17:27 -0600)]
r26535: Get rid of all-knowing ProvisionSettings object.

16 years agor26534: configure: using == in shell scripts isn't portable
Stefan Metzmacher [Wed, 19 Dec 2007 11:34:36 +0000 (05:34 -0600)]
r26534: configure: using == in shell scripts isn't portable

Thanks to Björn Jacke <bj@sernet.de> for reporting this.

metze

16 years agor26533: libreplace: hopefully fix the share library/module build on darwin
Stefan Metzmacher [Wed, 19 Dec 2007 08:18:57 +0000 (02:18 -0600)]
r26533: libreplace: hopefully fix the share library/module build on darwin

metze

16 years agor26532: Fix mistake in assignment.
Rafal Szczesniak [Wed, 19 Dec 2007 00:46:43 +0000 (18:46 -0600)]
r26532: Fix mistake in assignment.

16 years agor26531: Prevent from displaying the results if the function
Rafal Szczesniak [Wed, 19 Dec 2007 00:45:07 +0000 (18:45 -0600)]
r26531: Prevent from displaying the results if the function

call has failed.

16 years agor26530: Add NET-API-GROUPLIST test.
Rafal Szczesniak [Wed, 19 Dec 2007 00:44:01 +0000 (18:44 -0600)]
r26530: Add NET-API-GROUPLIST test.

16 years agor26529: Indeed, this belongs in the schema module. Ranged results need to use
Andrew Bartlett [Wed, 19 Dec 2007 00:39:27 +0000 (18:39 -0600)]
r26529: Indeed, this belongs in the schema module. Ranged results need to use

an attribute with ';' in the name.

Andrew Bartlett

16 years agor26528: dsdb: Fix a warning.
Kai Blin [Tue, 18 Dec 2007 22:50:49 +0000 (16:50 -0600)]
r26528: dsdb: Fix a warning.

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

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

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

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

16 years agor26523: Refactor provisioning code.
Jelmer Vernooij [Tue, 18 Dec 2007 17:21:13 +0000 (11:21 -0600)]
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 02:21:28 +0000 (20:21 -0600)]
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 02:21:24 +0000 (20:21 -0600)]
r26521: Fix newlines.

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

16 years agor26519: Add libnet_GroupList function. Totally untested (yet), but
Rafal Szczesniak [Tue, 18 Dec 2007 00:59:21 +0000 (18:59 -0600)]
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 23:16:16 +0000 (17:16 -0600)]
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 23:16:12 +0000 (17:16 -0600)]
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 23:16:05 +0000 (17:16 -0600)]
r26516: Fix line splitting in subunitrun.

16 years agor26515: nsswitch: Get rid of a pstring
Kai Blin [Mon, 17 Dec 2007 22:49:36 +0000 (16:49 -0600)]
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 20:18:02 +0000 (14:18 -0600)]
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 20:03:06 +0000 (14:03 -0600)]
r26513: Update substitution dictionary for ldifs.

16 years agor26512: Another attempt at fixing darwin
Jelmer Vernooij [Mon, 17 Dec 2007 19:18:55 +0000 (13:18 -0600)]
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 18:31:16 +0000 (12:31 -0600)]
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 17:40:57 +0000 (11:40 -0600)]
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 13:21:29 +0000 (07:21 -0600)]
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 13:16:10 +0000 (07:16 -0600)]
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 12:27:59 +0000 (06:27 -0600)]
r26507: Fix function signature for freeifaddrs.

16 years agor26506: Start running (really trivial) tests for upgrade script.
Jelmer Vernooij [Mon, 17 Dec 2007 12:19:45 +0000 (06:19 -0600)]
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 12:07:51 +0000 (06:07 -0600)]
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 11:12:42 +0000 (05:12 -0600)]
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 11:12:36 +0000 (05:12 -0600)]
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 11:12:26 +0000 (05:12 -0600)]
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 10:24:26 +0000 (04:24 -0600)]
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 08:36:39 +0000 (02:36 -0600)]
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 08:32:00 +0000 (02:32 -0600)]
r26498: Fix memory leak in iconv code.