From: Andrew Tridgell Date: Sat, 2 Jan 2010 01:30:48 +0000 (+1100) Subject: s4-sddl: DRS replication needs REVISION_ADS for SDs X-Git-Tag: samba-4.0.0alpha11~238 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=0bc902ac841ec883fb5a22b1db185d86ae12b114;hp=a214ebc3d6c93242837ac2a4a8ccaf36c814b119;p=samba.git 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 --- diff --git a/source4/libcli/security/sddl.c b/source4/libcli/security/sddl.c index 2244a3d3ed3..c4f8c5667b3 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 */