A common problem that LDAP administrators come across is the following error:
$ ssh me@myserver
Password:
Last login: Mon May 30 15:09:46 2005 from mypc.network.com
id: cannot find name for group ID 10000
id: cannot find name for group ID 103
id: cannot find name for group ID 10001
I have no name!@myserver:~$
This is commonly caused by the permissions being incorrect (or changed during a dist-upgrade) on the /etc/libnss-ldap.conf file. This file needs to be readable by everyone and you can correct that like this:
$ sudo chmod a+r /etc/libnss-ldap.conf
If you log out and log back in again, the error messages should no longer occur and you should again have a proper command prompt.
$ ssh me@myserver
Password:
Last login: Fri Jul 7 15:03:26 2006 from mypc.network.com
me@myserver:~$