1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

819 Commits

Author SHA1 Message Date
Jelmer Vernooij
7ff974a226 r26599: 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.
(This used to be commit 6b1e25b702847cd6662b4aece35692b099707b74)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
43a03b0fb4 r26598: Simplify the way Python tests are run.
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
327847b987 r26597: Attempt to provide alternative for hosts that don't have python-config.
(This used to be commit fa5d1923efe5c1dc7ef12757b41f8d8eafcb1288)
2007-12-26 11:57:08 -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
cea31e3216 r26595: Fix includes for hosts without gssapi as system header.
(This used to be commit 64203a6b7b98be59af192290b0106979c2b2f71a)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
e8bca8dd71 r26594: 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.
(This used to be commit 2d2674ad79330f59210408fd03e859afc01f40f2)
2007-12-26 11:57:07 -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
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
1ab5bcfb93 r26575: 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.
(This used to be commit 03270c5ffdb1476bef5eba846c2ea008111375fc)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
2007-12-24 01:51:03 -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
758be0eedc r26555: Use python-config utility to find python compile/link flags.
(This used to be commit 6cc5e838e6c411ce74e7abde685720aa1f3cbdfb)
2007-12-24 01:50:59 -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
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21 05:52:05 +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
Stefan Metzmacher
5ed08ebac3 r26534: configure: using == in shell scripts isn't portable
Thanks to Björn Jacke <bj@sernet.de> for reporting this.

metze
(This used to be commit 1d5d97083029956fd1ce5eb2c0333052a46a334a)
2007-12-21 05:51:55 +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
c619f86efc r26516: Fix line splitting in subunitrun.
(This used to be commit 623b7b31144f9da5e256e5541d04db8698dd39d3)
2007-12-21 05:51:20 +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
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
07beaf09c9 r26480: Add utility class for testing LDB code.
(This used to be commit d7f0b12c9e43b93705f6b9fa6b5ab74fe68e80a0)
2007-12-21 05:50:37 +01:00
Jelmer Vernooij
440fd87961 r26477: Allow setting loadparm context for a ldb context in python, plus some other minor improvements.
(This used to be commit d88527a9d6435203faa8273347d5aa41937e5395)
2007-12-21 05:50:36 +01:00