]> granicus.if.org Git - sudo/commitdiff
reflect changes to parse.c
authorAaron Spangler <aaron777@gmail.com>
Tue, 3 Aug 2004 02:34:20 +0000 (02:34 +0000)
committerAaron Spangler <aaron777@gmail.com>
Tue, 3 Aug 2004 02:34:20 +0000 (02:34 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index dbc375bdaa74520ed30ac80acccb31c9bd73b2d6..0ab61cef647c38caed873826fc269c65102e3c82 100644 (file)
--- 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 {