From: Aaron Spangler Date: Tue, 3 Aug 2004 02:34:20 +0000 (+0000) Subject: reflect changes to parse.c X-Git-Tag: SUDO_1_6_8~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02381e4c2680654b2653d120d70849b4ef5e7301;p=sudo reflect changes to parse.c --- diff --git a/ldap.c b/ldap.c index dbc375bda..0ab61cef6 100644 --- a/ldap.c +++ b/ldap.c @@ -291,7 +291,7 @@ int sudo_ldap_check_command(ld,entry) if (allowed_args) *allowed_args++='\0'; /* check the command like normal */ - if (command_matches(user_cmnd, user_args,allowed_cmnd,allowed_args)) { + if (command_matches(allowed_cmnd,allowed_args)) { if (!foundbang){ ret=1; /* allowed, but keep checking for a deny match */ } else {