corrected typo
authoraland <aland>
Mon, 30 Jun 2003 15:23:15 +0000 (15:23 +0000)
committeraland <aland>
Mon, 30 Jun 2003 15:23:15 +0000 (15:23 +0000)
src/modules/rlm_unix/rlm_unix.c

index 4d22f9e..2fb5b82 100644 (file)
@@ -209,7 +209,7 @@ static int groupcmp(void *instance, REQUEST *req, VALUE_PAIR *request, VALUE_PAI
                return 1;
        }
 
-       username = (char *)eq->username->strvalue;
+       username = (char *)req->username->strvalue;
 
        if (group_inst->cache_passwd &&
            (retval = H_groupcmp(group_inst->cache, check, username)) != -2)