git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237375c
)
samba_upgradeprovision: don't reset 'whenCreated' when resetting 'nTSecurityDescriptor'
author
Stefan Metzmacher
<metze@samba.org>
Wed, 23 Jan 2013 14:23:13 +0000
(15:23 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 28 Jan 2013 10:07:21 +0000
(11:07 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
b5cafa3b84e6cca5ca83fbcc0963def7d0c286d5
)
source4/scripting/bin/samba_upgradeprovision
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/samba_upgradeprovision
b/source4/scripting/bin/samba_upgradeprovision
index 7060b73f236aad60df32297195926bb9e961d39a..9daabe318facd80df6183cd34c55bbd946b1f2ce 100755
(executable)
--- 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")