mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Import empty rootdn fix
This commit is contained in:
parent
30b7f8e862
commit
e96639b6c5
@ -447,7 +447,7 @@ select_backend(
|
||||
}
|
||||
|
||||
|
||||
if ( (len < dnlen) && !(DN_SEPARATOR( dn[(dnlen-len)-1] )) ) {
|
||||
if ( len && len < dnlen && !DN_SEPARATOR( dn[(dnlen-len)-1] ) ) {
|
||||
/* make sure we have a separator */
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user