]> 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:31:07 +0000 (07:31 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Nov 2010 12:31:07 +0000 (07:31 -0500)
that was mistakenly dropped.

plugins/sudoers/ldap.c

index db00f023ae81232f5354ba276b8a6f9c3614692a..967f71d4fe0168e181df90acee15bf8f38ae1516 100644 (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. */