Asimananda Mohanty wrote:
I think the LDAP in current form should solve my purpose.
Currently I have client and server on the same machine. I have created
one user in LDAP namely asimananda and I am able to login to the server
by the same too.
What does "I am able to login to the server" mean exactly. Did you test
with ldapwhoami -x -D <bind-DN of asimananda> -W whether simple bind works?
*PAM unable to dlopen(/lib/security/pam_foreground.so):
/lib/security/pam_foreground.so: cannot open shared object file: No such
file or directory
PAM adding faulty module: /lib/security/pam_foreground.so
pam_ldap: ldap_simple_bind Can't contact LDAP server
pam_ldap: reconnecting to LDAP server...
pam_ldap: ldap_simple_bind Can't contact LDAP server
Successful su for asimananda by root
+ pts/3 root:asimananda
pam_unix(su:session): session opened for user asimananda by root(uid=0)*
Looks like an setup error in your PAM setup. Check the ldap.conf related
to the pam_ldap module. I don't know Ubuntu so I can't help here.
Ciao, Michael.