1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-30 18:53:31 +03:00

251 Commits

Author SHA1 Message Date
Jelmer Vernooij
7c96ca88c4 Formatting fixes.
(This used to be commit bc0fab89e325ebb6ab870b1c3f4b263c50631b70)
2008-02-16 15:23:26 +01:00
Jelmer Vernooij
85fe22a85f Use struct for provision parameters since there are so many of them.
(This used to be commit 4b9d5bc57ca4ee14c142ea720dce5e4ee97f8c16)
2008-02-15 15:14:55 +01:00
Jelmer Vernooij
08e3f99f14 Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
2fa4c15858 Fix syntax of docstrings, set project name when generating Python API documentation.
(This used to be commit 68f13d87eb034fdbc712169f2d1b1a0475751ec5)
2008-02-09 17:37:42 +01:00
Jelmer Vernooij
bd0bfe6833 Fix provision python test.
(This used to be commit b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)
2008-02-09 03:09:56 +01:00
Jelmer Vernooij
2aac2a5df8 Add tests for findnss(), add some docstrings.
(This used to be commit 4eec2bbc9a139e927ce21c615ebfbb3026b26384)
2008-02-09 02:10:49 +01:00
Jelmer Vernooij
c1d8ac0ab1 Remove unused class members.
(This used to be commit 373ef4287f998b79bf9ba6364d6a67e5c522833d)
2008-02-09 01:42:38 +01:00
Jelmer Vernooij
f47093baf0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit e367df5d994181f08ad1a20a0ce01991ca30bcc8)
2008-02-08 14:02:22 +01:00
Andrew Bartlett
26897518ea Fix LDAP backend with python
We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI

Andrew Bartlett
(This used to be commit 603e981250b26b533ec35dd607cb635226cf99df)
2008-02-08 17:11:26 +11:00
Jelmer Vernooij
fffe4f3bdd Fix formatting.
(This used to be commit 73d1b0fcb64fdc7be1e1e1002f3f182fcbe476ae)
2008-02-08 03:03:44 +01:00
Jelmer Vernooij
cab677a33f python: Use relative paths for registry.
(This used to be commit 079200b824de6dd8c7de3e5b76ed1805fde02965)
2008-01-26 04:22:42 +01:00
Jelmer Vernooij
1c5e713cce Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit 64babbec22f165e34799d36ff4b76806d9fead50)
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
6c2d4f2806 python/provision: Reload secrets when necessary, fix unix names in mappings.
Pair programmed with Andrew.
(This used to be commit 04fe8c8aefae8da8966954d0654c37adf2d0361d)
2008-01-25 11:47:44 +01:00
Andrew Bartlett
1b18de131c 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
(This used to be commit 5370484d25b8c7a5bde730d9be36ecbbb0aaf315)
2008-01-25 17:11:20 +11:00
Jelmer Vernooij
dcb04065cd 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. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
37f35d2a03 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 :-)
(This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
a2dcf7bd22 Python: add some docstrings.
(This used to be commit 1de69a772e1cc007220add1f51bffe83784c3344)
2008-01-24 01:06:19 +01:00
Andrew Bartlett
064eb82870 Remove --ldap-base from the python provision script
(This is a merge from the ejs script)

Andrew Bartlett
(This used to be commit d822dfa017b84895222ace8c44935fb872930548)
2008-01-18 13:25:01 +11:00
Jelmer Vernooij
7c3e8c838f Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
(This used to be commit f056f624958af79204c972eba3f85e36e93daed7)
2008-01-11 16:13:46 +01:00
Jelmer Vernooij
2bd4bf6a1b r26629: python: Improve documentation in various places.
(This used to be commit ee71a27bca66426d34cb1d686a83ac6a342329d3)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
6817c5d885 r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
a61e25f174 r26622: python: Update license version, clarify copyright.
(This used to be commit 3ee62094074d74b6c69948730f2892f0a430f40b)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
222262b54e r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f602f770f55a1171174f11b922fed8e7)
2007-12-26 21:18:02 -06:00
Jelmer Vernooij
533cc583ed r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df62240cae64d27a1920d878316f819fc)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
aa0a06f13c 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.
(This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
f053e385ff r26566: Fix member provision when using python.
(This used to be commit e5573283df9e98bccc8eae227cf0f11367ecf084)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
249cc734ce r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
(This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
09f820f0bd r26564: More python bindings for registry code.
(This used to be commit f40fad9827d0e9567224bc1e64ea91e610a07a3f)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
b7ffc3b404 r26562: Fix provisioning using Python.
(This used to be commit b07ca944ba62a3f3de58c06b66533c0953a32de9)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
30ce895e0c r26559: Make the provision function a bit smaller.
(This used to be commit a1175231a58c60f32574816643dafc78ff867161)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
109a903750 r26545: Sync output with ejs.
(This used to be commit 48ceaa964327ed7094275780cc3c0767636bcb18)
2007-12-21 06:28:46 +01:00
Jelmer Vernooij
c2fffa8335 r26538: Pass path generation function around rather than base directory.
(This used to be commit 5f921af41e4dcd6844f6a662d56bd27c4e76ff88)
2007-12-21 05:51:59 +01:00
Jelmer Vernooij
86f91db7d5 r26536: More tests for provisioning code.
(This used to be commit 43c8bfeedf06ce806c524a28fa72c643f6db60f4)
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
595ec370da r26535: Get rid of all-knowing ProvisionSettings object.
(This used to be commit 40bf88c8a70e8379a6081cb6050034bcd7ae56eb)
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
4e6ab64762 r26527: Start on tests for provision.
(This used to be commit 84ac6c6bbfc4baaf28906ee5826a9cf888043656)
2007-12-21 05:51:50 +01:00
Jelmer Vernooij
44946cefb3 r26525: Consistency in the API.
(This used to be commit 37577fee582e7c9896b5cf8b62016d480b8f147e)
2007-12-21 05:51:48 +01:00
Jelmer Vernooij
4bfbd78086 r26524: Import self join.
(This used to be commit daae983c260da6af6a4f1cba1290bc7240d7a970)
2007-12-21 05:51:47 +01:00
Jelmer Vernooij
1c29a63d44 r26523: Refactor provisioning code.
(This used to be commit ac1083178f9e521dcd5d3d8b5199abcb00159adf)
2007-12-21 05:51:44 +01:00
Jelmer Vernooij
54a48d40a1 r26522: Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.
(This used to be commit 20c686f501b652ec0578a075a124b72ecb5f41b6)
2007-12-21 05:51:42 +01:00
Jelmer Vernooij
63f53094ef r26520: More Python updates.
(This used to be commit a8b1fe15ac853082961132ede061fe1556ae29f7)
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
12a513b47b r26518: Fix provision of registry using Python.
(This used to be commit 12eb38e553993b2726a803af4ae9c05229d6ebe4)
2007-12-21 05:51:25 +01:00
Jelmer Vernooij
57b8a8fd42 r26517: Add functions for setting and getting parameters on a LoadParm.
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
(This used to be commit 7a15b486bae8fb774058b2d94cc12b7b01ee6ac0)
2007-12-21 05:51:23 +01:00
Jelmer Vernooij
ca74c6e6c4 r26513: Update substitution dictionary for ldifs.
(This used to be commit 60fb2de2119cb2f42f858868e39c3b0d303ac20f)
2007-12-21 05:51:18 +01:00
Jelmer Vernooij
f89c7a6e5e r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
(This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
2007-12-21 05:51:09 +01:00
Jelmer Vernooij
32f439bfa4 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.
(This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
09915ce8b7 r26499: Allow testing python provision by setting the PROVISION_PYTHON environment variable.
(This used to be commit 379d0bbb2f9e0cd9b1855fd77bbb89827e0315ad)
2007-12-21 05:50:55 +01:00
Jelmer Vernooij
b0360e3a86 r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
(This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)
2007-12-21 05:50:50 +01:00
Jelmer Vernooij
be99991267 r26484: Don't rely on removed header.
(This used to be commit 6ca2b350858c0747449671234d54584635512705)
2007-12-21 05:50:42 +01:00
Jelmer Vernooij
eb2c71912b r26471: Sync with js version.
(This used to be commit c0eea26e8e8eb326112e1833d137751fb7e900d2)
2007-12-21 05:50:33 +01:00
Jelmer Vernooij
eba25f5d18 r26375: Move provision-independent utility function to main samba python module.
(This used to be commit 9d0ff47be069422de7ef2794357c6f3e9c540e67)
2007-12-21 05:49:10 +01:00