[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Login takes more time (LDAP)

On Tuesday, October 04, 2011 2:55 AM, "vijay s sheelavantar" <s_vijay65@rediffmail.com> wrote:
I followed your suggestions, I have set 'UseDNS no' in sshd_config and restarted sshd.
I tried 'getent passwd' and 'getent group' there is no delay in the output of these commands.
I tried to create home directory after login using pam_mkhomedir.so but failed. 
I am getting delay only while login. I am getting below errors during login. Please see the below error and kindly help me to fix this delay problem.
Last login: Fri Sep 30 15:22:53 2011 from
Could not chdir to home directory /home/kim: No such file or directory
id: cannot find name for user ID 105
Thanks and Regards,
Vijay S.
When I've seen that error before and if I recall correctly it was one of the follwing issues:
1. The cert file (/etc/openldad/cacerts/) or where ever it's installed was not readable by the user that needed to read it.  You could make it world readable for a test.
2.  It's been a long time, but I think that this also may have caused the error.  Not entirely sure though, notes are not available.  We did not have the following in /etc/ldap.conf (RH5 system):
     nss_base_passwd    ou=. . . .
     nss_base_shadow    ou=. . . .
     nss_base_group       ou=. . . .