summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-01-23 15:23:13 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-01-27 20:14:20 +1100
commitb5cafa3b84e6cca5ca83fbcc0963def7d0c286d5 (patch)
tree7a2b3e591cb95ad350a6ca25cf3461b7bdd948ed /source4
parentec466aa35656764c8a8af724cda692f2302a0c04 (diff)
downloadsamba-b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5.tar.gz
samba-b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5.tar.bz2
samba-b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5.zip
samba_upgradeprovision: don't reset 'whenCreated' when resetting 'nTSecurityDescriptor'
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/samba_upgradeprovision2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/scripting/bin/samba_upgradeprovision b/source4/scripting/bin/samba_upgradeprovision
index 7060b73f23..9daabe318f 100755
--- a/source4/scripting/bin/samba_upgradeprovision
+++ b/source4/scripting/bin/samba_upgradeprovision
@@ -1357,8 +1357,6 @@ def rebuild_sd(samdb, names):
delta.dn = Dn(samdb, key)
sd_flags = SECINFO_OWNER | SECINFO_GROUP | SECINFO_DACL | SECINFO_SACL
try:
- delta["whenCreated"] = MessageElement(hash[key], FLAG_MOD_REPLACE,
- "whenCreated" )
descr = get_empty_descriptor(names.domainsid)
delta["nTSecurityDescriptor"] = MessageElement(descr, FLAG_MOD_REPLACE,
"nTSecurityDescriptor")