Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-4057: adcheck reports incorrectly that dns is needed in nsswitch.conf in Fedora Core 20

Centrify DirectControl ,  

12 April,16 at 11:45 AM

Applies to:
 
Centrify DirectControl 5.1.3 on Fedora Core 20 platform only

 
Question:
 
adcheck reports the below error even though /etc/nsswitch.conf has dns for hosts line.
 
Snippet of adcheck:
 
NSHOSTS  : Check hosts line in /etc/nsswitch.conf                      : Failed
         : adcheck needs dns to resolve hosts
         : Please add dns to the hosts line in /etc/nsswitch.conf .
 
 
cat /etc/nsswitch.conf |grep hosts
 
#hosts:     db files nisplus nis dns
hosts:      files dns
 
The DNS server listed in /etc/resolv.conf is alive and is the right server. It also knows about this FC 20 server. Is there any reason for this?

 
Answer:
 
adcheck invokes a script which greps (searches) for the below string.
 
WORDS=`grep "^\s*hosts" $FILE
 
When the grep command is run manually, it returns nothing.
 
This error can be ignored for now. Centrify will investigate further on the OS side of things and will provide resolution.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.