jelmer [Thu, 27 Dec 2007 23:31:42 +0000 (23:31 +0000)]
Fix options parsing for credentials in Python.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26614
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Thu, 27 Dec 2007 07:47:11 +0000 (07:47 +0000)]
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
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26613
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Thu, 27 Dec 2007 07:45:22 +0000 (07:45 +0000)]
Tests show that we don't need to use a callback.
Andrew Bartlett
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26612
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Thu, 27 Dec 2007 07:44:57 +0000 (07:44 +0000)]
Tridge didn't write this...
Andrew Bartlett
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26611
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Thu, 27 Dec 2007 04:18:54 +0000 (04:18 +0000)]
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
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26610
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Thu, 27 Dec 2007 04:17:28 +0000 (04:17 +0000)]
Try a few more variatations to get the selftest to run against
OpenLDAP.
Andrew Bartlett
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26609
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 27 Dec 2007 03:09:49 +0000 (03:09 +0000)]
More improvements to the upgrade code.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26608
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 26 Dec 2007 20:55:05 +0000 (20:55 +0000)]
Fix reading of values and subkeys in Samba 3 registry files.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26607
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Wed, 26 Dec 2007 11:38:49 +0000 (11:38 +0000)]
masktest: Dynamically allocate strings.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26606
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Wed, 26 Dec 2007 10:25:07 +0000 (10:25 +0000)]
masktest: Get rid of pstrings.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26605
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 26 Dec 2007 04:04:23 +0000 (04:04 +0000)]
Don't depend on Python just yet, since the code that uses it is ifdeffed out.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26604
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 21:14:06 +0000 (21:14 +0000)]
Don't install no longer available upgrade script.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26603
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 17:34:07 +0000 (17:34 +0000)]
Revert my previous commit as it only works with GNU make.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26602
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:37:05 +0000 (16:37 +0000)]
Remove existing files to prevent errors.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26601
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:37:02 +0000 (16:37 +0000)]
Provide dir variable with current basedir in Makefile.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26600
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:58 +0000 (16:36 +0000)]
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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26599
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:53 +0000 (16:36 +0000)]
Simplify the way Python tests are run.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26598
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:50 +0000 (16:36 +0000)]
Attempt to provide alternative for hosts that don't have python-config.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26597
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:44 +0000 (16:36 +0000)]
Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26596
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:39 +0000 (16:36 +0000)]
Fix includes for hosts without gssapi as system header.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26595
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:36 +0000 (16:36 +0000)]
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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26594
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:31 +0000 (16:36 +0000)]
- 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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26593
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 25 Dec 2007 16:36:23 +0000 (16:36 +0000)]
Finish fixing the samba3dump script.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26592
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 14:16:59 +0000 (14:16 +0000)]
Get the first bits of samba3dump to work again.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26591
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 14:16:40 +0000 (14:16 +0000)]
Parsing routines for the smbpasswd file and idmap database.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26590
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Mon, 24 Dec 2007 13:06:57 +0000 (13:06 +0000)]
torture: Add non-const version of torture_tcase_add_simple_test
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26589
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Mon, 24 Dec 2007 13:04:56 +0000 (13:04 +0000)]
Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26588
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 13:04:33 +0000 (13:04 +0000)]
Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26587
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 13:04:13 +0000 (13:04 +0000)]
Rename fetch to get for consistency with the Python dictionary interface.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26586
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 11:02:52 +0000 (11:02 +0000)]
Fix samba3.python tests.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26585
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 11:02:45 +0000 (11:02 +0000)]
Fix exception handling in ldb constructor.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26584
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 11:02:32 +0000 (11:02 +0000)]
Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26583
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 01:55:09 +0000 (01:55 +0000)]
Use the same swig flags everywhere.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26582
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
idra [Mon, 24 Dec 2007 01:38:37 +0000 (01:38 +0000)]
Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26581
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 01:28:22 +0000 (01:28 +0000)]
Include sentinel in build.h, in case the list is empty.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26580
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 00:35:40 +0000 (00:35 +0000)]
Fix the typo that breaks the code coverage build.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26579
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 00:13:57 +0000 (00:13 +0000)]
Ensure directory exists.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26578
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 24 Dec 2007 00:10:08 +0000 (00:10 +0000)]
Fix the standalone ldb build.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26577
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 23:54:30 +0000 (23:54 +0000)]
Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26576
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 22:06:29 +0000 (22:06 +0000)]
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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26575
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
idra [Sun, 23 Dec 2007 22:03:31 +0000 (22:03 +0000)]
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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26574
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 21:27:58 +0000 (21:27 +0000)]
Fix warnings.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26573
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 20:56:41 +0000 (20:56 +0000)]
Fix warnings in the Python code.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26572
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 20:22:46 +0000 (20:22 +0000)]
Hide warnings about unused macros and casting qualifiers in autogenerated files.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26571
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sun, 23 Dec 2007 19:19:41 +0000 (19:19 +0000)]
- 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.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26570
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
vlendec [Sun, 23 Dec 2007 16:05:05 +0000 (16:05 +0000)]
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 :-(((
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26569
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
vlendec [Sun, 23 Dec 2007 15:57:58 +0000 (15:57 +0000)]
Revert r26482
Next attempt to fix the Samba3 torture breakage
Jelmer, can you please review this?
Thanks,
Volker
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26568
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 14:28:45 +0000 (14:28 +0000)]
Allow registering new ldb modules from python.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26567
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 05:11:21 +0000 (05:11 +0000)]
Fix member provision when using python.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26566
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 05:03:02 +0000 (05:03 +0000)]
Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26565
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 05:02:57 +0000 (05:02 +0000)]
More python bindings for registry code.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26564
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 05:02:48 +0000 (05:02 +0000)]
Fix reg_diff_apply argument order.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26563
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 02:26:38 +0000 (02:26 +0000)]
Fix provisioning using Python.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26562
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 00:47:48 +0000 (00:47 +0000)]
Fix make gdbtest, valgrindtest and testenv for shared libs.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26561
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 00:47:44 +0000 (00:47 +0000)]
Add script for running in valgrind.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26560
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Sat, 22 Dec 2007 00:47:36 +0000 (00:47 +0000)]
Make the provision function a bit smaller.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26559
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
gd [Fri, 21 Dec 2007 23:52:14 +0000 (23:52 +0000)]
Add IDL for netr_GetForestTrustInformation().
Guenther
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26558
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Fri, 21 Dec 2007 22:55:02 +0000 (22:55 +0000)]
sync WHATSNEW with release branch of Samba4
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26557
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Fri, 21 Dec 2007 02:33:43 +0000 (02:33 +0000)]
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
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26556
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Fri, 21 Dec 2007 00:36:17 +0000 (00:36 +0000)]
Use python-config utility to find python compile/link flags.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26555
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 17:07:31 +0000 (17:07 +0000)]
Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26554
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 17:07:28 +0000 (17:07 +0000)]
Fix html output.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26553
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 17:07:21 +0000 (17:07 +0000)]
remove unused state variable, use dot as path separator for test names.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26552
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jpeach [Thu, 20 Dec 2007 16:35:42 +0000 (16:35 +0000)]
Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26551
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
metze [Thu, 20 Dec 2007 15:59:39 +0000 (15:59 +0000)]
libreplace: fallback to __ss_family of struct sockaddr_storage
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26550
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 15:54:08 +0000 (15:54 +0000)]
Remove suite-specific bits.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26549
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 15:54:05 +0000 (15:54 +0000)]
Remove remaining variables from state hash.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26548
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 15:54:02 +0000 (15:54 +0000)]
Make testsuites less special during subunit handling.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26547
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 15:54:00 +0000 (15:54 +0000)]
Rather than having a gazillion targets, add output format variable for 'make test'.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26546
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 15:53:56 +0000 (15:53 +0000)]
Sync output with ejs.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26545
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Thu, 20 Dec 2007 00:02:15 +0000 (00:02 +0000)]
Revert my previous commit after concerns raised by Andrew.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26540
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 19 Dec 2007 23:27:42 +0000 (23:27 +0000)]
Remove unnecessary statics.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26539
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 19 Dec 2007 23:27:38 +0000 (23:27 +0000)]
Pass path generation function around rather than base directory.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26538
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 19 Dec 2007 23:27:34 +0000 (23:27 +0000)]
Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26537
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 19 Dec 2007 23:27:31 +0000 (23:27 +0000)]
More tests for provisioning code.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26536
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Wed, 19 Dec 2007 23:27:24 +0000 (23:27 +0000)]
Get rid of all-knowing ProvisionSettings object.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26535
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
metze [Wed, 19 Dec 2007 11:34:36 +0000 (11:34 +0000)]
configure: using == in shell scripts isn't portable
Thanks to Björn Jacke <bj@sernet.de> for reporting this.
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26534
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
metze [Wed, 19 Dec 2007 08:18:57 +0000 (08:18 +0000)]
libreplace: hopefully fix the share library/module build on darwin
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26533
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
mimir [Wed, 19 Dec 2007 00:46:43 +0000 (00:46 +0000)]
Fix mistake in assignment.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26532
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
mimir [Wed, 19 Dec 2007 00:45:07 +0000 (00:45 +0000)]
Prevent from displaying the results if the function
call has failed.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26531
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
mimir [Wed, 19 Dec 2007 00:44:01 +0000 (00:44 +0000)]
Add NET-API-GROUPLIST test.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26530
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
abartlet [Wed, 19 Dec 2007 00:39:27 +0000 (00:39 +0000)]
Indeed, this belongs in the schema module. Ranged results need to use
an attribute with ';' in the name.
Andrew Bartlett
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26529
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Tue, 18 Dec 2007 22:50:49 +0000 (22:50 +0000)]
dsdb: Fix a warning.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26528
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 18:54:19 +0000 (18:54 +0000)]
Start on tests for provision.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26527
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 17:29:08 +0000 (17:29 +0000)]
Fix argument value.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26526
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 17:21:24 +0000 (17:21 +0000)]
Consistency in the API.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26525
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 17:21:20 +0000 (17:21 +0000)]
Import self join.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26524
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 17:21:13 +0000 (17:21 +0000)]
Refactor provisioning code.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26523
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 02:21:28 +0000 (02:21 +0000)]
Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26522
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 02:21:24 +0000 (02:21 +0000)]
Fix newlines.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26521
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Tue, 18 Dec 2007 02:21:14 +0000 (02:21 +0000)]
More Python updates.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26520
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
mimir [Tue, 18 Dec 2007 00:59:21 +0000 (00:59 +0000)]
Add libnet_GroupList function. Totally untested (yet), but
it builds for start.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26519
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 17 Dec 2007 23:16:16 +0000 (23:16 +0000)]
Fix provision of registry using Python.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26518
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 17 Dec 2007 23:16:12 +0000 (23:16 +0000)]
Add functions for setting and getting parameters on a LoadParm.
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26517
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 17 Dec 2007 23:16:05 +0000 (23:16 +0000)]
Fix line splitting in subunitrun.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26516
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Mon, 17 Dec 2007 22:49:36 +0000 (22:49 +0000)]
nsswitch: Get rid of a pstring
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26515
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Mon, 17 Dec 2007 20:18:02 +0000 (20:18 +0000)]
Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26514
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 17 Dec 2007 20:03:06 +0000 (20:03 +0000)]
Update substitution dictionary for ldifs.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26513
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
jelmer [Mon, 17 Dec 2007 19:18:55 +0000 (19:18 +0000)]
Another attempt at fixing darwin
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26512
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
kai [Mon, 17 Dec 2007 18:31:16 +0000 (18:31 +0000)]
Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26511
0c0555d6-39d7-0310-84fc-
f1cc0bd64818