From b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 23 Jan 2013 15:23:13 +0100 Subject: [PATCH] samba_upgradeprovision: don't reset 'whenCreated' when resetting 'nTSecurityDescriptor' Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source4/scripting/bin/samba_upgradeprovision | 2 -- 1 file changed, 2 deletions(-) diff --git a/source4/scripting/bin/samba_upgradeprovision b/source4/scripting/bin/samba_upgradeprovision index 7060b73f236a..9daabe318fac 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") -- 2.34.1