mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
don't allow indexing of entryDN (ITS#5790)
This commit is contained in:
parent
36124c715a
commit
d4970fcb6f
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ bdb_attr_index_config(
|
|||
goto done;
|
||||
}
|
||||
|
||||
if( slap_ad_is_binary( ad ) ) {
|
||||
if( ad == slap_schema.si_ad_entryDN || slap_ad_is_binary( ad ) ) {
|
||||
if (c_reply) {
|
||||
snprintf(c_reply->msg, sizeof(c_reply->msg),
|
||||
"index of attribute \"%s\" disallowed", attrs[i] );
|
||||
|
|
|
|||
Loading…
Reference in a new issue