If a host is running NIS (passwd file ends in +::0:0:::) authentication, will dovecot be able to authenticate with auth_userdb = passwd directly and automagically or do you have to do a ypcat passwd > pwfile periodically to generate a passwd file that dovecot can use? ? Thanks! -- ===Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 sdean at bard.edu voice: 845-758-7475, fax: 845-758-7035
On 2006-04-18 12:13:24 -0400, 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 > > directly and automagically or do you have to do a ypcat passwd > pwfile > periodically to generate a passwd file that dovecot can use?if you use pam. there shouldnt be an issue. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Stewart Dean <sdean at bard.edu> writes:> If a host is running NIS (passwd file ends in +::0:0:::) authentication, > will dovecot be able to authenticate with > > auth_userdb = passwd > > directly and automagically or do you have to do a ypcat passwd > pwfile > periodically to generate a passwd file that dovecot can use?I'd suggest to do the latter for reliability reasons (you'd better use "ypcat passwd >tmpfile && mv tmpfile pwfile" though). -- Matthias Andree
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 = passwdWe 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?