From: Ondřej Kuzník Date: Mon, 14 Mar 2022 09:35:12 +0000 (+0000) Subject: ITS#9808 Store the correct value in olcLastBind X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d98407d23afefc166ce58975bc126ea884ea27;p=thirdparty%2Fopenldap.git ITS#9808 Store the correct value in olcLastBind --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 730d9b5712..705f54f42c 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -1387,7 +1387,7 @@ config_generic(ConfigArgs *c) { c->value_int = (SLAP_NOLASTMOD(c->be) == 0); break; case CFG_LASTBIND: - c->value_int = (SLAP_NOLASTMOD(c->be) == 0); + c->value_int = (SLAP_LASTBIND(c->be) != 0); break; case CFG_LASTBIND_PRECISION: c->value_uint = c->be->be_lastbind_precision;