mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
ITS#10073 back-ldap: Make sure we have a suffix configured
This commit is contained in:
parent
ba90df4dc3
commit
39403c9db2
1 changed files with 5 additions and 0 deletions
|
|
@ -214,6 +214,11 @@ ldap_back_db_open( BackendDB *be, ConfigReply *cr )
|
|||
"ldap_back_db_open: URI=%s\n",
|
||||
li->li_uri != NULL ? li->li_uri : "" );
|
||||
|
||||
if ( be->be_suffix == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY, "ldap_back_db_open: need suffix.\n" );
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* by default, use proxyAuthz control on each operation */
|
||||
switch ( li->li_idassert_mode ) {
|
||||
case LDAP_BACK_IDASSERT_LEGACY:
|
||||
|
|
|
|||
Loading…
Reference in a new issue