s4 upgradeprovision: Move functions to helpers and improve code
authorMatthieu Patou <mat@matws.net>
Mon, 7 Jun 2010 20:01:16 +0000 (00:01 +0400)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Jun 2010 22:43:08 +0000 (00:43 +0200)
commitfbeacc1013bc3a95f19d7932a2bbf3d28176a977
treeed58183c9f26f584323239ad58d1e0f8a4d9dd6d
parent8ff65b0136f442204f4d059fb1a13ad4a6419ab4
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>
source4/scripting/bin/upgradeprovision
source4/scripting/python/samba/tests/upgradeprovision.py
source4/scripting/python/samba/tests/upgradeprovisionneeddc.py [new file with mode: 0644]
source4/scripting/python/samba/upgradehelpers.py
source4/selftest/tests.sh