From owner-freebsd-questions@FreeBSD.ORG Sun Nov 11 20:48:31 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C8F416A419 for ; Sun, 11 Nov 2007 20:48:31 +0000 (UTC) (envelope-from taglio@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 461C513C48A for ; Sun, 11 Nov 2007 20:48:30 +0000 (UTC) (envelope-from taglio@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so914675rvb for ; Sun, 11 Nov 2007 12:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HC5OG/ROckLgF3HwYDODwwj0sodQDu4kKvSle2QOuzs=; b=eeJ5S+7o0PxCLsXayPmDY1O52kjYN3t6fKhcY4KWy15qivAclDKgB/1Y1Vw1eMeoazw4ZP3YynruclfaEkLBwDgFgYS1r6C3Q+UfsFy8UIO/uYwVZne0DdyDr/a4WFkXhrcnqB2ex1YL3RQxKnS+zOhXOaoyrloPu2hXmNseL80= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bXkI8F25ZxQJe63YGUW3upE1oBDaG6EVw2m1elu/vKN3++EmkQgq4/kRaiy5FZi29kA3MaUY6jL/bVOSeLD4NRQOpHy+AumB3g63yS/GWw3KXX9Yzb11omidI/+vlzbIXOn7QbXuJ+8uCQkD0fpw23OxK5vGrIPoU4rxTkPsp/g= Received: by 10.142.78.10 with SMTP id a10mr900144wfb.1194814101150; Sun, 11 Nov 2007 12:48:21 -0800 (PST) Received: by 10.142.104.1 with HTTP; Sun, 11 Nov 2007 12:48:21 -0800 (PST) Message-ID: <31fbaca90711111248i768821admf6d9a5f630235171@mail.gmail.com> Date: Sun, 11 Nov 2007 21:48:21 +0100 From: "Riccardo Giuntoli" To: "Beech Rintoul" In-Reply-To: <200711111126.44437.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31fbaca90711110424o51986759o9445fd367e7dca5b@mail.gmail.com> <200711111126.44437.beech@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD pam.d proftpd problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 20:48:31 -0000 On Nov 11, 2007 9:26 PM, Beech Rintoul wrote: > >[snip] > > Have you checked the following? > > FreeBSD > ------- > > To use PAM with ProFTPD, you must edit /etc/pam.conf and add the > following lines (if they are not already present): > > ftpd auth required pam_unix.so try_first_pass > ftpd account required pam_unix.so try_first_pass > ftpd session required pam_permit.so > > In your proftpd.conf, you'll need to set AuthPAMConfig to 'ftpd'. PAM > authentication should now work properly. Hi Beech, thank you for answer. I've just try it but it doesn't work. always same error "421 Service not available, remote server has closed connection". It's very strange cause i use other two ProFTPD with freebsd, 1.3.1rc1 on 5.5-STABLE and a 1.3.1rc2 on 6.2-STABLE. > > Beech > Best Regards, Riccardo Giuntoli -- Name: Riccardo Giuntoli Email: taglio@gmail.com Homepage: http://www.luxoro.org/ Location: Genova, Italy PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842FAB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net