ubuntuldapgdm

GDM3 + LDAP in Ubuntu 18.04


I'm trying to configure LDAP using GDM3 (3.28.0) in Ubuntu 18.04.

But i can just log in terminal with ldap users. In the GUI I can't log in (famous GDM loop login).

I configure pam to create the home folder:

vim /etc/pam.d/common-session
session required     pam_mkhomedir.so       umask=077 skel=/etc/skel

But, it wasn't sufficient!

I installed lightdm, and in this GUI, I can login!

Any suggestion?

Thanks!


Solution

  • I resolved the problem by installing the nscd service.