Bugzilla – Bug 845
sudoNotAfter (LDAP) not working
Last modified: 2018-09-05 06:28:25 MDT
Hi I just upgraded to 1.8.24 and found out that sudoNotAfter (LDAP) is not working. This is caused by the following bug in ldap_util.c (lines 388-389) +388 if (notafter != NULL) +389 cmndspec->notbefore = parse_gentime(notafter); Should be +388 if (notafter != NULL) +389 cmndspec->notafter = parse_gentime(notafter); Can you please push this for the next version? Many thanks!
Thanks for noticing that and tracking down my cut & pasto. This is fixed in https://www.sudo.ws/repos/sudo/rev/69638cd6da60
Fixed in sudo 1.8.25