2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

no longer need to check def_ignore_local_sudoers here

This commit is contained in:
Todd C. Miller
2007-12-31 21:44:46 +00:00
parent 4d8f37f4bd
commit d6e9445a6a

7
ldap.c
View File

@@ -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;