samba.git
16 years agor26687: python: Update status after feedback from abartlett.
Jelmer Vernooij [Mon, 7 Jan 2008 20:11:19 +0000 (14:11 -0600)]
r26687: python: Update status after feedback from abartlett.
(This used to be commit f08192750eecdd8b0ffbed84a53abcae51afd2df)

16 years agor26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste of
Andrew Bartlett [Mon, 7 Jan 2008 11:50:04 +0000 (05:50 -0600)]
r26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste of

the provision options used.

Andrew Bartlett
(This used to be commit 51cd93344dfeb3556fada523e38bbcd7e51fbbe1)

16 years agor26685: Fix bug 5137 by Mark Ridley. The RPC-ATSVC test is not tested, so was
Andrew Bartlett [Mon, 7 Jan 2008 11:41:16 +0000 (05:41 -0600)]
r26685: Fix bug 5137 by Mark Ridley. The RPC-ATSVC test is not tested, so was

broken by 'ref' changes long ago.

We need a working script to aim against windows.

Andrew Bartlett
(This used to be commit d6b863453dcda85e02e53c44d68272bf2ef95d19)

16 years agor26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett [Mon, 7 Jan 2008 11:22:14 +0000 (05:22 -0600)]
r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090

Andrew Bartlett
(This used to be commit 0016231edd514e8db620bafc44ce877fcac19ed9)

16 years agor26683: Add another testcase. I still don't know what's wrong here.
Andrew Bartlett [Mon, 7 Jan 2008 10:46:13 +0000 (04:46 -0600)]
r26683: Add another testcase. I still don't know what's wrong here.

Andrew Bartlett
(This used to be commit 341929c615e5573887889cf22950a25b536c6fc1)

16 years agor26682: Move CLDAP to the modern torture system, and add value checking.
Andrew Bartlett [Mon, 7 Jan 2008 09:15:39 +0000 (03:15 -0600)]
r26682: Move CLDAP to the modern torture system, and add value checking.

Andrew Bartlett
(This used to be commit df17c4a9e84f4a4087c4a4a8ad44a82d4acb522e)

16 years agor26681: Use fewer magic numbers.
Andrew Bartlett [Mon, 7 Jan 2008 09:14:51 +0000 (03:14 -0600)]
r26681: Use fewer magic numbers.

Andrew Bartlett
(This used to be commit 16edbe1d607390227652ee97a000da98c696c735)

16 years agor26680: Don't always advertise GC functionality.
Andrew Bartlett [Mon, 7 Jan 2008 06:47:01 +0000 (00:47 -0600)]
r26680: Don't always advertise GC functionality.

Andrew Bartlett
(This used to be commit 2f228bcbf63af98ff2d0f498f48d49d0f2926343)

16 years agor26679: It is very bad to free the ldb handle when you didn't create it...
Andrew Bartlett [Mon, 7 Jan 2008 06:46:39 +0000 (00:46 -0600)]
r26679: It is very bad to free the ldb handle when you didn't create it...

(My bad when copying this code into samdb_is_gc()).

Andrew Bartlett
(This used to be commit b4a95a89853a0ebd75b39f01bbdbf82e05e97bd7)

16 years agor26678: Check in auto-generated swig files.
Tim Potter [Mon, 7 Jan 2008 05:42:46 +0000 (23:42 -0600)]
r26678: Check in auto-generated swig files.
(This used to be commit 62017f049bc0b0f311ba49d03084044faa5e6dcd)

16 years agor26677: Implement and test iter{keys,values,items} for tdb bindings.
Tim Potter [Mon, 7 Jan 2008 05:17:55 +0000 (23:17 -0600)]
r26677: Implement and test iter{keys,values,items} for tdb bindings.

Use tempfile.mkstemp() instead of os.tmpnam() in tests.
(This used to be commit 5c3c131d174ba0f162c210d3e6ca30f2ed2a3ec0)

16 years agor26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests...
Jelmer Vernooij [Mon, 7 Jan 2008 04:01:31 +0000 (22:01 -0600)]
r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests. Thanks to Andrew for catching this.

Also fixes a typo in sessetup.c.
(This used to be commit b97de4a655b989a481d5d001ce9a5d3969d2909c)

16 years agor26675: mkproto: Add --all argument, fix some perl warnings.
Jelmer Vernooij [Sun, 6 Jan 2008 03:29:25 +0000 (21:29 -0600)]
r26675: mkproto: Add --all argument, fix some perl warnings.
(This used to be commit a175ee6594046c44572e3314ab7c3b61dcd7422f)

16 years agor26674: smb_composite: Avoid use of global_loadparm.
Jelmer Vernooij [Sun, 6 Jan 2008 01:33:11 +0000 (19:33 -0600)]
r26674: smb_composite: Avoid use of global_loadparm.

Hopefully this fixes OpenChange's mapiadmin.
(This used to be commit 2df0f7016e27705c3799b2f6bb20fcc17b103c36)

16 years agor26673: selftest: Document the purpose and output format of samba4_tests.sh.
Jelmer Vernooij [Sun, 6 Jan 2008 01:33:05 +0000 (19:33 -0600)]
r26673: selftest: Document the purpose and output format of samba4_tests.sh.
(This used to be commit 93b80f1ceb1efffd16a489bebd63ec10dd947989)

16 years agor26672: Janitorial: Remove uses of global_loadparm.
Jelmer Vernooij [Sun, 6 Jan 2008 01:03:43 +0000 (19:03 -0600)]
r26672: Janitorial: Remove uses of global_loadparm.
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)

16 years agor26671: rap: Convert the RAP tests to the new torture API and run them by default.
Jelmer Vernooij [Sun, 6 Jan 2008 01:03:36 +0000 (19:03 -0600)]
r26671: rap: Convert the RAP tests to the new torture API and run them by default.

We don't have a server-side implementation of netservergetinfo yet, so it is
marked as known failing.
(This used to be commit 33c5982ed9b9fada9355dde5dc274abb99ec0615)

16 years agor26670: Janitorial: Remove global_loadparm uses.
Jelmer Vernooij [Sat, 5 Jan 2008 21:36:37 +0000 (15:36 -0600)]
r26670: Janitorial: Remove global_loadparm uses.
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)

16 years agor26669: Janitorial: Remove uses of global_loadparm.
Jelmer Vernooij [Sat, 5 Jan 2008 21:36:33 +0000 (15:36 -0600)]
r26669: Janitorial: Remove uses of global_loadparm.
(This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)

16 years agor26668: tdb/python: Fix default value of open_flags for tdb.
Jelmer Vernooij [Sat, 5 Jan 2008 21:36:26 +0000 (15:36 -0600)]
r26668: tdb/python: Fix default value of open_flags for tdb.
(This used to be commit aa438a2febc6562aa6f71505936d0872a6dcd17d)

16 years agor26667: pidl/python: Don't generate casts anymore; this will generate warnings with...
Jelmer Vernooij [Sat, 5 Jan 2008 20:00:12 +0000 (14:00 -0600)]
r26667: pidl/python: Don't generate casts anymore; this will generate warnings with older Pythons, but will be a lot cleaner with newer versions.
(This used to be commit 7db3222dace7071e3d74fc34b86d571a0f3badea)

16 years agor26666: python: Prefer newer Python versions as they use const properly.
Jelmer Vernooij [Sat, 5 Jan 2008 20:00:07 +0000 (14:00 -0600)]
r26666: python: Prefer newer Python versions as they use const properly.
(This used to be commit aa2adf33275dc637022d9feee1531aa79aa08e25)

16 years agor26665: registry: Fix tests on bigendian machines.
Jelmer Vernooij [Sat, 5 Jan 2008 19:59:53 +0000 (13:59 -0600)]
r26665: registry: Fix tests on bigendian machines.
(This used to be commit bcd8f50f7952d1e502326f11ddfa8cfe8a982b1b)

16 years agor26664: buildsystem: Hopefully fix the shared library build on AIX.
Jelmer Vernooij [Fri, 4 Jan 2008 21:41:29 +0000 (15:41 -0600)]
r26664: buildsystem: Hopefully fix the shared library build on AIX.
(This used to be commit bdf30f80fbef8ea70c3073dc43bc1b0bc02a9951)

16 years agor26663: Proper dependencies for pidl Python bindings.
Jelmer Vernooij [Fri, 4 Jan 2008 09:44:41 +0000 (03:44 -0600)]
r26663: Proper dependencies for pidl Python bindings.
(This used to be commit f24e5e8a2b16f2f1640cb573bdcb346cb3748f33)

16 years agor26662: pidl/python: Add constructors for struct/union types.
Jelmer Vernooij [Fri, 4 Jan 2008 09:44:38 +0000 (03:44 -0600)]
r26662: pidl/python: Add constructors for struct/union types.
(This used to be commit bc6aa49d8e33add2efa6f66630029f5305b56280)

16 years agor26661: pidl/python: More generic handling of NTSTATUS, add stubs for types.
Jelmer Vernooij [Fri, 4 Jan 2008 09:44:32 +0000 (03:44 -0600)]
r26661: pidl/python: More generic handling of NTSTATUS, add stubs for types.
(This used to be commit 336dae6d429f122f7f38a6c78d28b848ebfa3c67)

16 years agor26660: pidl/python: Generate stub functions for DCE/RPC client functions, constructo...
Jelmer Vernooij [Fri, 4 Jan 2008 05:58:38 +0000 (23:58 -0600)]
r26660: pidl/python: Generate stub functions for DCE/RPC client functions, constructor for interface objects.
(This used to be commit 0ee0581f052d0b90b2697841aaa09e0955aff65a)

16 years agor26659: pidl/python: Support string constants and handle modules.
Jelmer Vernooij [Fri, 4 Jan 2008 03:57:44 +0000 (21:57 -0600)]
r26659: pidl/python: Support string constants and handle modules.
(This used to be commit 885e5980d7d7fbafdcf308b8ba6f2560c5b467ec)

16 years agor26658: pidl: Register Python modules.
Jelmer Vernooij [Fri, 4 Jan 2008 03:45:18 +0000 (21:45 -0600)]
r26658: pidl: Register Python modules.
(This used to be commit f47044aacc8eb6df856524744ab87bee997bae6d)

16 years agor26657: pidl: Add basics for generating Python modules.
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:16 +0000 (21:21 -0600)]
r26657: pidl: Add basics for generating Python modules.
(This used to be commit f1960ca7c4d1b75d64192efdd446482c6bbebcd9)

16 years agor26656: python: Add file documentating the status of the Python migration.
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:12 +0000 (21:21 -0600)]
r26656: python: Add file documentating the status of the Python migration.
(This used to be commit 5c86cc6648169bf52161a1ffdbf17a38b62c611f)

16 years agor26655: torture/auth/pac: remove uses of global_loadparm
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:05 +0000 (21:21 -0600)]
r26655: torture/auth/pac: remove uses of global_loadparm
(This used to be commit ff67935be4980c701a9cd9a7fa435b8d1e02dfec)

16 years agor26654: libcli/smb_composite: Rather than specifying each of the gazillion options...
Jelmer Vernooij [Thu, 3 Jan 2008 23:22:12 +0000 (17:22 -0600)]
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
(This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)

16 years agor26653: Janitorial: Remove global_loadparm use in two more places.
Jelmer Vernooij [Thu, 3 Jan 2008 23:22:08 +0000 (17:22 -0600)]
r26653: Janitorial: Remove global_loadparm use in two more places.
(This used to be commit 65fbb4700d145810d1c7539a4037d73d856278c6)

16 years agor26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
Jelmer Vernooij [Thu, 3 Jan 2008 23:22:04 +0000 (17:22 -0600)]
r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
(This used to be commit e886f1bc0dc694971979716d1991535c7d2e08de)

16 years agor26651: libsmb: Allow specifying signing policy from higher up.
Jelmer Vernooij [Thu, 3 Jan 2008 23:21:58 +0000 (17:21 -0600)]
r26651: libsmb: Allow specifying signing policy from higher up.

The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)

16 years agor26650: torture/raw: Fix warnings in lockbench/openbench.
Jelmer Vernooij [Thu, 3 Jan 2008 23:21:50 +0000 (17:21 -0600)]
r26650: torture/raw: Fix warnings in lockbench/openbench.

I'm surprised this didn't cause any breakages. We should probably run (a subset of) RAW-LOCKBENCH + RAW-OPENBENCH in make test to make sure they don't regress.
(This used to be commit 9bea9c0c4f62dabaaad4c56e7e55da96571b1e1d)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 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

OpenLDAP.

Andrew Bartlett
(This used to be commit ff77bd62ced5a5c46e7d8d7eae8c83a96ec9525a)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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