]> granicus.if.org Git - sudo/commitdiff
Add back call to sudo_ldap_timefilter() in sudo_ldap_build_pass2()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Nov 2010 12:30:55 +0000 (07:30 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Nov 2010 12:30:55 +0000 (07:30 -0500)
that was mistakenly dropped.

--HG--
branch : 1.7

ldap.c

diff --git a/ldap.c b/ldap.c
index 8041165c6c10fb6bc56110d0af34dc7a579718fe..e10e8fe44067901e7f46b86a85d79d93a43d6e74 100644 (file)
--- a/ldap.c
+++ b/ldap.c
@@ -1054,6 +1054,7 @@ sudo_ldap_build_pass2()
         * 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. */