Add back call to sudo_ldap_timefilter() in sudo_ldap_build_pass2()

that was mistakenly dropped.
This commit is contained in:
Todd C. Miller
2010-11-17 07:31:07 -05:00
parent ab651135d2
commit f9353d95ca

View File

@@ -1026,6 +1026,7 @@ sudo_ldap_build_pass2(void)
* If timed, use a global AND clause that has the time limit as
* as the second leg.
*/
sudo_ldap_timefilter(timebuffer, sizeof(timebuffer));
easprintf(&buf, "(&(sudoUser=+*)%s)", timebuffer);
} else {
/* No time limit, just the netgroup selection. */