Re: [Dovecot] PAM auth problem

2007-03-28 Thread John Robinson
On 28/03/2007 17:32, Taras Savchuk wrote: In FreeBSD pam_group does exactly what I want: Oh, sorry, didn't know you were on *BSD but I suppose I shouldn't have assumed Linux. In Linux-PAM, pam_wheel's documentation is very similar to your pam_group, with the addition of an option: use_uid

Re: [Dovecot] PAM auth problem

2007-03-28 Thread Taras Savchuk
In FreeBSD pam_group does exactly what I want: NAME pam_group -- Group PAM module SYNOPSIS [service-name] module-type control-flag pam_group [arguments] DESCRIPTION The group service module for PAM accepts or rejects users based on their membership in a particular file gro

Re: [Dovecot] PAM auth problem

2007-03-28 Thread John Robinson
On 28/03/2007 16:52, Taras Savchuk wrote: Pam auth don't work when I add pam_group: pam_group grants membership to groups, it can't be used to authenticate. Use pam_wheel or pam_succeed_if, and see http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/Linux-PAM_SAG.html Cheers, John.