Hi,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 10.254.194.148Could not chdir to home directory /home/kim: No such file or directoryid: cannot find name for user ID 105-bash-3.2$ Thanks and Regards,Vijay S.
On 04/10/11 02:55 -0000, vijay s sheelavantar wrote:
Hi,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 10.254.194.148Could not chdir to home directory /home/kim: No such file or directoryid: cannot find name for user ID 105-bash-3.2$ Thanks and Regards,Vijay S.
Skip ssh altogether and try 'su -' with the user, such as:
su - kim
So it sounds like '/home/kim' doesn't exist. Is that correct? Is the delay because the home directory doesn't exist? Does the problem go away if you manually create it?
Or is the delay because of:
'cannot find name for user ID 105'
which indicates the user does not have permissions to resolve uids on your system, in which case you might want to look at using a name caching daemon, or rework your permissions.
On Tuesday, October 04, 2011 2:55 AM, "vijay s sheelavantar" s_vijay65@rediffmail.com wrote:
Hi,
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 10.254.194.148
Could not chdir to home directory /home/kim: No such file or directory
id: cannot find name for user ID 105
-bash-3.2$
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=. . . .
openldap-technical@openldap.org