ira/wip.git
14 years agor26604: Don't depend on Python just yet, since the code that uses it is ifdeffed...
Jelmer Vernooij [Wed, 26 Dec 2007 10:04:23 +0000 (04:04 -0600)]
r26604: Don't depend on Python just yet, since the code that uses it is ifdeffed out.

14 years agor26603: Don't install no longer available upgrade script.
Jelmer Vernooij [Wed, 26 Dec 2007 03:14:06 +0000 (21:14 -0600)]
r26603: Don't install no longer available upgrade script.

14 years agor26602: Revert my previous commit as it only works with GNU make.
Jelmer Vernooij [Tue, 25 Dec 2007 23:34:07 +0000 (17:34 -0600)]
r26602: Revert my previous commit as it only works with GNU make.

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

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

14 years agor26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Jelmer Vernooij [Tue, 25 Dec 2007 22:36:58 +0000 (16: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.

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

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

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

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

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

14 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 22:36:36 +0000 (16: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.

14 years agor26593: - More work on the python versions of samba3dump and the samba3sam tests.
Jelmer Vernooij [Tue, 25 Dec 2007 22:36:31 +0000 (16: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.

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

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

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

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

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

Also rename the corresponding wrap_ functions.

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

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

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

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

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

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

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

later on.

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

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

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

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

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

Simplify the way module initialization functions are handled.

14 years agor26575: Build a private copy of the Python executable for Samba 4, so we know we...
Jelmer Vernooij [Mon, 24 Dec 2007 04:06:29 +0000 (22: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.

14 years agor26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
Simo Sorce [Mon, 24 Dec 2007 04:03:31 +0000 (22: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.

14 years agor26573: Fix warnings.
Jelmer Vernooij [Mon, 24 Dec 2007 03:27:58 +0000 (21:27 -0600)]
r26573: Fix warnings.

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

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

14 years agor26570: - Trim size of the swig-generated Python bindings by removing a bunch of...
Jelmer Vernooij [Mon, 24 Dec 2007 01:19:41 +0000 (19: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.

14 years agor26569: Jelmer tells me that ldb must inevitably be build as a shared library,
Volker Lendecke [Sun, 23 Dec 2007 22:05:05 +0000 (16: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 :-(((

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

Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker

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

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

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

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

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

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

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

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

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

14 years agor26558: Add IDL for netr_GetForestTrustInformation().
Günther Deschner [Sat, 22 Dec 2007 05:52:14 +0000 (23:52 -0600)]
r26558: Add IDL for netr_GetForestTrustInformation().

Guenther

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

14 years agor26556: Make Fedora DS consistant use FEDORA_DS_ROOT, now we use OPENLDAP_ROOT.
Andrew Bartlett [Fri, 21 Dec 2007 08:33:43 +0000 (02: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

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

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

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

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

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

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

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

metze

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

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

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

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

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

14 years agoMerge commit 'release-4-0-0alpha2' into v4-0-test
Stefan Metzmacher [Fri, 21 Dec 2007 05:28:08 +0000 (06:28 +0100)]
Merge commit 'release-4-0-0alpha2' into v4-0-test

14 years agor26541: Mark this as the release samba-4.0.0alpha2
Andrew Bartlett [Thu, 20 Dec 2007 02:44:06 +0000 (03:44 +0100)]
r26541: Mark this as the release

14 years agor26501: Merge kblin's updated README
Andrew Bartlett [Mon, 17 Dec 2007 09:26:56 +0000 (10:26 +0100)]
r26501: Merge kblin's updated README

Andrew Bartlett

14 years agor26490: Update WHATSNEW. Unless some fancy new words arive soon, this is what
Andrew Bartlett [Mon, 17 Dec 2007 05:03:53 +0000 (06:03 +0100)]
r26490: Update WHATSNEW. Unless some fancy new words arive soon, this is what

we will put out...

Andrew Bartlett

14 years agor26489: Merge fixed ranged results module to release branch.
Andrew Bartlett [Mon, 17 Dec 2007 05:02:54 +0000 (06:02 +0100)]
r26489: Merge fixed ranged results module to release branch.

This is the last blocker for the release that I know of.

Andrew Bartlett

14 years agor26478: Update versions, fix typo.
Jelmer Vernooij [Mon, 17 Dec 2007 00:03:08 +0000 (01:03 +0100)]
r26478: Update versions, fix typo.

14 years agor26390: Start on a WHATSNEW for the alpah2 release.
Andrew Bartlett [Tue, 11 Dec 2007 01:53:40 +0000 (02:53 +0100)]
r26390: Start on a WHATSNEW for the alpah2 release.

Andrew Bartlett

14 years agor26388: Fix up SWAT provision (again...), after changes I made to the
Andrew Bartlett [Tue, 11 Dec 2007 01:09:37 +0000 (02:09 +0100)]
r26388: Fix up SWAT provision (again...), after changes I made to the

command-line version a while back.

Andrew Bartlett

14 years agor26387: Merge logfile segfault into alpha2 branch.
Andrew Bartlett [Mon, 10 Dec 2007 23:23:08 +0000 (00:23 +0100)]
r26387: Merge logfile segfault into alpha2 branch.

Andrew Bartlett

14 years agor26364: Branch Samba 4.0 for an alpha2 release.
Andrew Bartlett [Mon, 10 Dec 2007 05:39:42 +0000 (06:39 +0100)]
r26364: Branch Samba 4.0 for an alpha2 release.

Andrew Bartlett

14 years agor26540: Revert my previous commit after concerns raised by Andrew.
Jelmer Vernooij [Wed, 19 Dec 2007 23:02:15 +0000 (00:02 +0100)]
r26540: Revert my previous commit after concerns raised by Andrew.

14 years agor26539: Remove unnecessary statics.
Jelmer Vernooij [Wed, 19 Dec 2007 22:27:42 +0000 (23:27 +0100)]
r26539: Remove unnecessary statics.

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

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

14 years agor26536: More tests for provisioning code.
Jelmer Vernooij [Wed, 19 Dec 2007 22:27:31 +0000 (23:27 +0100)]
r26536: More tests for provisioning code.

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

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

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

metze

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

metze

14 years agor26532: Fix mistake in assignment.
Rafal Szczesniak [Tue, 18 Dec 2007 23:46:43 +0000 (00:46 +0100)]
r26532: Fix mistake in assignment.

14 years agor26531: Prevent from displaying the results if the function
Rafal Szczesniak [Tue, 18 Dec 2007 23:45:07 +0000 (00:45 +0100)]
r26531: Prevent from displaying the results if the function

call has failed.

14 years agor26530: Add NET-API-GROUPLIST test.
Rafal Szczesniak [Tue, 18 Dec 2007 23:44:01 +0000 (00:44 +0100)]
r26530: Add NET-API-GROUPLIST test.

14 years agor26529: Indeed, this belongs in the schema module. Ranged results need to use
Andrew Bartlett [Tue, 18 Dec 2007 23:39:27 +0000 (00:39 +0100)]
r26529: Indeed, this belongs in the schema module. Ranged results need to use

an attribute with ';' in the name.

Andrew Bartlett

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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

14 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

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

14 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

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