]> granicus.if.org Git - sudo/commitdiff
no longer need to check def_ignore_local_sudoers here
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 Dec 2007 21:44:46 +0000 (21:44 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 Dec 2007 21:44:46 +0000 (21:44 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index 1c001f4b664f8c0a3d380b2e4f4d8830dbb3562c..7587fda97252ac90b31bb76a9eaf2c7853505209 100644 (file)
--- a/ldap.c
+++ b/ldap.c
@@ -1355,13 +1355,6 @@ sudo_ldap_lookup(nss, pwflag)
                        SET(ret, FLAG_CHECK_USER);
                        break;
                    case all:
-                       /*
-                        * If we are not ignoring local sudoers we
-                        * can't make a decision yet. (XXX)
-                        */
-                       if (!def_ignore_local_sudoers && doauth == FALSE)
-                           def_authenticate = FALSE;
-                       break;
                    case any:
                        if (doauth == FALSE)
                            def_authenticate = FALSE;