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

Re: I have no name!



On Dec 12, 2011, at 9:01 AM, Denis Witt wrote:

> On 12.12.2011 16:44, Craig White wrote:
> 
>>>>     I am using openldap-2.4.19-4.x86_64 on fedora 12 machine. I am facing
>>>> the  'I have no name !' while I do ssh on client machine(All user info is
>>>> getting propagated to client machines properly (checked with getent
> 
>>> are you using nscd (Name Service Cache Daemon)? If so uninstall it and the error should be gone. See google for details.
> 
>>> If you want to verify before uninstall just restart/stop nscd and check if the name is shown.
> 
>> FTR - I don't personally care for nscd very much but it seems that with Ubuntu 10.04 LTS that I am forced to use it or my host-based ACL's (pam_check_host_attr yes) will fail.
> 
> Hi,
> 
> please always reply to the list, thanks.
> 
> Another "solution" might be to restart nscd every hour (or something), it seems that the cache is refreshed then and everything works fine.
----
sorry about the PM

I actually do that on one server (every hour though) but generally this isn't necessary unless you are doing something that goes undetected by nscd.

That said, it's easy enough to discover if nscd is the problem just by turning it off and seeing if the conditions ('I have no name' after login but that also means you should probably log off and log back on again).

Craig