[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap client wasn't able to authenticate SSH



Am Thu, 16 May 2013 09:59:11 +0800 (MYT)
schrieb "ded1@MyBSD.org.my" <ded1@mybsd.org.my>:

> Hi,
> 
> I have issue with my openldap client to authenticate on SSH using
> openldap server. It's failed to authenticate using account that i
> create on openldap server OR default user !. I have to reboot to
> single mode and change everything back to default. The SSH account
> that i use is "labu"
> 
> Output from /etc/passwd on openldap server (10.1.1.1):
> 
> # more /etc/passwd | grep labu
> labu:x:1003:1003::/home/labu:/bin/sh
> 
> Here's what i'm using on the setup:
> 
> Server (10.1.1.1):
> i. openldap 2.4.28-1.1 on Linux Ubuntu 12.04
> 
> Client (10.1.1.2):
> i. libpam-ldapd 0.8.4 on Linux Ubuntu 12.04
> 
> Here's the output when i do on openldap server itself:
> 
> # ldapsearch -h localhost -D "cn=admin,dc=ROSAK,dc=COM" -w openiam -b 
> "dc=ROSAK,dc=COM" -s sub "objectclass=*"
> ldap_bind: Invalid credentials (49)

openiam is the wrong bind passwd
rootpw          {CLEARTEXT}123456
this should be the correct passwd.

-Dieter




-- 
Dieter KlÃnter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53Â37'09,95"N
10Â08'02,42"E