mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Check for SLAP_SYNTAX_DN flag instead of distinguishedName syntax
This commit is contained in:
parent
ce11612e9b
commit
c7305c4133
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ deref_parseCtrl (
|
|||
}
|
||||
}
|
||||
|
||||
if ( ds->ds_derefAttr->ad_type->sat_syntax != slap_schema.si_syn_distinguishedName ) {
|
||||
if ( !( ds->ds_derefAttr->ad_type->sat_syntax->ssyn_flags & SLAP_SYNTAX_DN )) {
|
||||
if ( ctrl->ldctl_iscritical ) {
|
||||
rs->sr_text = "Dereference control: derefAttr syntax not distinguishedName";
|
||||
rs->sr_err = LDAP_PROTOCOL_ERROR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue