Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 14:37:08 +0100
From:      Pavel Duda <element@email.cz>
To:        freebsd-questions@freebsd.org
Subject:   LDAP authentication problems
Message-ID:  <dsndmi$s8t$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dsndmi$s8t$1>