Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 15:08:34 +0100
From:      Frank Bonnet <f.bonnet@esiee.fr>
To:        freebsd-questions@freebsd.org
Subject:   NIS users can't login with FTPD
Message-ID:  <4AEAF362.3080304@esiee.fr>

next in thread | raw e-mail | index | archive | help
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
auth		sufficient	pam_opie.so		no_warn no_fake_prompts
auth		requisite	pam_opieaccess.so	no_warn allow_local
#auth		sufficient	pam_krb5.so		no_warn
#auth           sufficient      pam_ssh.so		no_warn try_first_pass
auth		required	pam_unix.so		no_warn try_first_pass

# account
account		required	pam_nologin.so
#account 	required	pam_krb5.so
account		required	pam_unix.so

# session
session		required	pam_permit.so
mail#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AEAF362.3080304>