SuSE GmbH

SuSE Support Database

Title: NSCD: Users, groups or computers are unknown

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

NSCD: Users, groups or computers are unknown

Applies to

SuSE Linux: Version 6.2

Symptom:

You always get the error message that a user, group or machine is unknown/does not exist, although you may have just created the account, or the name of the machine can be resolved with nslookup.

Cause:

With SuSE Linux 6.2 the nscd is used by default. nscd stands for Name Service Cache Daemon. Its job is to cache system enquiries for users, groups and machines. When doing this, both positive and negative answors are cached. For this reason, newly created users will remain unknown to the system for approx. 20 seconds.

Furthermore the resolver Library is not informed when the file /etc/resolv.conf is modified. In this case, a false name server is used.

Solution:

Via the configuration file /etc/nscd.conf you can inform nscd which services should be cached. If you have problems with machine name resolutions or your system has a PPP/ISDN connection, you should definitely switch off the hosts cache. Then please modify the following line:
        enable-cache            hosts           yes
in the file /etc/nscd.conf to the following:
        enable-cache            hosts           no

On a system where users are added or removed frequently, you should also change the entries for passwd or group. To do this, replace the yes in the enable-cache line with no.

----------

See also:

----------

Keywords: NSCD, HOST NOT FOUND, NAMESERVER, NSLOOKUP, DNS

----------

Categories: Applications

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-kukuk_nscd, Copyright SuSE GmbH, Nuremberg, Germany
SuSE GmbH - Last generated: 07. Oct 1999 16:56:40 by maddin with sdb_gen 1.00.0