Alan,
Thank you. I'll now answer my question thoroughly:
____SNIP____ src/files.c
retval = (pwd->pw_gid == grp->gr_gid) ? 0 : -1;
if (retval < 0) {
for (member = grp->gr_mem; *member && retval; member++) {
if (strcmp(*member, pwd->pw_name) == 0)
retval = 0;
}
}
____SNIP____ end src/files.c
Yes it (this is actually Cistron snapshot from 04/2001) does function
according to the docs. It will evaluate both /etc/passwd and /etc/group
to compare both primary and secondary group memberships.
My apologies for spamming the list without testing it first.
Cheers,
Mike
[EMAIL PROTECTED] wrote:
> Mike Cathey <[EMAIL PROTECTED]> wrote:
>
>>Does it check only the primary group
>>or will it look for secondary groups?
>>
>
> Try it and see.
>
> Personally, I think it checks any group membership.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html