mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-14 02:43:04 -05:00
suffix must be present (ITS#3901)
This commit is contained in:
parent
0582504893
commit
614d936ef4
1 changed files with 7 additions and 0 deletions
|
|
@ -270,6 +270,13 @@ bdb_db_open( BackendDB *be )
|
|||
char path[MAXPATHLEN];
|
||||
char *ptr;
|
||||
|
||||
if ( be->be_suffix == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"bdb_db_open: need suffix\n",
|
||||
0, 0, 0 );
|
||||
return -1;
|
||||
}
|
||||
|
||||
Debug( LDAP_DEBUG_ARGS,
|
||||
"bdb_db_open: %s\n",
|
||||
be->be_suffix[0].bv_val, 0, 0 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue