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
68f13d87eb
Fix syntax of docstrings, set project name when generating Python API documentation.
2008-02-09 17:37:42 +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
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
Jelmer Vernooij
079200b824
python: Use relative paths for registry.
2008-01-26 04:22:42 +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
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
1de69a772e
Python: add some docstrings.
2008-01-24 01:06:19 +01:00
Andrew Bartlett
d822dfa017
Remove --ldap-base from the python provision script
...
(This is a merge from the ejs script)
Andrew Bartlett
2008-01-18 13:25:01 +11:00
Jelmer Vernooij
f056f62495
Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
2008-01-11 16:13:46 +01:00
Jelmer Vernooij
ee71a27bca
r26629: python: Improve documentation in various places.
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
3c329ee73d
r26628: python: Add more documentation, simplify code in Samba3 module.
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
3ee6209407
r26622: python: Update license version, clarify copyright.
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
7ea06d91f6
r26608: More improvements to the upgrade code.
2007-12-26 21:18:02 -06:00
Jelmer Vernooij
2227fb6df6
r26596: Fixed upgrade.py.
...
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
c550c03372
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.
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
e5573283df
r26566: Fix member provision when using python.
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
485d1fa3d1
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
f40fad9827
r26564: More python bindings for registry code.
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
b07ca944ba
r26562: Fix provisioning using Python.
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
a1175231a5
r26559: Make the provision function a bit smaller.
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
48ceaa9643
r26545: Sync output with ejs.
2007-12-21 06:28:46 +01:00
Jelmer Vernooij
5f921af41e
r26538: Pass path generation function around rather than base directory.
2007-12-21 05:51:59 +01:00
Jelmer Vernooij
43c8bfeedf
r26536: More tests for provisioning code.
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
40bf88c8a7
r26535: Get rid of all-knowing ProvisionSettings object.
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
84ac6c6bbf
r26527: Start on tests for provision.
2007-12-21 05:51:50 +01:00
Jelmer Vernooij
37577fee58
r26525: Consistency in the API.
2007-12-21 05:51:48 +01:00
Jelmer Vernooij
daae983c26
r26524: Import self join.
2007-12-21 05:51:47 +01:00
Jelmer Vernooij
ac1083178f
r26523: Refactor provisioning code.
2007-12-21 05:51:44 +01:00
Jelmer Vernooij
20c686f501
r26522: Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.
2007-12-21 05:51:42 +01:00
Jelmer Vernooij
a8b1fe15ac
r26520: More Python updates.
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
12eb38e553
r26518: Fix provision of registry using Python.
2007-12-21 05:51:25 +01:00
Jelmer Vernooij
7a15b486ba
r26517: Add functions for setting and getting parameters on a LoadParm.
...
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
2007-12-21 05:51:23 +01:00
Jelmer Vernooij
60fb2de211
r26513: Update substitution dictionary for ldifs.
2007-12-21 05:51:18 +01:00
Jelmer Vernooij
d240225166
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
2007-12-21 05:51:09 +01:00
Jelmer Vernooij
1b89311e5f
r26503: Change order of arguments in param interface so it's easier to make the
...
section name optional. Fix several smaller bits and pieces in the Python code.
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
379d0bbb2f
r26499: Allow testing python provision by setting the PROVISION_PYTHON environment variable.
2007-12-21 05:50:55 +01:00
Jelmer Vernooij
75cfb0d609
r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
2007-12-21 05:50:50 +01:00
Jelmer Vernooij
6ca2b35085
r26484: Don't rely on removed header.
2007-12-21 05:50:42 +01:00
Jelmer Vernooij
c0eea26e8e
r26471: Sync with js version.
2007-12-21 05:50:33 +01:00
Jelmer Vernooij
9d0ff47be0
r26375: Move provision-independent utility function to main samba python module.
2007-12-21 05:49:10 +01:00
Jelmer Vernooij
090c799f98
r26366: Import provision scripts in Python.
2007-12-21 05:49:06 +01:00