When I try to set creation of home dirs with session handler pam_mkhomedir and login with sshd - no home dir creation is done, but sshd is drop session... (it's used with pam_ldap authentication) problem is that sshd setuid() before it calls session section of pam. Steps to Reproduce: 1.add pam_mkhomedir to /etc/pam.d/sshd 2.restart sshd 3.try to login with username home direcotry of whome is does not exists Actual Results: session is dropped Expected Results: you a login, home directory is created.
Created attachment 789 [details] Patch to openssh-3.6.1p2-alt6 for solving problem.
Created attachment 790 [details] spec file to using patch
Fixed with previous attachments. I hope it is working and secure.
Серж, Женя: к нашему вопросу о pam_limits (на повышение лимитов) это имеет отношение?
Ага, и повешеннfz мной под именем Сержа бага на pam #6989 тоже имеет :)