« Return to Thread: LDAP Auth

LDAP Auth

by Branc0 :: Rate this Message:

Reply to Author | View in Thread

Hello list,

I am having a very strange behaviour from my test with OpenLDAP authentication. I tried to follow the HOWTOs online but I encountered an undocumented problem :)

After configuring nssswitch.conf I tried what they asked and did a getent command which returns successfully:
getent passwd | grep myuser
myuser:x:10002:10001:myUser (LDAP):/home/ldap/john:/bin/bash

This means that the system can get the proper data from the LDAP directory. However, even before I try authentication I have this problem:
su - myuser
su: user myuser does not exist

So anyone knows where su is getting its information from and why it is different from the information on getent?

Thanks,
Nuno


 « Return to Thread: LDAP Auth

LightInTheBox - Buy quality products at wholesale price