On Ubuntu 12.04 I have some kind of problem with LTSP and LDAP. Sometimes I can log to the server, but sometimes I can't (window freezes on LDM) log in from the thin client. Everything is OK when I log to the server like the local machine, but I have some kind of problem on thin client.
pam_mkhomedir.so creates home directory, but I can't log in because nothing happened - ldm freezes. This problem doesn't exist for "local" users (unix accounts) and on first logged LDAP user. It's important to mention that in log I can see nothing special.
Does anybody have a problem with ltsp + ldap on ubuntu 12.04? There wasn't any problem on the previous versions.
When LDM freezes, I get the following in the logs:
May 17 11:59:52 bar sshd[6066]: Accepted password for student2 from 192.168.100.22 port 44000 ssh2
May 17 11:59:52 bar sshd[6066]: pam_unix(sshd:session): session opened for user student2 by (uid=0)
May 17 12:00:03 bar sshd[6315]: subsystem request for sftp by user student2
And nothing else appears for this user.