Hi,
I am trying to set up centralized user management with OpenLDAP. I have a working server (it seem to work to me) and I am now trying to setup the clients.
I have edited
/usr/local/etc/nss_ldap.conf
with
and
/etc/nsswitch.conf
I can see the user via
I have added
/etc/pam.d/login (pam:mkhomedir is installed)
When using
I have also tinkered with /etc/pam.d/sshd but login also fails via ssh.
Am I missing something?
Ben
I am trying to set up centralized user management with OpenLDAP. I have a working server (it seem to work to me) and I am now trying to setup the clients.
I have edited
/usr/local/etc/nss_ldap.conf
with
Code:
host 192.168.178.20
base dc=example,dc=com
and
/etc/nsswitch.conf
Code:
group: files ldap
passwd: files ldap
I can see the user via
getent passwd
and I can su
to the user's console when I am root.I have added
session required /usr/local/lib/pam_mkhomedir.so
to /etc/pam.d/login (pam:mkhomedir is installed)
When using
su
no homedir is created and I can't login to the system using user and password.I have also tinkered with /etc/pam.d/sshd but login also fails via ssh.
Am I missing something?
Ben