From: Todd C. Miller Date: Fri, 18 Jan 2008 21:47:05 +0000 (+0000) Subject: Fix a typo/thinko in one of the calls to sudo_ldap_check_user_netgroup(). X-Git-Tag: SUDO_1_7_0~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09c1189d1b56f329b793b5b5c7fbe8079d644a8e;p=sudo Fix a typo/thinko in one of the calls to sudo_ldap_check_user_netgroup(). From Marco van Wieringen. --- diff --git a/ldap.c b/ldap.c index bea40aa68..7856cd048 100644 --- a/ldap.c +++ b/ldap.c @@ -1164,7 +1164,7 @@ sudo_ldap_display_privs(nss, pw) /* print each matching entry */ LDAP_FOREACH(entry, ld, result) { if ((!do_netgr || - sudo_ldap_check_user_netgroup(ld, entry, pw->pw_passwd)) && + sudo_ldap_check_user_netgroup(ld, entry, pw->pw_name)) && sudo_ldap_check_host(ld, entry)) { /* extract the dn, only show the first rdn */