mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#3979 only one glue overlay per tree is allowed
This commit is contained in:
parent
a2ea1edb48
commit
be1216819c
1 changed files with 6 additions and 0 deletions
|
|
@ -821,6 +821,12 @@ glue_db_config(
|
|||
fname, lineno, argv[1] );
|
||||
return -1;
|
||||
}
|
||||
if ( SLAP_GLUE_INSTANCE( b2 )) {
|
||||
fprintf( stderr, "%s: line %d: backend for %s is already glued; "
|
||||
"only one glue overlay is allowed per tree.\n",
|
||||
fname, lineno, argv[1] );
|
||||
return -1;
|
||||
}
|
||||
SLAP_DBFLAGS(b2) |= SLAP_DBFLAG_GLUE_SUBORDINATE;
|
||||
if ( advertise ) {
|
||||
SLAP_DBFLAGS(b2) |= SLAP_DBFLAG_GLUE_ADVERTISE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue