-1

How to fix a LDAP client installation in Ubuntu 17.10, which was working fine in Ubuntu 16.04?

With the following configuration Ubuntu 17.10 will hang in a boot loop, so you will not even have a chance to log in.

Installation of LDAP - Client user - management identical in 16.04 & 17.10:

packages:

apt-get install ldap-auth-client nscd libpam-cracklib

configuration of pam-stack with:

auth-client-config -t nss -p lac_ldap

and parameters changed in /etc/ldap.conf

host ldap01 ldap02
base dc=example,dc=com
binddn cn=ldapread,dc=example,dc=com
bindpw xxxxxxxx
  • Thanks, for feedback. First I wanted to keep the question short, to post the answer direct after. I hope the question is now better understandable, with out unrolling a complete ldap-user-configuration in the pam stack. – Reinhard Dec 20 '17 at 10:35
1

Partial solution

In /etc/ldap.conf:

host ldap01 ldap02 (was working in 16.04)

has to be replaced with:

host 10.0.0.9 10.0.0.10

otherwise the system stays in an endless loop at the boot process

Without a network-cable the system still stays in an endless loop at the boot process.

Complete solution

In /etc/ldap.conf:

default Reconnect policy:

bind_policy hard

has to be changed to:

bind_policy soft

then:

In /etc/ldap.conf: -> host ldap01 ldap02 works as expected, and PC boots normally even without a network-cable.

0

Use libpam-ldapd and libnss-ldapd instead of libpam-cracklib.

  • Welcome to Ask Ubuntu! I recommend to edit your question to expand it with specific details about what you do – abu_bua Oct 10 '18 at 10:30

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.