s4-sddl: DRS replication needs REVISION_ADS for SDs
authorAndrew Tridgell <tridge@samba.org>
Sat, 2 Jan 2010 01:30:48 +0000 (12:30 +1100)
committerAndrew 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

index 2244a3d3ed322f929d72d4e2fddaef4de22fb821..c4f8c5667b30418e03181067134b2697de1c753e 100644 (file)
@@ -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 */