Add back call to sudo_ldap_timefilter() in sudo_ldap_build_pass2()
that was mistakenly dropped.
This commit is contained in:
@@ -1026,6 +1026,7 @@ sudo_ldap_build_pass2(void)
|
|||||||
* If timed, use a global AND clause that has the time limit as
|
* If timed, use a global AND clause that has the time limit as
|
||||||
* as the second leg.
|
* as the second leg.
|
||||||
*/
|
*/
|
||||||
|
sudo_ldap_timefilter(timebuffer, sizeof(timebuffer));
|
||||||
easprintf(&buf, "(&(sudoUser=+*)%s)", timebuffer);
|
easprintf(&buf, "(&(sudoUser=+*)%s)", timebuffer);
|
||||||
} else {
|
} else {
|
||||||
/* No time limit, just the netgroup selection. */
|
/* No time limit, just the netgroup selection. */
|
||||||
|
Reference in New Issue
Block a user