mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#4587 fix for uniquemember/NameAndOptionalUID syntax
This commit is contained in:
parent
fb11017d64
commit
c94c10a3b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user