suffix must be present (ITS#3901)

This commit is contained in:
Pierangelo Masarati 2005-07-28 16:54:49 +00:00
parent 0582504893
commit 614d936ef4

View file

@ -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 );