projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693ed87
)
When doing group checks, call fgetgrnam on the *group* file, not
author
aland
<aland>
Thu, 22 Aug 2002 14:14:20 +0000
(14:14 +0000)
committer
aland
<aland>
Thu, 22 Aug 2002 14:14:20 +0000
(14:14 +0000)
on the *passwd* file.
Patch from Maxim Konovalov
src/modules/rlm_unix/rlm_unix.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_unix/rlm_unix.c
b/src/modules/rlm_unix/rlm_unix.c
index
f37ee13
..
255604a
100644
(file)
--- a/
src/modules/rlm_unix/rlm_unix.c
+++ b/
src/modules/rlm_unix/rlm_unix.c
@@
-226,7
+226,7
@@
static int groupcmp(void *instance, REQUEST *req, VALUE_PAIR *request, VALUE_PAI
return -1;
if (group_inst->group_file)
- grp = fgetgrnam(group_inst->
passwd
_file, (char *)check->strvalue);
+ grp = fgetgrnam(group_inst->
group
_file, (char *)check->strvalue);
else
grp = getgrnam((char *)check->strvalue);
if (grp == NULL)