mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-26 03:24:29 -04:00
ITS#10503 authzTo: reject member attributes with non-DN syntax
This commit is contained in:
parent
12656a7ca7
commit
0c8a5875d0
1 changed files with 4 additions and 0 deletions
|
|
@ -368,6 +368,10 @@ is_dn: bv.bv_len = in->bv_len - ( bv.bv_val - in->bv_val );
|
|||
if ( rc != LDAP_SUCCESS ) {
|
||||
return rc;
|
||||
}
|
||||
if (ad->ad_type->sat_syntax != slap_schema.si_syn_distinguishedName &&
|
||||
!is_at_syntax( ad->ad_type, SLAPD_NAMEUID_SYNTAX )) {
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
}
|
||||
|
||||
if ( oc_bvfind( &group_oc ) == NULL ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue