Commit cc6aa521 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7205 fix check for existing suffix

parent c4a040ad
......@@ -2938,7 +2938,8 @@ config_suffix(ConfigArgs *c)
if (SLAP_DB_ONE_SUFFIX( c->be ) && c->be->be_suffix ) {
if (SLAP_DB_ONE_SUFFIX( c->be ) && c->be->be_suffix &&
!BER_BVISNULL( &c->be->be_suffix[0] )) {
snprintf( c->cr_msg, sizeof( c->cr_msg ), "<%s> Only one suffix is allowed on this %s backend",
c->argv[0], c->be->bd_info->bi_type );
Debug(LDAP_DEBUG_ANY, "%s: %s\n",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment