On 18.12.06 11:32, Jesse Ross wrote:
> I am trying to build proftpd 1.3.0a on Suse 9 (the kernel is
> 2.6.8-24.25-smp).
> I've tried this with PersistentPasswd off as well as on, but I can't get
> NIS authentication working right. It seems only to be able to find
> users in the local passwd file. For instance, if I attempt to log in
> with an incorrect password as a local user and a NIS user, I get "Login
> failed" in each case, but with the local user I get "Incorrect password"
> and with the NIS user it's "No such user found"

do you use AuthUserFile in proftpd.conf?

> Also, this is not a general problem with NIS. Our /etc/passwd ends like
> this (we have passwd, shadow and group set to "compat" in nsswitch.conf):

I would use 'files nis' in nsswitch and remove the "+" line from passwd

> uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
> +::::::
> and NIS works fine for logins with ssh etc.

Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I don't have lysdexia. The Dog wouldn't allow that.

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
ProFTPD Users List
Unsubscribe problems?