Displaying 1 result from an estimated 1 matches for "allow_users_ok".
2000 Aug 25
0
problem with AllowUsers and AllowGroups
...or fix for it.
AllowGroups admins ssh
User testuser tries to login (he is primary member of users) who is member
of group ssh. Since code only tests against primary group user can't
login.
-------------- next part --------------
diff openssh-2.1.1p4/auth.c openssh-fixed/auth.c
55a56
> int allow_users_ok = 0;
111a113,114
> {
> allow_users_ok = 1;
112a116
> }
135c139
< if (options.num_allow_groups > 0) {
---
> if ((options.num_allow_groups > 0) && (!allow_users_ok)) {