From: Todd C. Miller Date: Mon, 20 Aug 2018 11:48:14 +0000 (-0600) Subject: Fix pasto when converting sudoNotAfter; from Miguel Sanders X-Git-Tag: SUDO_1_8_25^2~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5af26822839b24b400f405485d521b98df50ce17;p=sudo Fix pasto when converting sudoNotAfter; from Miguel Sanders Bug #845 --- diff --git a/plugins/sudoers/ldap_util.c b/plugins/sudoers/ldap_util.c index 1e411f694..d9be95a61 100644 --- a/plugins/sudoers/ldap_util.c +++ b/plugins/sudoers/ldap_util.c @@ -386,7 +386,7 @@ sudo_ldap_role_to_priv(const char *cn, void *hosts, void *runasusers, if (notbefore != NULL) cmndspec->notbefore = parse_gentime(notbefore); if (notafter != NULL) - cmndspec->notbefore = parse_gentime(notafter); + cmndspec->notafter = parse_gentime(notafter); /* Parse sudoOptions. */ if (opts != NULL) {