From owner-freebsd-questions@FreeBSD.ORG Mon Nov 1 12:38:50 2010 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 EEFBC106564A for ; Mon, 1 Nov 2010 12:38:50 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out7.libero.it (cp-out7.libero.it [212.52.84.107]) by mx1.freebsd.org (Postfix) with ESMTP id 844478FC1F for ; Mon, 1 Nov 2010 12:38:50 +0000 (UTC) Received: from soth.ventu (151.51.29.139) by cp-out7.libero.it (8.5.107) id 4CB9BCB101CF0C3B; Mon, 1 Nov 2010 13:38:49 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id oA1CcdbJ012708; Mon, 1 Nov 2010 13:38:39 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4CCEB4CF.3060808@netfence.it> Date: Mon, 01 Nov 2010 13:38:39 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: Tim Daneliuk References: <4CCEA5B9.7010603@netfence.it> <4CCEA944.4020409@tundraware.com> In-Reply-To: <4CCEA944.4020409@tundraware.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Cc: FreeBSD Mailing List Subject: Re: Newer Sambas and PAM 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: Mon, 01 Nov 2010 12:38:51 -0000 On 11/01/10 12:49, Tim Daneliuk wrote: > Be aware that the samba password directory moved from /usr/local/etc/samba > to /usr/local/etc/samba34 Thanks, I know, but that's not the problem. pamsmbd doesn't read the password file directly; instead it asks smbd. I discovered it uses LanMan passwords, which are now disabled by default, so I added "lanman auth=yes" to smb.conf: this was some step ahead, but still not enough. I also tried pam_smbpass.so, which comes with Samba and reads the smbpasswd file directly: I expect it would know where it is, since it comes from the same port. No success here either. This worries me a lot, since the working samba version was removed from the port tree... bye & Thanks av.