14 years agor26649: Only claim to be a PDC if we are a PDC.
Andrew Bartlett [Thu, 3 Jan 2008 12:00:38 +0000 (06:00 -0600)]
r26649: Only claim to be a PDC if we are a PDC.

Andrew Bartlett
(This used to be commit fc5746ae95e5a0b751ec19cae1f204c505f4ca27)

14 years agor26648: Move detection of global catalog captability to a central function, so
Andrew Bartlett [Thu, 3 Jan 2008 10:40:24 +0000 (04:40 -0600)]
r26648: Move detection of global catalog captability to a central function, so

this can be shared with the CLDAP server (for the netlogon reply).

Andrew Bartlett
(This used to be commit 592c10ae11c94007e38404a7edea9fd8471f1907)

14 years agor26647: Mark 'valgrind_run' as executable
Andrew Bartlett [Thu, 3 Jan 2008 09:31:14 +0000 (03:31 -0600)]
r26647: Mark 'valgrind_run' as executable
(This used to be commit d00b87caffdcf8af40054d3325197040cc75b6eb)

14 years agor26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connec...
Jelmer Vernooij [Thu, 3 Jan 2008 00:39:15 +0000 (18:39 -0600)]
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
(This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)

14 years agor26645: Janitorial: Fix a couple of warnings.
Jelmer Vernooij [Thu, 3 Jan 2008 00:39:11 +0000 (18:39 -0600)]
r26645: Janitorial: Fix a couple of warnings.
(This used to be commit a2bc97e8b01ecee48be60823cb19b4e794fb8f93)

14 years agor26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should...
Jelmer Vernooij [Thu, 3 Jan 2008 00:39:01 +0000 (18:39 -0600)]
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
(This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)

14 years agor26643: librpc: Remove uses of global_loadparm.
Jelmer Vernooij [Wed, 2 Jan 2008 21:00:58 +0000 (15:00 -0600)]
r26643: librpc: Remove uses of global_loadparm.
(This used to be commit 924c0890904266af8f50f69a25f89d36f971d710)

14 years agor26642: Remove more EJS-specific code.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:31 +0000 (01:52 -0600)]
r26642: Remove more EJS-specific code.
(This used to be commit 7d14b657b3d59924b15f4f84bbd5745cd7f759ef)

14 years agor26641: ldb(Python): Remove some unnecessary {}'s.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:26 +0000 (01:52 -0600)]
r26641: ldb(Python): Remove some unnecessary {}'s.
(This used to be commit f250bc18e9e32d62d262901cec65586a15cd8db1)

14 years agor26640: Janitorial: Remove some more uses of global_loadparm.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:18 +0000 (01:52 -0600)]
r26640: Janitorial: Remove some more uses of global_loadparm.
(This used to be commit c863f4ebde8efa1a695b4469142d6719e30bc419)

14 years agor26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so...
Jelmer Vernooij [Wed, 2 Jan 2008 04:05:13 +0000 (22:05 -0600)]
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)

14 years agor26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_b...
Jelmer Vernooij [Wed, 2 Jan 2008 04:05:05 +0000 (22:05 -0600)]
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
(This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)

14 years agor26637: More work converting to Python.
Jelmer Vernooij [Wed, 2 Jan 2008 04:04:57 +0000 (22:04 -0600)]
r26637: More work converting to Python.
(This used to be commit 84f1e82d8fe5ecca75e2d7048d1b8b409abcb9b7)

14 years agor26636: Remove useless 'backend' parameter, and make the memberof overlay use global.
Andrew Bartlett [Tue, 1 Jan 2008 10:01:07 +0000 (04:01 -0600)]
r26636: Remove useless 'backend' parameter, and make the memberof overlay use global.

Andrew Bartlett
(This used to be commit 3b6f461e9a1b0fee7a589b8d171f4fcec6340ca4)

14 years agor26635: The OpenLDAP folks have been very accommodating, and their memberof plugin...
Andrew Bartlett [Tue, 1 Jan 2008 09:27:53 +0000 (03:27 -0600)]
r26635: The OpenLDAP folks have been very accommodating, and their memberof plugin allows the error being returned to be adjusted.

Andrew Bartlett
(This used to be commit f2731fddf07dfda5d69ad19851dab8f82b05f1a5)

14 years agor26634: Add NET-API-CREATEGROUP test.
Rafal Szczesniak [Mon, 31 Dec 2007 01:18:17 +0000 (19:18 -0600)]
r26634: Add NET-API-CREATEGROUP test.
(This used to be commit 3d7a18b8231a98ac40bcfb8287b100209190beab)

14 years agor26633: A couple of fixes in comments.
Rafal Szczesniak [Mon, 31 Dec 2007 01:14:43 +0000 (19:14 -0600)]
r26633: A couple of fixes in comments.
(This used to be commit 9ff6568f9563bf72d11bf437fb6718e6fafe1824)

14 years agor26632: Add libnet_CreateGroup function.
Rafal Szczesniak [Mon, 31 Dec 2007 01:13:50 +0000 (19:13 -0600)]
r26632: Add libnet_CreateGroup function.
(This used to be commit b8e115a920cfbbb0eb0d98d880734912242b851c)

14 years agor26631: ldb/python: Fix missing elements bug and memory leak. * Don't increase the...
Jelmer Vernooij [Sun, 30 Dec 2007 22:46:14 +0000 (16:46 -0600)]
r26631: ldb/python: Fix missing elements bug and memory leak. * Don't increase the PyDict_Next() counter - Python already does that for us. * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message elements.
(This used to be commit dc2a612927289da78017abf4ad51a4d51292e3a1)

14 years agor26630: Split up big tests into various smaller functions, making it easier to debug.
Jelmer Vernooij [Sun, 30 Dec 2007 22:46:05 +0000 (16:46 -0600)]
r26630: Split up big tests into various smaller functions, making it easier to debug.
(This used to be commit 4be116133724ac52f9df8adb3feeb93ea616a990)

14 years agor26629: python: Improve documentation in various places.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:18 +0000 (18:14 -0600)]
r26629: python: Improve documentation in various places.
(This used to be commit ee71a27bca66426d34cb1d686a83ac6a342329d3)

14 years agor26628: python: Add more documentation, simplify code in Samba3 module.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:15 +0000 (18:14 -0600)]
r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)

14 years agor26627: param: Provide a call for loading the system smb.conf.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:12 +0000 (18:14 -0600)]
r26627: param: Provide a call for loading the system smb.conf.
(This used to be commit 2596b479abc8e0d1c064e1d191f2d1c894252f3d)

14 years agor26626: Install auth/session.h
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:04 +0000 (18:14 -0600)]
r26626: Install auth/session.h
(This used to be commit 57bf390068d36d85819dac561bdf1224db5c071b)

14 years agor26625: Wrap some more events functions for Python and add a trivial test for it.
Jelmer Vernooij [Fri, 28 Dec 2007 22:55:45 +0000 (16:55 -0600)]
r26625: Wrap some more events functions for Python and add a trivial test for it.
(This used to be commit 7873666a958a0b92c979dba93f3c3e5136e28d29)

14 years agor26624: libnet/python: Use standard function for constructing context, allow overridi...
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:27 +0000 (16:25 -0600)]
r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
(This used to be commit a5fb3caedefaf5387e3a384d060272f11a3b4b99)

14 years agor26623: python: Allow specifying URL rather than host name on the command-line.
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:20 +0000 (16:25 -0600)]
r26623: python: Allow specifying URL rather than host name on the command-line.
(This used to be commit 108f6caffe2bb311495b89659cfd818f0ec410f2)

14 years agor26622: python: Update license version, clarify copyright.
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:17 +0000 (16:25 -0600)]
r26622: python: Update license version, clarify copyright.
(This used to be commit 3ee62094074d74b6c69948730f2892f0a430f40b)

14 years agor26621: vampire: Add simple Python-based vampire script
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:13 +0000 (16:25 -0600)]
r26621: vampire: Add simple Python-based vampire script
(This used to be commit 46580d51d3e40ef83754fceefa392fe1df38e37d)

14 years agor26620: python: Allow not specifying event contexts, in which case a new context...
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:05 +0000 (16:25 -0600)]
r26620: python: Allow not specifying event contexts, in which case a new context is used.
(This used to be commit 73c0b1c89763ba61451f3d2a602163090780c56f)

14 years agor26619: Add Python bindings for libnet. No tests yet and no way to set the parameters...
Jelmer Vernooij [Fri, 28 Dec 2007 21:37:03 +0000 (15:37 -0600)]
r26619: Add Python bindings for libnet. No tests yet and no way to set the parameters...
(This used to be commit 9de0a153e99764583b33fc5d58118296db820653)

14 years agor26618: Implement -W option support.
Jelmer Vernooij [Fri, 28 Dec 2007 21:36:55 +0000 (15:36 -0600)]
r26618: Implement -W option support.
(This used to be commit e48026b17d682c01eb3343ef35f6e847b18fa297)

14 years agor26617: Load smb.conf.
Jelmer Vernooij [Fri, 28 Dec 2007 05:32:05 +0000 (23:32 -0600)]
r26617: Load smb.conf.
(This used to be commit 3f7bfef195421083f1401a73f60c5d270a1455f8)

14 years agor26616: Support parsing of user data in SAmba 3 tdbsam.
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:59 +0000 (23:31 -0600)]
r26616: Support parsing of user data in SAmba 3 tdbsam.
(This used to be commit 2f33e0451d6699fed8bc9abfa2f331317502b358)

14 years agor26615: Fix Python syntax
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:54 +0000 (23:31 -0600)]
r26615: Fix Python syntax
(This used to be commit cc15136c1e29f0a25847568f748cc1af52b7037b)

14 years agor26614: Fix options parsing for credentials in Python.
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:42 +0000 (23:31 -0600)]
r26614: Fix options parsing for credentials in Python.
(This used to be commit 9ef3b7de6baadeb2240ef9d24c55be9dc4cccf1e)

14 years agor26613: Add a function to write a DATA_BLOB into an LDAPString.
Andrew Bartlett [Thu, 27 Dec 2007 13:47:11 +0000 (07:47 -0600)]
r26613: Add a function to write a DATA_BLOB into an LDAPString.

This respects the length set in the DATA_BLOB, rather than hoping to
see NULL termination of the data pointer.

(found testing the Ambigious Name Resolution code against OpenLDAP).

Andrew Bartlett
(This used to be commit bc0022e8c7357b126dc91a945f0e53e4e4108e7d)

14 years agor26612: Tests show that we don't need to use a callback.
Andrew Bartlett [Thu, 27 Dec 2007 13:45:22 +0000 (07:45 -0600)]
r26612: Tests show that we don't need to use a callback.

Andrew Bartlett
(This used to be commit 66cb9601e75935c35fb432655e840a0d9022cbe1)

14 years agor26611: Tridge didn't write this...
Andrew Bartlett [Thu, 27 Dec 2007 13:44:57 +0000 (07:44 -0600)]
r26611: Tridge didn't write this...

Andrew Bartlett
(This used to be commit 002ddc315fc03ea22083d9d8c87401073688fd29)

14 years agor26610: Write out a memberof.conf, to run the memberof plugin on all linked
Andrew Bartlett [Thu, 27 Dec 2007 10:18:54 +0000 (04:18 -0600)]
r26610: Write out a memberof.conf, to run the memberof plugin on all linked

attributes, as found in the schema.

Index 'cn', as otherwise exact match searches on this attribute always
fail (need to figure out what is so special about cn in OpenLDAP).

Andrew Bartlett
(This used to be commit 5a4a2d10bc5729d4adac4b173b0dc05e2e076c32)

14 years agor26609: Try a few more variatations to get the selftest to run against
Andrew Bartlett [Thu, 27 Dec 2007 10:17:28 +0000 (04:17 -0600)]
r26609: Try a few more variatations to get the selftest to run against


Andrew Bartlett
(This used to be commit ff77bd62ced5a5c46e7d8d7eae8c83a96ec9525a)

14 years agor26608: More improvements to the upgrade code.
Jelmer Vernooij [Thu, 27 Dec 2007 09:09:49 +0000 (03:09 -0600)]
r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f602f770f55a1171174f11b922fed8e7)

14 years agor26607: Fix reading of values and subkeys in Samba 3 registry files.
Jelmer Vernooij [Thu, 27 Dec 2007 02:55:05 +0000 (20:55 -0600)]
r26607: Fix reading of values and subkeys in Samba 3 registry files.
(This used to be commit e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)

14 years agor26606: masktest: Dynamically allocate strings.
Kai Blin [Wed, 26 Dec 2007 17:38:49 +0000 (11:38 -0600)]
r26606: masktest: Dynamically allocate strings.
(This used to be commit c38f3c6fe9c54339805490ab5ecd6b3d13a35bdb)

14 years agor26605: masktest: Get rid of pstrings.
Kai Blin [Wed, 26 Dec 2007 16:25:07 +0000 (10:25 -0600)]
r26605: masktest: Get rid of pstrings.
(This used to be commit d54fcf4f826d3c650c19eea9ccc45b786c6ae68a)

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.
(This used to be commit b863fdf474503918f347883a578a8c6624fd615a)

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.
(This used to be commit 69e469d9e18659d70ed684338b472cd38d231f86)

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.
(This used to be commit ecd2d96c3173e4d2f77a1ca50f26a16ac7a313b1)

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.
(This used to be commit 9427757ae2ceba987883ed322eb49eac0be6c079)

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.
(This used to be commit b06d3e1a52d6b71a1e3e7a9e0ecf69f3b899ae18)

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.
(This used to be commit 6b1e25b702847cd6662b4aece35692b099707b74)

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.
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)

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.
(This used to be commit fa5d1923efe5c1dc7ef12757b41f8d8eafcb1288)

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

Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df62240cae64d27a1920d878316f819fc)

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.
(This used to be commit 64203a6b7b98be59af192290b0106979c2b2f71a)

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.
(This used to be commit 2d2674ad79330f59210408fd03e859afc01f40f2)

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.
(This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)

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.
(This used to be commit 85679f3fc98238f90280f9f10d42550d71eeb918)

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.
(This used to be commit 3511027515f8ea860fbe46639d9169999646a297)

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.
(This used to be commit 0c14e16a2bc965d3319ca990089566bff98a47fe)

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
(This used to be commit 1ae9cde5105cc4349a44e6098e9393e06acaf95d)

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.
(This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)

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.
(This used to be commit c7c4cf258ac7975b409d26c9386838d4780c756f)

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.
(This used to be commit fadab7c60bb6dc5746cb2ee16f9c86fa0e0cdf1a)

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.
(This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)

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.
(This used to be commit 5383cf8e69233b3cb7c1876f52644537e459dea6)

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.
(This used to be commit 4ff8f4e370d30bf6b0b2f548bca14a9b7e1317f6)

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.
(This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a)

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.
(This used to be commit f75ce8c20aa2b466e9ee86fdf1702b2ffda10ddf)

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.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)

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.
(This used to be commit ad97efc480fc21d794f880abcd6c95827592986e)

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

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.
(This used to be commit 1cf374eb3125c66844f01d013016feaf99760582)

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.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)

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.
(This used to be commit 03270c5ffdb1476bef5eba846c2ea008111375fc)

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.

(This used to be commit 166195b487ffa51933f772a56f47f7f0d4c867eb)

14 years agor26573: Fix warnings.
Jelmer Vernooij [Mon, 24 Dec 2007 03:27:58 +0000 (21:27 -0600)]
r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)

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.
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)

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.
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)

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.
(This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)

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 :-(((
(This used to be commit c1dd0af1642d7b15c623a76c13c3cf98fb3bd3da)

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?


(This used to be commit 1d624c8b883ffd44408da1d584dd063cef0edec9)

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.
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)

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.
(This used to be commit e5573283df9e98bccc8eae227cf0f11367ecf084)

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.
(This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)

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.
(This used to be commit f40fad9827d0e9567224bc1e64ea91e610a07a3f)

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.
(This used to be commit cfffd0357ee4c4bb3f3c9adb051eeee1bbac526a)

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.
(This used to be commit b07ca944ba62a3f3de58c06b66533c0953a32de9)

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.
(This used to be commit d2b9055bc032506849827d6fab2d2b9d35d132e2)

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.
(This used to be commit cb5d6a9ee27cea4a7a34c3249eed55f601630b82)

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.
(This used to be commit a1175231a58c60f32574816643dafc78ff867161)

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

(This used to be commit 7aa34b48795d303ba600f34a4b1bc916007aee44)

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
(This used to be commit 198705f9b7c6fc23bab6fc9f08f5ce7070e5cc11)

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
(This used to be commit 722d8a56651dfcd246c85904fed0e2aa48086dff)

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.
(This used to be commit 6cc5e838e6c411ce74e7abde685720aa1f3cbdfb)

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.
(This used to be commit 37c7b65546190bdce40cb48435cc4fd51d89a124)

14 years agor26553: Fix html output.
Jelmer Vernooij [Thu, 20 Dec 2007 16:07:28 +0000 (17:07 +0100)]
r26553: Fix html output.
(This used to be commit 769ac782f30805b725ed9aba532a976b2892ab03)

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.
(This used to be commit a84975610c2825e9ceecdd47d744282bd55220be)

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 <>.
(This used to be commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb)

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

(This used to be commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91)