Jelmer Vernooij [Fri, 4 Jan 2008 03:45:18 +0000 (21:45 -0600)]
r26658: pidl: Register Python modules.
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:16 +0000 (21:21 -0600)]
r26657: pidl: Add basics for generating Python modules.
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:12 +0000 (21:21 -0600)]
r26656: python: Add file documentating the status of the Python migration.
Jelmer Vernooij [Fri, 4 Jan 2008 03:21:05 +0000 (21:21 -0600)]
r26655: torture/auth/pac: remove uses of global_loadparm
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.
Jelmer Vernooij [Thu, 3 Jan 2008 23:22:08 +0000 (17:22 -0600)]
r26653: Janitorial: Remove global_loadparm use in two more places.
Jelmer Vernooij [Thu, 3 Jan 2008 23:22:04 +0000 (17:22 -0600)]
r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
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.
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.
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
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
Andrew Bartlett [Thu, 3 Jan 2008 09:31:14 +0000 (03:31 -0600)]
r26647: Mark 'valgrind_run' as executable
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.
Jelmer Vernooij [Thu, 3 Jan 2008 00:39:11 +0000 (18:39 -0600)]
r26645: Janitorial: Fix a couple of warnings.
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.
Jelmer Vernooij [Wed, 2 Jan 2008 21:00:58 +0000 (15:00 -0600)]
r26643: librpc: Remove uses of global_loadparm.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:31 +0000 (01:52 -0600)]
r26642: samba3sam.py: Remove more EJS-specific code.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:26 +0000 (01:52 -0600)]
r26641: ldb(Python): Remove some unnecessary {}'s.
Jelmer Vernooij [Wed, 2 Jan 2008 07:52:18 +0000 (01:52 -0600)]
r26640: Janitorial: Remove some more uses of global_loadparm.
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.
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().
Jelmer Vernooij [Wed, 2 Jan 2008 04:04:57 +0000 (22:04 -0600)]
r26637: More work converting to Python.
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
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
Rafal Szczesniak [Mon, 31 Dec 2007 01:18:17 +0000 (19:18 -0600)]
r26634: Add NET-API-CREATEGROUP test.
Rafal Szczesniak [Mon, 31 Dec 2007 01:14:43 +0000 (19:14 -0600)]
r26633: A couple of fixes in comments.
Rafal Szczesniak [Mon, 31 Dec 2007 01:13:50 +0000 (19:13 -0600)]
r26632: Add libnet_CreateGroup function.
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.
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.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:18 +0000 (18:14 -0600)]
r26629: python: Improve documentation in various places.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:15 +0000 (18:14 -0600)]
r26628: python: Add more documentation, simplify code in Samba3 module.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:12 +0000 (18:14 -0600)]
r26627: param: Provide a call for loading the system smb.conf.
Jelmer Vernooij [Sun, 30 Dec 2007 00:14:04 +0000 (18:14 -0600)]
r26626: Install auth/session.h
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.
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.
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.
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:17 +0000 (16:25 -0600)]
r26622: python: Update license version, clarify copyright.
Jelmer Vernooij [Fri, 28 Dec 2007 22:25:13 +0000 (16:25 -0600)]
r26621: vampire: Add simple Python-based vampire script
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.
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...
Jelmer Vernooij [Fri, 28 Dec 2007 21:36:55 +0000 (15:36 -0600)]
r26618: Implement -W option support.
Jelmer Vernooij [Fri, 28 Dec 2007 05:32:05 +0000 (23:32 -0600)]
r26617: Load smb.conf.
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:59 +0000 (23:31 -0600)]
r26616: Support parsing of user data in SAmba 3 tdbsam.
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:54 +0000 (23:31 -0600)]
r26615: Fix Python syntax
Jelmer Vernooij [Fri, 28 Dec 2007 05:31:42 +0000 (23:31 -0600)]
r26614: Fix options parsing for credentials in Python.
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
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
Andrew Bartlett [Thu, 27 Dec 2007 13:44:57 +0000 (07:44 -0600)]
r26611: Tridge didn't write this...
Andrew Bartlett
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
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
Jelmer Vernooij [Thu, 27 Dec 2007 09:09:49 +0000 (03:09 -0600)]
r26608: More improvements to the upgrade code.
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.
Kai Blin [Wed, 26 Dec 2007 17:38:49 +0000 (11:38 -0600)]
r26606: masktest: Dynamically allocate strings.
Kai Blin [Wed, 26 Dec 2007 16:25:07 +0000 (10:25 -0600)]
r26605: masktest: Get rid of pstrings.
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.
Jelmer Vernooij [Wed, 26 Dec 2007 03:14:06 +0000 (21:14 -0600)]
r26603: Don't install no longer available upgrade script.
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.
Jelmer Vernooij [Tue, 25 Dec 2007 22:37:05 +0000 (16:37 -0600)]
r26601: Remove existing files to prevent errors.
Jelmer Vernooij [Tue, 25 Dec 2007 22:37:02 +0000 (16:37 -0600)]
r26600: Provide dir variable with current basedir in Makefile.
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.
Jelmer Vernooij [Tue, 25 Dec 2007 22:36:53 +0000 (16:36 -0600)]
r26598: Simplify the way Python tests are run.
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.
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.
Jelmer Vernooij [Tue, 25 Dec 2007 22:36:39 +0000 (16:36 -0600)]
r26595: Fix includes for hosts without gssapi as system header.
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.
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.
Jelmer Vernooij [Tue, 25 Dec 2007 22:36:23 +0000 (16:36 -0600)]
r26592: Finish fixing the samba3dump script.
Jelmer Vernooij [Mon, 24 Dec 2007 20:16:59 +0000 (14:16 -0600)]
r26591: Get the first bits of samba3dump to work again.
Jelmer Vernooij [Mon, 24 Dec 2007 20:16:40 +0000 (14:16 -0600)]
r26590: Parsing routines for the smbpasswd file and idmap database.
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
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.
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.
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.
Jelmer Vernooij [Mon, 24 Dec 2007 17:02:52 +0000 (11:02 -0600)]
r26585: Fix samba3.python tests.
Jelmer Vernooij [Mon, 24 Dec 2007 17:02:45 +0000 (11:02 -0600)]
r26584: Fix exception handling in ldb constructor.
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.
Jelmer Vernooij [Mon, 24 Dec 2007 07:55:09 +0000 (01:55 -0600)]
r26582: Use the same swig flags everywhere.
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.
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.
Jelmer Vernooij [Mon, 24 Dec 2007 06:35:40 +0000 (00:35 -0600)]
r26579: Fix the typo that breaks the code coverage build.
Jelmer Vernooij [Mon, 24 Dec 2007 06:13:57 +0000 (00:13 -0600)]
r26578: Ensure directory exists.
Jelmer Vernooij [Mon, 24 Dec 2007 06:10:08 +0000 (00:10 -0600)]
r26577: Fix the standalone ldb build.
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.
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.
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.
Jelmer Vernooij [Mon, 24 Dec 2007 03:27:58 +0000 (21:27 -0600)]
r26573: Fix warnings.
Jelmer Vernooij [Mon, 24 Dec 2007 02:56:41 +0000 (20:56 -0600)]
r26572: Fix warnings in the Python code.
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.
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.
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 :-(((
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
Jelmer Vernooij [Sat, 22 Dec 2007 20:28:45 +0000 (14:28 -0600)]
r26567: Allow registering new ldb modules from python.
Jelmer Vernooij [Sat, 22 Dec 2007 11:11:21 +0000 (05:11 -0600)]
r26566: Fix member provision when using python.
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.
Jelmer Vernooij [Sat, 22 Dec 2007 11:02:57 +0000 (05:02 -0600)]
r26564: More python bindings for registry code.
Jelmer Vernooij [Sat, 22 Dec 2007 11:02:48 +0000 (05:02 -0600)]
r26563: Fix reg_diff_apply argument order.
Jelmer Vernooij [Sat, 22 Dec 2007 08:26:38 +0000 (02:26 -0600)]
r26562: Fix provisioning using Python.
Jelmer Vernooij [Sat, 22 Dec 2007 06:47:48 +0000 (00:47 -0600)]
r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
Jelmer Vernooij [Sat, 22 Dec 2007 06:47:44 +0000 (00:47 -0600)]
r26560: Add script for running in valgrind.
Jelmer Vernooij [Sat, 22 Dec 2007 06:47:36 +0000 (00:47 -0600)]
r26559: Make the provision function a bit smaller.