1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

1234 Commits

Author SHA1 Message Date
Jelmer Vernooij
7df18932f6 use gmake to handle .py file copies.
(This used to be commit 33111f98df7e8f9bb7d62599c6b13a1a4479a2e1)
2008-02-16 16:15:21 +01:00
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
b4ce9dc360 Fix invalid symbol.
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
2008-02-13 01:21:06 +01:00
Jelmer Vernooij
04aef38453 Fix subunit runner exit codes.
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
2008-02-12 22:10:25 +01:00
Jelmer Vernooij
fdd75e135a Correctly increment counters in Subunit test runner.
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
2008-02-12 21:59:23 +01:00
Jelmer Vernooij
08c8d3b992 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)
(This used to be commit c16212e8bf5343496ea4b3afc30a8b4d3a0afe2d)
2008-02-11 13:51:09 +01:00
Jelmer Vernooij
af007e5837 Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
(This used to be commit eb04de69c0e319e18b148191946808f81e1cc8c4)
2008-02-11 13:20:24 +01:00
Jelmer Vernooij
e4165448d7 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
(This used to be commit 35f5c8294e9f3b304987597d4bcfc75fdda05982)
2008-02-11 13:10:11 +01:00
Kai Blin
176f32cc97 provision: Fix new user creation.
Spotted by nobody88 in IRC.
(This used to be commit 38d4e2407afb942de21379dc886f9e4c5532a2b9)
2008-02-11 10:38:19 +01:00
Jelmer Vernooij
cac225ba7d More syntax fixes, use more standard python functions.
(This used to be commit ea07509b4a9335a3b3fe6f6da1124fd1aab33c96)
2008-02-10 00:56:55 +01:00
Jelmer Vernooij
f75d624129 Start working on python conversion of minschema.
(This used to be commit 239a1616644321e2d1e64985ea3f3c4971997228)
2008-02-10 00:21:41 +01:00
Jelmer Vernooij
2cf29aebff Add tests for upgrade of WINS database.
(This used to be commit 7777611c0f32a693f0fa057c130e4ea491658f6b)
2008-02-09 22:29:42 +01:00
Jelmer Vernooij
63aa4b9021 Remove unused define.
(This used to be commit 64d6d729135e1b3b19c9bdbbe973fcdaca15e8b3)
2008-02-09 20:47:12 +01:00
Jelmer Vernooij
1342b265ca Fix typo.
(This used to be commit 80dbf04266d15833f7eb18704cfece1f95965e83)
2008-02-09 20:09:58 +01:00
Jelmer Vernooij
ec106a1421 Merge branch 'v4-0-trivial' into v4-0-python
(This used to be commit b874f07175ae38a041f53f0e4ac6a4050dcefeae)
2008-02-09 20:06:54 +01:00
Jelmer Vernooij
cf287aa831 Add docstring.
(This used to be commit 073ed0dd1cc8fae9eb4a2f7ff6763124917c56e8)
2008-02-09 17:42:31 +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
c61dc38494 Re-enable python support in BECOME-DC test.
(This used to be commit ed44fd59bfa289bcef82e0650ccda381efb52268)
2008-02-09 15:42:19 +01:00
Jelmer Vernooij
4932e4bb7a Fix upgrade after provision parameter rename.
(This used to be commit 361b9f43fb2abb64f2cbae7740b89a616a3c2646)
2008-02-09 03:59:45 +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
c1c09e584e LDAP now works with the python provision!
Andrew Bartlett
(This used to be commit 8f0a89ca19d6a3986dacd981fab1ebbc8b1a4ad0)
2008-02-08 17:12:25 +11: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
Andrew Bartlett
77f71c1b65 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
(This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2008-02-04 17:51:38 +11:00
Jelmer Vernooij
61379d97cd python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
(This used to be commit 421bdd203eab09e560f4919715fa4cc4497e406f)
2008-01-29 14:27:27 +01:00
Jelmer Vernooij
bcad73a7f7 Partially revert d64a2288a2cb3a8f74a18b740b265a460773635d and 351c2e99ab8b6a91f7355077b2d2944fd820839c to see if that fixes the build.
(This used to be commit 2a79cebfd99f4048214be65a6c918cc988dc83ed)
2008-01-29 13:10:43 +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
172e00d8a1 python: Load smb.conf file for the provision tests.
(This used to be commit 41571bbb933c763a9608f4ba56f1a5a97af133ab)
2008-01-26 02:55:03 +01:00
Stefan Metzmacher
e41a632902 configure: define HAVE_WORKING_PYTHON
metze
(This used to be commit 351c2e99ab8b6a91f7355077b2d2944fd820839c)
2008-01-25 15:46:54 +01:00
Jelmer Vernooij
21f5f4d440 python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
2008-01-25 12:16:13 +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
c91791bbc4 python: Add test for secretsdb_become_dc
(This used to be commit 9173c678efb6f74dbec64298bcb00952feff2ed7)
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
76eb7ddd75 python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35)
2008-01-25 01:30:43 +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
8afcbdcfe7 python: Make SamDB.set_ntds_invocation_id take a string.
(This used to be commit 59bb26772f089cf4d8727c12230cfef8126762b1)
2008-01-25 00:51:09 +01:00
Jelmer Vernooij
d958f4b391 python: Add function to look for unsubsituted variables.
(This used to be commit e726ce5bc515ae8d10b472396e228cfd35737476)
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
859b847a68 python: Add bindings for SamDB.set_invocation_id().
(This used to be commit c09efa7b778f9cb29032a6abfd914fcaae8df163)
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
52bc292f58 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d4d4120b715dc37b708b1c6074eab4f5c23d6b8f)
2008-01-24 22:00:07 +01:00
Andrew Bartlett
6e5c528f87 Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
Andrew Bartlett
(This used to be commit be5eb2da241452ccc0526f4f115aa44c0793c351)
2008-01-24 16:25:35 +11:00
Andrew Bartlett
48e79659d1 Make the repl_meta_data module the default for domain controllers.
Andrew Bartlett
(This used to be commit ae2ea1bd0cd2b326b09b372428969f2cf52ce519)
2008-01-24 16:17:45 +11:00
Andrew Bartlett
a2d7a3b627 Use the repl_meta_data module by default.
This means that, except when we back onto LDAP, when it will be
replaced with the mapping backend, we will keep this codepath tested.

Andrew Bartlett
(This used to be commit e8fb5da5a18c1c3bd788b1ab3f814ffb847b00fd)
2008-01-24 14:28:25 +11:00
Andrew Bartlett
1557e7b930 Kill another sub that the modules will handle for us.
(This used to be commit e9bb130d63e86fafc4cbf379e2e237354b88bcf8)
2008-01-24 11:33:37 +11:00