Douglas VanLeuven
c20cf59768
Fix member server provision
...
Can't add "member server" because the script aborts with null
reference when no match on serverrole. This is fixed by checking for
the keyword "member server".
(This used to be commit 62536750ae06248a49c6b56c86d01b0062bb54f0)
2008-03-03 11:08:59 +11:00
Andrew Bartlett
9b7baec42b
Reorder modules to have rdn_name before objectclass.
...
This ensures the relative DN is placed in the correct case into the
DB.
Andrew Bartlett
(This used to be commit 16378219fbf9e8a26621f848e85426180822ea29)
2008-02-28 08:39:45 +11:00
Kai Blin
895874d966
idmap: Handle uid->SID mapping
...
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)
2008-02-21 11:21:59 +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
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
2cf29aebff
Add tests for upgrade of WINS database.
...
(This used to be commit 7777611c0f32a693f0fa057c130e4ea491658f6b)
2008-02-09 22:29:42 +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
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
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
172e00d8a1
python: Load smb.conf file for the provision tests.
...
(This used to be commit 41571bbb933c763a9608f4ba56f1a5a97af133ab)
2008-01-26 02:55:03 +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
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
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