I'm trying to use (K)Ubuntu as a WS in an LDAP-based network. Seems I need to install some xtra packages to get it working. I've got my notes at work (home now), so I don't remember exactly what I needed to install.
Anyone done that, and which xtra packages was needed?
I noticed that LDAP files are placed in /etc/ldap/, vs /etc/openldap/ on other systems we use (FC4, Gentoo).
Moreover, that dir only had one file, ldap.conf, no other nor any subdirs.
Likewise, there was no /etc/ldap.conf .
EDIT: Seems the conffile is /etc/pam_ldap.conf (IIRC); /etc/ldap.conf and /etc/ldap/ldap.conf can be renamed without making any difference at all.
However, I continuously get an error something like 'Cannot contact LDAP server' related to 'simple nss lookup', IIRC (again, I'm home now, too little time at work
), though it looks like all has been correctly defined in the conffile.
Somewhere else, I saw a note about possible version mismatch if the installed LDAP is a higher version than that on the server. Our servers are FreeBSD (don't remember which version), using OpenLDAP. Other clients, FC4 and Gentoo, have no problem contacting/using the LDAP server. I'm puzzled...
@pljvaldez: I followed the links about PAM setup.
Dunno which Ubuntu were used; the latest Kubuntu is a bit different WRT contents in those files. Some files include others, but who cares, same thing.
If I use those methods, Kubuntu starts asking for LDAP password at login. This behaviour can be changed using options to the PAM stuff, I'm sure.