git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe2dc9
)
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
Stefan Metzmacher
<metze@samba.org>
Sat, 26 Jan 2013 13:29:05 +0000
(14:29 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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")