[Dovecot] Does NIS/yp work for authentication
Simon Bowden
simonb at cse.unsw.EDU.AU
Wed Apr 19 12:49:47 EEST 2006
On Tue, 18 Apr 2006, Stewart Dean wrote:
> If a host is running NIS (passwd file ends in +::0:0:::) authentication, will
> dovecot be able to authenticate with
>
> auth_userdb = passwd
We use yp authentication, but through pam. I'd wildly and unfoundedly
guess that userdb=passwd wouldn't.
passdb pam {
args = session=yes *
}
pam.d files contain:
auth sufficient pam_unix.so
auth required pam_saslauth.so common-auth
(which is to say that we actually use sasl for authenticating (private
crypt strings), but it speaks to YP via the pam_unix module...).
In a simpler environment, it'd just be
auth required pam_unix.so
Cheers,
- Simon
> directly and automagically or do you have to do a ypcat passwd > pwfile
> periodically to generate a passwd file that dovecot can use?
More information about the dovecot
mailing list