I'm installing LDAP auth on CentOs7 (command-line way). I'm facing a strange behaviour:

[root@client]# su ldapuser01

(run as root) works and let me connect as ldap user (without prompting for a password)


but if I try to login in a new tty it keeps telling my password is wrong (even though the password let me log in on the server where the user was created).

The procedure I followed was this:

ldapauth --ldapserver=ldap.my-ldap-server.com --ldapbasedn="dc=my-ldap-server,dc=com" --enablemkhomedir --update


getent passwd ldapuser01

returns me


As cherry on the cake even homes are created

so it should be fine.

Where did my problem lay?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.