mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
more on AttributeDescription error messages
This commit is contained in:
parent
d58055b7de
commit
89b284eef5
1 changed files with 2 additions and 2 deletions
|
|
@ -663,13 +663,13 @@ int slap_bv2undef_ad(
|
|||
assert( ad != NULL );
|
||||
|
||||
if( bv == NULL || bv->bv_len == 0 ) {
|
||||
*text = "empty attribute description";
|
||||
*text = "empty AttributeDescription";
|
||||
return LDAP_UNDEFINED_TYPE;
|
||||
}
|
||||
|
||||
/* make sure description is IA5 */
|
||||
if( ad_keystring( bv ) ) {
|
||||
*text = "attribute description contains inappropriate characters";
|
||||
*text = "AttributeDescription contains inappropriate characters";
|
||||
return LDAP_UNDEFINED_TYPE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue