Jelmer Vernooij
a2dcf7bd22
Python: add some docstrings.
...
(This used to be commit 1de69a772e1cc007220add1f51bffe83784c3344)
2008-01-24 01:06:19 +01:00
Jelmer Vernooij
4277181453
python: Support --no-pass.
...
(This used to be commit a90f3e8c420bec7fd7a39e0d5e2df6b32aedcdd5)
2008-01-24 01:05:57 +01:00
Jelmer Vernooij
decdf5954d
python: Add convenience function for getting command line loadparm context
...
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-23 23:38:57 +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
001b2435f0
python: Add simple test for samr python code.
...
(This used to be commit 0a039fabcba9510ab600b2e4becbf75a58d2134d)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
035599fa65
python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
...
(This used to be commit 16fc69b843e92ae62b15caf927335cc117156499)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
7dd468ff2e
python: Fix python code for winreg, add test.
...
(This used to be commit bd3e6c41c42738fcfcc5cef4e65f0e219d358260)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
271f5f18f2
python: Fix last bugs in rpcecho test. It passes now!
...
(This used to be commit 25a0cd091bb24e579ceb34472d9c213aae157ba9)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
3b16c532f2
pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
...
(This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
db4ee4cce5
python: Fix rpcecho tests.
...
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
378dff1365
python: Fix typo.
...
(This used to be commit d6b06fc03e37781f5f59b15cff8fe3ee8df63444)
2008-01-11 16:28:17 +01: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
5e03b92182
r26642: samba3sam.py: Remove more EJS-specific code.
...
(This used to be commit 7d14b657b3d59924b15f4f84bbd5745cd7f759ef)
2008-01-01 19:57:02 -06: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
77c825f08b
r26618: Implement -W option support.
...
(This used to be commit e48026b17d682c01eb3343ef35f6e847b18fa297)
2007-12-28 09:42:01 -06:00
Jelmer Vernooij
8ad2a035e3
r26616: Support parsing of user data in SAmba 3 tdbsam.
...
(This used to be commit 2f33e0451d6699fed8bc9abfa2f331317502b358)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
094f364fe1
r26614: Fix options parsing for credentials in Python.
...
(This used to be commit 9ef3b7de6baadeb2240ef9d24c55be9dc4cccf1e)
2007-12-27 17:36:05 -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
c4d3666ac2
r26607: Fix reading of values and subkeys in Samba 3 registry files.
...
(This used to be commit e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)
2007-12-26 15:03: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
7c146c42d2
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.
(This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
cc30cb5e24
r26592: Finish fixing the samba3dump script.
...
(This used to be commit 85679f3fc98238f90280f9f10d42550d71eeb918)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
3c22677a8c
r26591: Get the first bits of samba3dump to work again.
...
(This used to be commit 3511027515f8ea860fbe46639d9169999646a297)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
8ada900ee6
r26590: Parsing routines for the smbpasswd file and idmap database.
...
(This used to be commit 0c14e16a2bc965d3319ca990089566bff98a47fe)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
95b1f554b2
r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
...
(This used to be commit c7c4cf258ac7975b409d26c9386838d4780c756f)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
59efa6e5d0
r26585: Fix samba3.python tests.
...
(This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)
2007-12-26 11:57:04 -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
2fef113e82
r26521: Fix newlines.
...
(This used to be commit 174aa1583791a4c305bc49cf78f8f10d42701bc9)
2007-12-21 05:51:40 +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
323c174be3
r26506: Start running (really trivial) tests for upgrade script.
...
(This used to be commit 73bd4a9566d15f85a971e3a87cefbec2e2eece1c)
2007-12-21 05:51:12 +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