From: Howard Chu Date: Sun, 9 Jul 2006 10:21:42 +0000 (+0000) Subject: ITS#4587 fix for uniquemember/NameAndOptionalUID syntax X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~58 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c94c10a3b8c20e14c5b59236a4a674b6c63e8c52;p=openldap ITS#4587 fix for uniquemember/NameAndOptionalUID syntax --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 886bc745fc..080a43b357 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -1649,7 +1649,8 @@ slap_acl_mask( ACL_RECORD_VALUE_STATE; /* must have DN syntax */ - if ( desc->ad_type->sat_syntax != slap_schema.si_syn_distinguishedName ) continue; + if ( desc->ad_type->sat_syntax != slap_schema.si_syn_distinguishedName && + !is_at_syntax( desc->ad_type, SLAPD_NAMEUID_SYNTAX )) continue; /* check if the target is an attribute. */ if ( val == NULL ) continue;