From owner-freebsd-questions@FreeBSD.ORG Sun Feb 29 23:03:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B64716A4CE for ; Sun, 29 Feb 2004 23:03:58 -0800 (PST) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E9B043D1D for ; Sun, 29 Feb 2004 23:03:57 -0800 (PST) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.9p2/8.12.8) with ESMTP id i2173XG3088028; Mon, 1 Mar 2004 08:03:33 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i2173VvI088025; Mon, 1 Mar 2004 08:03:32 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 1 Mar 2004 08:03:31 +0100 (CET) From: Konrad Heuer To: falaki@ce.sharif.edu In-Reply-To: <1469.81.31.169.170.1078078860.squirrel@ce.sharif.edu> Message-ID: <20040301075841.H67649@gwdu60.gwdg.de> References: <1469.81.31.169.170.1078078860.squirrel@ce.sharif.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: OpenLdap client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 07:03:58 -0000 On Sun, 29 Feb 2004 falaki@ce.sharif.edu wrote: > Hello; > My FreeBSD 4.9 server has to authenticate it's users through Openldap > client from a Linux server. I have installed openldap-client-2.1.22 and > pam_ldap-1.6.4. The ldapsearch gives the correct answer when it is > invoked with necessary arguments. > I tried to configure pam.conf so that is uses pam_ldap.so for > authentication and I tested many cases ( changing the arguments and > things like this) but nobody can log in. I want to know if other things > except pam.conf must be configured and if pam.conf must be configured can > anybody send me a sample. Sorry to say, but FreeBSD 4.9 doesn't support LDAP the way you want. You can authenticate users with pam_ldap for other purposes, but not for a shell login. 4.9 still lacks nss support which is essential. 5.2-RELEASE which is completely dynamically linked is the first release with full ldap login support. Best regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany