samba_upgradeprovision: Do not reset every DN when changing an SD
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Feb 2013 04:56:18 +0000 (15:56 +1100)
committerKarolin Seeger <kseeger@samba.org>
Sun, 7 Apr 2013 19:34:03 +0000 (21:34 +0200)
commit2b1f5d42f73f3a63b357696d8fee14ec97a91c03
treebada73b8f50960dde74e504d1859609ef1f5c1a1
parent3e840c5186a6c374a5275f97485a20f508c7c9fb
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>
(cherry picked from commit d5d88bd82b1cb51da09cf3b3dec40f180f5ed29f)
source4/scripting/bin/samba_upgradeprovision