mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#7205 fix check for existing suffix
This commit is contained in:
parent
af3a23a1ec
commit
4433b1b8d5
@ -3070,7 +3070,8 @@ config_suffix(ConfigArgs *c)
|
||||
}
|
||||
#endif
|
||||
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user