DevHeads.net

16.04 fails ldap authentication

Sir/Madam

I am having some trouble to get ldap authentication to work in Ubuntu 16.04

I can get it to work in 14.04 ok but so far it fails in 16.04

What I did in 14.04 is

apt-get install ldap-utils libpam-ldap libnss-ldap nslcd

filled in the various details LDAP Server etc

apt-get install sssd libpam-sss libnss-sss

ensured /etc/sssd/sssd.conf , /etc/certs/cacert.pem,
/etc/nsswitch.conf correct

ensure package auth-client-config is installed

/etc/init.d/nscd restart

update-rc.d nslcd enable

This worked every time for 16.04 but it fails in 16.04

On the 16.04 machine a telnet (to my ldap server) 636

Trying 138.251....1...

Connected to ldap.st-andrews.ac.uk.

Escape character is '^]'.

Which suggests the 16.04 machine sees the ldap server

Any help to resolve this would be sincerely appreciated

Comments

Re: 16.04 fails ldap authentication

By Xen at 06/16/2017 - 06:02

Ian Taylor schreef op 16-06-2017 10:51:

Ensure first that you test it with the "getent" program.

That's all I can say. Regards.