mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 07:30:57 -05:00
suffix must be defined before overlay configuration (ITS#5641)
This commit is contained in:
parent
191d8204a3
commit
69d8588ab4
1 changed files with 9 additions and 0 deletions
|
|
@ -197,6 +197,15 @@ unique_new_domain_uri ( unique_domain_uri **urip,
|
|||
goto exit;
|
||||
}
|
||||
|
||||
if ( be->be_nsuffix == NULL ) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ),
|
||||
"suffix must be set" );
|
||||
Debug ( LDAP_DEBUG_CONFIG, "unique config: %s\n",
|
||||
c->cr_msg, NULL, NULL );
|
||||
rc = ARG_BAD_CONF;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if ( !dnIsSuffix ( &uri->ndn, &be->be_nsuffix[0] ) ) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ),
|
||||
"dn <%s> is not a suffix of backend base dn <%s>",
|
||||
|
|
|
|||
Loading…
Reference in a new issue