Re: NIS users can't login with FTPD

2009-10-30 Thread Markiyan Kushnir

what's in /etc/nsswitch.conf ?

Markiyan.

Frank Bonnet wrote:

Hello

I've installed a nes machine ( 7.2 / 64 bits ) which runs like a charm
EXCEPT for the FTP service for NIS users ...

Local users ( which are present in /etc/passwd file ) have no problem
BUT NIS users cannot log in

when using telnet NIS users have no problem to log in ...

Thank for any help


the /etc/pam.d/ftpd looks like the following

#
# $FreeBSD: src/etc/pam.d/ftpd,v 1.19.8.1 2009/04/15 03:14:26 kensmith
#
# PAM configuration for the "ftpd" service
#

# auth
authsufficientpam_opie.sono_warn no_fake_prompts
authrequisitepam_opieaccess.sono_warn allow_local
#authsufficientpam_krb5.sono_warn
#auth   sufficient  pam_ssh.sono_warn try_first_pass
authrequiredpam_unix.sono_warn try_first_pass

# account
accountrequiredpam_nologin.so
#account requiredpam_krb5.so
accountrequiredpam_unix.so

# session
sessionrequiredpam_permit.so
mail#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NIS users can't login with FTPD

2009-10-30 Thread Frank Bonnet

Hello

I've installed a nes machine ( 7.2 / 64 bits ) which runs like a charm
EXCEPT for the FTP service for NIS users ...

Local users ( which are present in /etc/passwd file ) have no problem
BUT NIS users cannot log in

when using telnet NIS users have no problem to log in ...

Thank for any help


the /etc/pam.d/ftpd looks like the following

#
# $FreeBSD: src/etc/pam.d/ftpd,v 1.19.8.1 2009/04/15 03:14:26 kensmith
#
# PAM configuration for the "ftpd" service
#

# auth
authsufficient  pam_opie.so no_warn no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn
#auth   sufficient  pam_ssh.so  no_warn try_first_pass
authrequiredpam_unix.so no_warn try_first_pass

# account
account requiredpam_nologin.so
#accountrequiredpam_krb5.so
account requiredpam_unix.so

# session
session requiredpam_permit.so
mail#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"