mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 23:29:34 -05:00
ITS#9870 Drop optional overlay configuration option
This commit is contained in:
parent
fbe844f814
commit
5d985e0145
1 changed files with 2 additions and 11 deletions
|
|
@ -2905,17 +2905,8 @@ config_overlay(ConfigArgs *c) {
|
||||||
} else if ( c->op == LDAP_MOD_DELETE ) {
|
} else if ( c->op == LDAP_MOD_DELETE ) {
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
if(c->argv[1][0] == '-' && overlay_config(c->be, &c->argv[1][1],
|
|
||||||
c->valx, &c->bi, &c->reply)) {
|
return overlay_config( c->be, c->argv[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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue