samba_upgradeprovision: Do not reset every DN when changing an SD
commitd5d88bd82b1cb51da09cf3b3dec40f180f5ed29f
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Feb 2013 04:56:18 +0000 (18 15:56 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Mar 2013 07:33:57 +0000 (4 08:33 +0100)
treed9ba01aade1269aa98f424939896a4e552bbb6fd
parent0f247dce00fd26230cdb0566ce4f51a2ea8cfc2b
samba_upgradeprovision: Do not reset every DN when changing an SD

SD propogation is handled by an LDB module, we do not need to touch each
and every DN to make it happen.

Now that we do not need to put this via a hash, the dnToRecalculate
list is changed to be a list of Dn objects, not strings so that:

if dn in listWellknown

is handled using a schema comparison (avoiding different case forms
tripping it up).

Andrew Bartlett

Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/scripting/bin/samba_upgradeprovision