mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#9870 Drop optional overlay configuration option
This commit is contained in:
parent
fbe844f814
commit
5d985e0145
@ -2905,17 +2905,8 @@ config_overlay(ConfigArgs *c) {
|
||||
} else if ( c->op == LDAP_MOD_DELETE ) {
|
||||
assert(0);
|
||||
}
|
||||
if(c->argv[1][0] == '-' && overlay_config(c->be, &c->argv[1][1],
|
||||
c->valx, &c->bi, &c->reply)) {
|
||||
/* log error */
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"%s: (optional) %s overlay \"%s\" configuration failed.\n",
|
||||
c->log, c->be == frontendDB ? "global " : "", &c->argv[1][1]);
|
||||
return 1;
|
||||
} else if(overlay_config(c->be, c->argv[1], c->valx, &c->bi, &c->reply)) {
|
||||
return(1);
|
||||
}
|
||||
return(0);
|
||||
|
||||
return overlay_config( c->be, c->argv[1], c->valx, &c->bi, &c->reply );
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user