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:
a214ebc
)
s4-sddl: DRS replication needs REVISION_ADS for SDs
author
Andrew Tridgell
<tridge@samba.org>
Sat, 2 Jan 2010 01:30:48 +0000
(12:30 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 2 Jan 2010 06:28:35 +0000
(17:28 +1100)
DRS replication with w2k8-r2 fails with a schema mismatch error if we
set the revision to NT4
source4/libcli/security/sddl.c
patch
|
blob
|
history
diff --git
a/source4/libcli/security/sddl.c
b/source4/libcli/security/sddl.c
index 2244a3d3ed322f929d72d4e2fddaef4de22fb821..c4f8c5667b30418e03181067134b2697de1c753e 100644
(file)
--- a/
source4/libcli/security/sddl.c
+++ b/
source4/libcli/security/sddl.c
@@
-304,7
+304,7
@@
static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
acl = talloc_zero(sd, struct security_acl);
if (acl == NULL) return NULL;
- acl->revision = SECURITY_ACL_REVISION_
NT4
;
+ acl->revision = SECURITY_ACL_REVISION_
ADS
;
if (isupper(sddl[0]) && sddl[1] == ':') {
/* its an empty ACL */