[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-users
Subject:    Re: [Proftpd-user] NIS authentication not working on 1.3.0a
From:       Matus UHLAR - fantomas <uhlar () fantomas ! sk>
Date:       2007-01-04 12:06:00
Message-ID: 20070104120600.GA1650 () fantomas ! sk
[Download RAW message or body]

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
etc...

> 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
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ProFTPD Users List   <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic