Re: [opensuse] nss_ldap: could not search LDAP server



On 28/12/11 22:23, John Andersen wrote:
On 12/28/2011 11:35 AM, lynn wrote:
On 28/12/11 18:28, Andrew Colvin wrote:
On Wednesday 28 Dec 2011 17:06:21 lynn wrote:
Hi
I used Yast LDAP Client to setup a LDAP connection

The server is Samba 4 to which I have added rfc2307 attributes. (Have
ldif, Will travel. If it would help.)

The user can get Kerberos tickets and logon from a windows 7 client, but
not from openSUSE:

Dec 28 17:41:56 hh3 gnomesu-pam-backend:
pam_systemd(gnomesu-pam:session): Failed to create session: Invalid
argument Dec 28 17:42:57 hh3 gnomesu-pam-backend:
pam_systemd(gnomesu-pam:session): Failed to create session: Invalid
argument Dec 28 17:43:44 hh3 su: nss_ldap: could not search LDAP server -
Server is unavailable
Have you tried setting up the ldap client in the yast module? Is your ldap
using TLS and do you have the cert set up right for the client connection as I
have had this problem before.

You could try an ldapsearch on the command line with option -v to check you
can connect
Hi
Yes, I can connect using ldapsearch -v and using phpldapadmin

logging in from a terminal I get:
Dec 28 20:32:38 hh3 worker_nscd: nss_ldap: could not search LDAP server - Server is unavailable

I get the usual CN does not match FQDN for the tls stuff but it seems to connect without needing tls.

Any ideas?

Hanks L x


Seems more likely that the problem lies with this message:
Dec 28 17:41:56 hh3 gnomesu-pam-backend: pam_systemd(gnomesu-pam:session): Failed to create session: Invalid argument



That's the gnome keyring no? I've turned that off.
Thanks
L x
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx



Relevant Pages