patches/libgksu1.2-04-rbac-support.diff
changeset 8603 f29c60694e66
parent 8591 141ff3d98e93
child 9161 a6af085e0955
--- a/patches/libgksu1.2-04-rbac-support.diff	Fri Nov 17 19:26:42 2006 +0000
+++ b/patches/libgksu1.2-04-rbac-support.diff	Fri Nov 17 22:12:48 2006 +0000
@@ -922,7 +922,7 @@
 +		command_line[i] = context->command[i];
 +	  }
 +	}
-+	exec = getexecuser (pwd->pw_name, KV_COMMAND, command_line, GET_ONE);
++	exec = getexecuser (pwd->pw_name, KV_COMMAND, command_line, GET_ALL);
 +	if (exec == NULL) {
 +		fprintf (stderr, "Error getting exec attr\n");
 +		return FALSE;
@@ -997,7 +997,7 @@
 +         */	
 +	rolename = strtok (rolelist, ",");
 +	while (rolename) {
-+		exec = getexecuser (rolename, KV_COMMAND, command_line, GET_ONE);
++		exec = getexecuser (rolename, KV_COMMAND, command_line, GET_ALL);
 +        	while (exec != NULL) {
 +                	if ((exec->attr != NULL) && (exec->attr->length != 0)) {
 +				if (context->debug) {