summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-02 12:30:48 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 17:28:35 +1100
commit0bc902ac841ec883fb5a22b1db185d86ae12b114 (patch)
tree928fb7a14c87be425c635c89e41b4cc074565817
parenta214ebc3d6c93242837ac2a4a8ccaf36c814b119 (diff)
downloadsamba-0bc902ac841ec883fb5a22b1db185d86ae12b114.tar.gz
samba-0bc902ac841ec883fb5a22b1db185d86ae12b114.tar.bz2
samba-0bc902ac841ec883fb5a22b1db185d86ae12b114.zip
s4-sddl: DRS replication needs REVISION_ADS for SDs
DRS replication with w2k8-r2 fails with a schema mismatch error if we set the revision to NT4
-rw-r--r--source4/libcli/security/sddl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c
index 2244a3d3ed..c4f8c5667b 100644
--- 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 */