mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Normalize DN
This commit is contained in:
parent
7489eb2796
commit
48535e7d57
@ -84,6 +84,12 @@ ldbm_back_exop_passwd(
|
||||
goto done;
|
||||
}
|
||||
|
||||
if( dn_normalize( dn ) == NULL ) {
|
||||
*text = "Invalid DN";
|
||||
rc = LDAP_INVALID_DN;
|
||||
goto done;
|
||||
}
|
||||
|
||||
e = dn2entry_w( be, dn, NULL );
|
||||
|
||||
if( e == NULL ) {
|
||||
|
Loading…
Reference in New Issue
Block a user