Jelmer Vernooij
d45c6b5574
Avoid python2.2-specific types.
2008-02-20 11:32:56 +01:00
Jelmer Vernooij
92c1c0e913
Fix static module list generation for ldb.
2008-02-20 03:40:44 +01:00
Jelmer Vernooij
0e1d0a874a
Rename include to mkinclude to emphasize it is different from make's include.
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
269cbf84d8
Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
2008-02-18 19:06:17 +01:00
Jelmer Vernooij
bc0fab89e3
Formatting fixes.
2008-02-16 15:23:26 +01:00
Jelmer Vernooij
4b9d5bc57c
Use struct for provision parameters since there are so many of them.
2008-02-15 15:14:55 +01:00
Jelmer Vernooij
8b33860954
Initial work on a test for samba.tests.samdb
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
bd0ef811c4
Fix invalid symbol.
2008-02-13 01:21:06 +01:00
Jelmer Vernooij
7911308dbc
Fix subunit runner exit codes.
2008-02-12 22:10:25 +01:00
Jelmer Vernooij
c474a2bb83
Correctly increment counters in Subunit test runner.
2008-02-12 21:59:23 +01:00
Jelmer Vernooij
c16212e8bf
Remove Samba 3 backwards compatibility code in C.
...
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
2008-02-11 13:51:09 +01:00
Jelmer Vernooij
eb04de69c0
Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
2008-02-11 13:20:24 +01:00
Jelmer Vernooij
35f5c8294e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
2008-02-11 13:10:11 +01:00
Kai Blin
38d4e2407a
provision: Fix new user creation.
...
Spotted by nobody88 in IRC.
2008-02-11 10:38:19 +01:00
Jelmer Vernooij
ea07509b4a
More syntax fixes, use more standard python functions.
2008-02-10 00:56:55 +01:00
Jelmer Vernooij
239a161664
Start working on python conversion of minschema.
2008-02-10 00:21:41 +01:00
Jelmer Vernooij
7777611c0f
Add tests for upgrade of WINS database.
2008-02-09 22:29:42 +01:00
Jelmer Vernooij
64d6d72913
Remove unused define.
2008-02-09 20:47:12 +01:00
Jelmer Vernooij
80dbf04266
Fix typo.
2008-02-09 20:09:58 +01:00
Jelmer Vernooij
b874f07175
Merge branch 'v4-0-trivial' into v4-0-python
2008-02-09 20:06:54 +01:00
Jelmer Vernooij
073ed0dd1c
Add docstring.
2008-02-09 17:42:31 +01:00
Jelmer Vernooij
68f13d87eb
Fix syntax of docstrings, set project name when generating Python API documentation.
2008-02-09 17:37:42 +01:00
Jelmer Vernooij
ed44fd59bf
Re-enable python support in BECOME-DC test.
2008-02-09 15:42:19 +01:00
Jelmer Vernooij
361b9f43fb
Fix upgrade after provision parameter rename.
2008-02-09 03:59:45 +01:00
Jelmer Vernooij
b173fa6bd2
Fix provision python test.
2008-02-09 03:09:56 +01:00
Jelmer Vernooij
4eec2bbc9a
Add tests for findnss(), add some docstrings.
2008-02-09 02:10:49 +01:00
Jelmer Vernooij
373ef4287f
Remove unused class members.
2008-02-09 01:42:38 +01:00
Jelmer Vernooij
e367df5d99
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
...
Conflicts:
source/scripting/python/samba/provision.py
2008-02-08 14:02:22 +01:00
Andrew Bartlett
8f0a89ca19
LDAP now works with the python provision!
...
Andrew Bartlett
2008-02-08 17:12:25 +11:00
Andrew Bartlett
603e981250
Fix LDAP backend with python
...
We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI
Andrew Bartlett
2008-02-08 17:11:26 +11:00
Jelmer Vernooij
73d1b0fcb6
Fix formatting.
2008-02-08 03:03:44 +01:00
Andrew Bartlett
931994a7f1
Rework cluster_id() to take an additional argument, as we need
...
<node>.<pid>.<fd> to be unique in a prefork process environment.
Andrew Bartlett and David Disseldorp
2008-02-04 17:51:38 +11:00
Jelmer Vernooij
421bdd203e
python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
2008-01-29 14:27:27 +01:00
Jelmer Vernooij
2a79cebfd9
Partially revert d64a2288a2 and 351c2e99ab to see if that fixes the build.
2008-01-29 13:10:43 +01:00
Jelmer Vernooij
079200b824
python: Use relative paths for registry.
2008-01-26 04:22:42 +01:00
Jelmer Vernooij
41571bbb93
python: Load smb.conf file for the provision tests.
2008-01-26 02:55:03 +01:00
Stefan Metzmacher
351c2e99ab
configure: define HAVE_WORKING_PYTHON
...
metze
2008-01-25 15:46:54 +01:00
Jelmer Vernooij
f3ebaf0a0c
python: Give precedence to Samba's syspath over the already set system one.
2008-01-25 12:16:13 +01:00
Jelmer Vernooij
64babbec22
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
...
Conflicts:
source/scripting/python/samba/provision.py
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
04fe8c8aef
python/provision: Reload secrets when necessary, fix unix names in mappings.
...
Pair programmed with Andrew.
2008-01-25 11:47:44 +01:00
Andrew Bartlett
5370484d25
Tidy up the last regresesions on the python smbscript, from my work
...
with Jelmer today.
The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.
Andrew Bartlett
2008-01-25 17:11:20 +11:00
Jelmer Vernooij
dff54ff043
python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
...
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
9173c678ef
python: Add test for secretsdb_become_dc
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
859cffed9d
python: fix tests for check_all_substituted.
2008-01-25 01:30:43 +01:00
Jelmer Vernooij
688adcbb63
python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
...
Pair-programmed by Andrew and me using obby :-)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
59bb26772f
python: Make SamDB.set_ntds_invocation_id take a string.
2008-01-25 00:51:09 +01:00
Jelmer Vernooij
e726ce5bc5
python: Add function to look for unsubsituted variables.
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
c09efa7b77
python: Add bindings for SamDB.set_invocation_id().
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
d4d4120b71
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
2008-01-24 22:00:07 +01:00
Andrew Bartlett
be5eb2da24
Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
...
Andrew Bartlett
2008-01-24 16:25:35 +11:00