8f383fc5c8
s4-python: Remove more unused imports, fix use of sets in upgradehelpers.
2010-06-20 13:15:09 +02:00
3795358aca
Use standard Python syntax, booleans and set()'s where appropriate.
2010-06-20 12:06:50 +02:00
94e06fe203
Some more formatting fixes, move schema related functions from Ldb to Schema.
2010-06-20 02:46:57 +02:00
afad634207
Formatting cleanups; use True/False for booleans, unnecessary backslashes, spacing.
2010-06-20 01:57:11 +02:00
38a26f79ea
s4 upgradeprovision: Make grouped commit / rollback more resistant to unexpected problems
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:09 +02:00
c4f7b0e5f6
s4 upgradeprovision: Check that the policy for DC is present if not warn the user
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:09 +02:00
aea0003d08
s4 upgradeprovision: Emit message instead of crashing when not able to set acl
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:09 +02:00
75389cecdd
s4 upgradeprovision: Add function for searching stored constructed attributes
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:08 +02:00
9c5f0ed729
s4 upgradeprovision: additional restyling
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:08 +02:00
fbeacc1013
s4 upgradeprovision: Move functions to helpers and improve code
...
Among code improvement the most significant part is that we now
compare DN object instead of their string representation. It allow
to better react to case an white space difference.
Some new move objects have been added (ie. System into well known
security principals).
This will allow more unittesting
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:08 +02:00
ad55248958
s4 upgradeprovision: move some functions to upgradehelpers for unit tests
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:08 +02:00
50072e27fe
s4 Add functions related to ldb manipulation when doing upgrade
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-06-20 00:43:07 +02:00
d9d0d54475
upgradeprovision: Use logging infrastructure.
2010-06-13 18:19:03 +02:00
3552ad3ab1
upgrade: Properly cancel/commit transactions in a couple more places.
2010-06-13 18:19:03 +02:00
956a256faa
s4-python: Start using standard python logging infrastructure rather
...
than simple messaging callbacks.
2010-06-13 18:19:03 +02:00
c446fbc3bf
s4-python: Fix formatting.
2010-06-11 01:47:55 +02:00
7a6f1c7842
s4-python: Fix formatting, use standard convention to call instance methods.
2010-04-08 23:20:36 +02:00
d7a46ee129
s4-python: Simplify code, improve formatting.
2010-04-08 23:20:36 +02:00
31a517e172
s4-python: Move dsdb constants to a separate python module.
2010-04-04 00:14:23 +02:00
86e2b25186
More formatting fixes, pointed out by pylint.
2010-03-01 16:24:58 +01:00
31a718aa27
General cleanups of python code, hinted by pyflakes.
2010-03-01 04:46:51 +01:00
20e1d5a72e
More formatting fixes.
2010-03-01 03:41:52 +01:00
44c2d696bd
Fix formatting.
2010-03-01 03:29:47 +01:00
93d377424a
upgradeprovision: Remove unused imports, use shutil.rmtree rather than
...
rmall.
2010-03-01 03:25:07 +01:00
254e007bd9
upgradeprovision: Move to pythondoc format
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-03-01 03:20:36 +01:00
5054bdb4f2
upgradeprovision: code cleanup
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-03-01 03:20:36 +01:00
3bd16415d2
upgradeprovision: split the big script to put reusable functions appart
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2010-03-01 03:20:36 +01:00