Ashley Nicholls | 28 Jan 2011 18:36

Opensolaris client to OpenLDAP - Not attempting connection when id'ing user

I'm attempting to configure ldap auth on my nexenta core platform 3 system. I've followed the usual steps of
1> Modify nsswitch.conf/nsswitch.ldap
2> ldapclient
3> modify pam.conf

Now this worked fine on another machine with the same operating system but fails on this one.
I can do 'ldaplist passwd' and it shows all the users in my ldap database, but if I do 'id <username>' I get 'no
such user'. When performing an 'id' I get the following messages in my log:

Jan 28 17:29:22 joshua nscd[3587]: [ID 725237 auth.error] nss_ldap: could not search LDAP server - Server
is unavailable
Jan 28 17:34:19 joshua nscd[3587]: [ID 163805 auth.error] nss_ldap: could not connect to any LDAP server
as (null) - Can't contact LDAP server

I've tried tcpdump'ing on port 389 and a connection+data shows up when doing an ldaplist but nothing shows
when attempting to id a user.

Can anyone shed some light on this or advise on how to go about debugging?

Thanks
--

-- 
This message posted from opensolaris.org

Gmane