mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#3979 only one glue overlay per tree is allowed
This commit is contained in:
parent
a2ea1edb48
commit
be1216819c
@ -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 New Issue
Block a user