From owner-freebsd-questions@FreeBSD.ORG Sun Feb 12 13:37:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5045A16A420 for ; Sun, 12 Feb 2006 13:37:41 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9827143D45 for ; Sun, 12 Feb 2006 13:37:37 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F8HPt-00050o-1z for freebsd-questions@freebsd.org; Sun, 12 Feb 2006 14:37:29 +0100 Received: from r5bp69.chello.upc.cz ([86.49.75.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 14:37:29 +0100 Received: from element by r5bp69.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 14:37:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Sun, 12 Feb 2006 14:37:08 +0100 Lines: 105 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010903080509020005000304" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5bp69.chello.upc.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en Sender: news X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LDAP authentication problems 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, 12 Feb 2006 13:37:41 -0000 This is a multi-part message in MIME format. --------------010903080509020005000304 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I have problems to get LDAP authentiction working (pam_ldap)and after two days of struggle I'm almost giving up... I've tried few howtos like that one from samba.idealx.org but without success. First I wanted to run Samba PDC on FreeBSD, but I've stuck with pam_ldap authentication. Now I can: - browse LDAP database with ldapsearch or from other machine with LDAP browser - I'm able to use ldapsearch with user account created in this database ie.: 'ldapsearch -D "uid=testuser,ou=Users,dc=OHRADNI,dc=NET" -W' 'Enter LDAP Password: mypassword' '[will list all entries]' But when I try to use it for authentication it just don't work. For example I can't login with 'ssh testuser@localhost'. Because I have "loglevel -1" I can see many data in /var/log/debug.log, but I'm not sure what exactly I should look for in this debug output thus I don't know if problem is on LDAP side or something else in my setup. (I've attached gziped part of debug.log) Can somebody help ? Does someone have working setup of LDAP authentication on FreeBSD 6.0 and would be so kind to sent me some quick howto or give an advice ? Thanks --------------010903080509020005000304--