Jelmer Vernooij [Thu, 3 Jan 2008 17:22:12 +0000 (11: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 17:22:08 +0000 (11:22 -0600)]
r26653: Janitorial: Remove global_loadparm use in two more places.
Jelmer Vernooij [Thu, 3 Jan 2008 17:22:04 +0000 (11:22 -0600)]
r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
Jelmer Vernooij [Thu, 3 Jan 2008 17:21:58 +0000 (11: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 17:21:50 +0000 (11: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 06:00:38 +0000 (00:00 -0600)]
r26649: Only claim to be a PDC if we are a PDC.
Andrew Bartlett
Andrew Bartlett [Thu, 3 Jan 2008 04:40:24 +0000 (22: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
Jelmer Vernooij [Wed, 2 Jan 2008 18:39:15 +0000 (12: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 [Wed, 2 Jan 2008 18:39:11 +0000 (12:39 -0600)]
r26645: Janitorial: Fix a couple of warnings.
Jelmer Vernooij [Wed, 2 Jan 2008 18:39:01 +0000 (12: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 15:00:58 +0000 (09:00 -0600)]
r26643: librpc: Remove uses of global_loadparm.
Jelmer Vernooij [Wed, 2 Jan 2008 01:52:31 +0000 (19:52 -0600)]
r26642: samba3sam.py: Remove more EJS-specific code.
Jelmer Vernooij [Wed, 2 Jan 2008 01:52:26 +0000 (19:52 -0600)]
r26641: ldb(Python): Remove some unnecessary {}'s.
Jelmer Vernooij [Wed, 2 Jan 2008 01:52:18 +0000 (19:52 -0600)]
r26640: Janitorial: Remove some more uses of global_loadparm.
Jelmer Vernooij [Tue, 1 Jan 2008 22:05:13 +0000 (16:05 -0600)]
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
Jelmer Vernooij [Tue, 1 Jan 2008 22:05:05 +0000 (16:05 -0600)]
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
Jelmer Vernooij [Tue, 1 Jan 2008 22:04:57 +0000 (16:04 -0600)]
r26637: More work converting to Python.
Andrew Bartlett [Tue, 1 Jan 2008 04:01:07 +0000 (22:01 -0600)]
r26636: Remove useless 'backend' parameter, and make the memberof overlay use global.
Andrew Bartlett
Andrew Bartlett [Tue, 1 Jan 2008 03:27:53 +0000 (21: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 [Sun, 30 Dec 2007 19:18:17 +0000 (13:18 -0600)]
r26634: Add NET-API-CREATEGROUP test.
Rafal Szczesniak [Sun, 30 Dec 2007 19:14:43 +0000 (13:14 -0600)]
r26633: A couple of fixes in comments.
Rafal Szczesniak [Sun, 30 Dec 2007 19:13:50 +0000 (13:13 -0600)]
r26632: Add libnet_CreateGroup function.
Jelmer Vernooij [Sun, 30 Dec 2007 16:46:14 +0000 (10: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 16:46:05 +0000 (10:46 -0600)]
r26630: Split up big tests into various smaller functions, making it easier to debug.
Jelmer Vernooij [Sat, 29 Dec 2007 18:14:18 +0000 (12:14 -0600)]
r26629: python: Improve documentation in various places.
Jelmer Vernooij [Sat, 29 Dec 2007 18:14:15 +0000 (12:14 -0600)]
r26628: python: Add more documentation, simplify code in Samba3 module.
Jelmer Vernooij [Sat, 29 Dec 2007 18:14:12 +0000 (12:14 -0600)]
r26627: param: Provide a call for loading the system smb.conf.
Jelmer Vernooij [Sat, 29 Dec 2007 18:14:04 +0000 (12:14 -0600)]
r26626: Install auth/session.h
Jelmer Vernooij [Fri, 28 Dec 2007 16:55:45 +0000 (10:55 -0600)]
r26625: Wrap some more events functions for Python and add a trivial test for it.
Jelmer Vernooij [Fri, 28 Dec 2007 16:25:27 +0000 (10:25 -0600)]
r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
Jelmer Vernooij [Fri, 28 Dec 2007 16:25:20 +0000 (10:25 -0600)]
r26623: python: Allow specifying URL rather than host name on the command-line.
Jelmer Vernooij [Fri, 28 Dec 2007 16:25:17 +0000 (10:25 -0600)]
r26622: python: Update license version, clarify copyright.
Jelmer Vernooij [Fri, 28 Dec 2007 16:25:13 +0000 (10:25 -0600)]
r26621: vampire: Add simple Python-based vampire script
Jelmer Vernooij [Fri, 28 Dec 2007 16:25:05 +0000 (10:25 -0600)]
r26620: python: Allow not specifying event contexts, in which case a new context is used.
Jelmer Vernooij [Fri, 28 Dec 2007 15:37:03 +0000 (09:37 -0600)]
r26619: Add Python bindings for libnet. No tests yet and no way to set the parameters...
Jelmer Vernooij [Fri, 28 Dec 2007 15:36:55 +0000 (09:36 -0600)]
r26618: Implement -W option support.
Jelmer Vernooij [Thu, 27 Dec 2007 23:32:05 +0000 (17:32 -0600)]
r26617: Load smb.conf.
Jelmer Vernooij [Thu, 27 Dec 2007 23:31:59 +0000 (17:31 -0600)]
r26616: Support parsing of user data in SAmba 3 tdbsam.
Jelmer Vernooij [Thu, 27 Dec 2007 23:31:54 +0000 (17:31 -0600)]
r26615: Fix Python syntax
Jelmer Vernooij [Thu, 27 Dec 2007 23:31:42 +0000 (17:31 -0600)]
r26614: Fix options parsing for credentials in Python.
Andrew Bartlett [Thu, 27 Dec 2007 07:47:11 +0000 (01: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 07:45:22 +0000 (01:45 -0600)]
r26612: Tests show that we don't need to use a callback.
Andrew Bartlett
Andrew Bartlett [Thu, 27 Dec 2007 07:44:57 +0000 (01:44 -0600)]
r26611: Tridge didn't write this...
Andrew Bartlett
Andrew Bartlett [Thu, 27 Dec 2007 04:18:54 +0000 (22: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 04:17:28 +0000 (22:17 -0600)]
r26609: Try a few more variatations to get the selftest to run against
OpenLDAP.
Andrew Bartlett
Jelmer Vernooij [Thu, 27 Dec 2007 03:09:49 +0000 (21:09 -0600)]
r26608: More improvements to the upgrade code.
Jelmer Vernooij [Wed, 26 Dec 2007 20:55:05 +0000 (14:55 -0600)]
r26607: Fix reading of values and subkeys in Samba 3 registry files.
Kai Blin [Wed, 26 Dec 2007 11:38:49 +0000 (05:38 -0600)]
r26606: masktest: Dynamically allocate strings.
Kai Blin [Wed, 26 Dec 2007 10:25:07 +0000 (04:25 -0600)]
r26605: masktest: Get rid of pstrings.
Jelmer Vernooij [Wed, 26 Dec 2007 04:04:23 +0000 (22:04 -0600)]
r26604: Don't depend on Python just yet, since the code that uses it is ifdeffed out.
Jelmer Vernooij [Tue, 25 Dec 2007 21:14:06 +0000 (15:14 -0600)]
r26603: Don't install no longer available upgrade script.
Jelmer Vernooij [Tue, 25 Dec 2007 17:34:07 +0000 (11:34 -0600)]
r26602: Revert my previous commit as it only works with GNU make.
Jelmer Vernooij [Tue, 25 Dec 2007 16:37:05 +0000 (10:37 -0600)]
r26601: Remove existing files to prevent errors.
Jelmer Vernooij [Tue, 25 Dec 2007 16:37:02 +0000 (10:37 -0600)]
r26600: Provide dir variable with current basedir in Makefile.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:58 +0000 (10:36 -0600)]
r26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Not tested yet as the test it is part of has been disabled because it's broken.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:53 +0000 (10:36 -0600)]
r26598: Simplify the way Python tests are run.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:50 +0000 (10:36 -0600)]
r26597: Attempt to provide alternative for hosts that don't have python-config.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:44 +0000 (10:36 -0600)]
r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:39 +0000 (10:36 -0600)]
r26595: Fix includes for hosts without gssapi as system header.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:36 +0000 (10:36 -0600)]
r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:31 +0000 (10:36 -0600)]
r26593: - More work on the python versions of samba3dump and the samba3sam tests.
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
Jelmer Vernooij [Tue, 25 Dec 2007 16:36:23 +0000 (10:36 -0600)]
r26592: Finish fixing the samba3dump script.
Jelmer Vernooij [Mon, 24 Dec 2007 14:16:59 +0000 (08:16 -0600)]
r26591: Get the first bits of samba3dump to work again.
Jelmer Vernooij [Mon, 24 Dec 2007 14:16:40 +0000 (08:16 -0600)]
r26590: Parsing routines for the smbpasswd file and idmap database.
Kai Blin [Mon, 24 Dec 2007 13:06:57 +0000 (07:06 -0600)]
r26589: torture: Add non-const version of torture_tcase_add_simple_test
Kai Blin [Mon, 24 Dec 2007 13:04:56 +0000 (07:04 -0600)]
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
Jelmer Vernooij [Mon, 24 Dec 2007 13:04:33 +0000 (07:04 -0600)]
r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
Jelmer Vernooij [Mon, 24 Dec 2007 13:04:13 +0000 (07:04 -0600)]
r26586: Rename fetch to get for consistency with the Python dictionary interface.
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:52 +0000 (05:02 -0600)]
r26585: Fix samba3.python tests.
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:45 +0000 (05:02 -0600)]
r26584: Fix exception handling in ldb constructor.
Jelmer Vernooij [Mon, 24 Dec 2007 11:02:32 +0000 (05:02 -0600)]
r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
Jelmer Vernooij [Mon, 24 Dec 2007 01:55:09 +0000 (19:55 -0600)]
r26582: Use the same swig flags everywhere.
Simo Sorce [Mon, 24 Dec 2007 01:38:37 +0000 (19:38 -0600)]
r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
Jelmer Vernooij [Mon, 24 Dec 2007 01:28:22 +0000 (19:28 -0600)]
r26580: Include sentinel in build.h, in case the list is empty.
Jelmer Vernooij [Mon, 24 Dec 2007 00:35:40 +0000 (18:35 -0600)]
r26579: Fix the typo that breaks the code coverage build.
Jelmer Vernooij [Mon, 24 Dec 2007 00:13:57 +0000 (18:13 -0600)]
r26578: Ensure directory exists.
Jelmer Vernooij [Mon, 24 Dec 2007 00:10:08 +0000 (18:10 -0600)]
r26577: Fix the standalone ldb build.
Jelmer Vernooij [Sun, 23 Dec 2007 23:54:30 +0000 (17:54 -0600)]
r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
Jelmer Vernooij [Sun, 23 Dec 2007 22:06:29 +0000 (16:06 -0600)]
r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
Simo Sorce [Sun, 23 Dec 2007 22:03:31 +0000 (16:03 -0600)]
r26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
and also makes code more readable and debuggable.
Eliminate silly parenthesys.
Simo.
Jelmer Vernooij [Sun, 23 Dec 2007 21:27:58 +0000 (15:27 -0600)]
r26573: Fix warnings.
Jelmer Vernooij [Sun, 23 Dec 2007 20:56:41 +0000 (14:56 -0600)]
r26572: Fix warnings in the Python code.
Jelmer Vernooij [Sun, 23 Dec 2007 20:22:46 +0000 (14:22 -0600)]
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
Jelmer Vernooij [Sun, 23 Dec 2007 19:19:41 +0000 (13:19 -0600)]
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
Volker Lendecke [Sun, 23 Dec 2007 16:05:05 +0000 (10:05 -0600)]
r26569: Jelmer tells me that ldb must inevitably be build as a shared library,
otherwise it will break.
Sorry for breaking Samba4.
I will have to look how we can fix Samba3 :-(((
Volker Lendecke [Sun, 23 Dec 2007 15:57:58 +0000 (09:57 -0600)]
r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage
Jelmer, can you please review this?
Thanks,
Volker
Jelmer Vernooij [Sat, 22 Dec 2007 14:28:45 +0000 (08:28 -0600)]
r26567: Allow registering new ldb modules from python.
Jelmer Vernooij [Sat, 22 Dec 2007 05:11:21 +0000 (23:11 -0600)]
r26566: Fix member provision when using python.
Jelmer Vernooij [Sat, 22 Dec 2007 05:03:02 +0000 (23:03 -0600)]
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
Jelmer Vernooij [Sat, 22 Dec 2007 05:02:57 +0000 (23:02 -0600)]
r26564: More python bindings for registry code.
Jelmer Vernooij [Sat, 22 Dec 2007 05:02:48 +0000 (23:02 -0600)]
r26563: Fix reg_diff_apply argument order.
Jelmer Vernooij [Sat, 22 Dec 2007 02:26:38 +0000 (20:26 -0600)]
r26562: Fix provisioning using Python.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:48 +0000 (18:47 -0600)]
r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:44 +0000 (18:47 -0600)]
r26560: Add script for running in valgrind.
Jelmer Vernooij [Sat, 22 Dec 2007 00:47:36 +0000 (18:47 -0600)]
r26559: Make the provision function a bit smaller.
Günther Deschner [Fri, 21 Dec 2007 23:52:14 +0000 (17:52 -0600)]
r26558: Add IDL for netr_GetForestTrustInformation().
Guenther
Andrew Bartlett [Fri, 21 Dec 2007 22:55:02 +0000 (16:55 -0600)]
r26557: sync WHATSNEW with release branch of Samba4
Andrew Bartlett [Fri, 21 Dec 2007 02:33:43 +0000 (20:33 -0600)]
r26556: Make Fedora DS consistant use FEDORA_DS_ROOT, now we use OPENLDAP_ROOT.
Add in another varient to test with in the OpenLDAP module-guessing
game, from Howard Chu.
Andrew Bartlett
Jelmer Vernooij [Fri, 21 Dec 2007 00:36:17 +0000 (18:36 -0600)]
r26555: Use python-config utility to find python compile/link flags.
Jelmer Vernooij [Thu, 20 Dec 2007 17:07:31 +0000 (11:07 -0600)]
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.