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-5371: Account username and uid is not mapping

26 September,16 at 07:18 PM

Applies to: All version of Centrify DirectControl

Problem: 

When accessing a Centrified system it is seen that file permissions are showing the UID and not the associated name.
The ID command returns only the UID and GID not the associated username and groupname.

Cause: 

Permission issue 

Example:


$ id
uid=150538() gid=200(is) ==> UID not mapping with username
$ pwd
/home/dhima_sa
$ ls -al
total 160
drwx------ 2 150538 is 8192 Apr 10 14:31 .
drwxr-xr-x 403 root root 16384 Apr 14 02:22 ..
-r--r--r-- 1 150538 is 832 Jan 21 17:03 .cshrc
-rwxr--r-- 1 150538 is 347 Jan 21 17:03 .exrc
-rw------- 1 150538 is 70 Jan 21 17:03 .k5login
-r--r--r-- 1 150538 is 334 Jan 21 17:03 .login
-r--r--r-- 1 150538 is 700 Jan 21 17:03 .profile
-rwxr--r-- 1 150538 is 700 Jan 21 17:03 .profile.orig
-rw------- 1 150538 is 414 May 22 11:34 .sh_history

$

Workaround: 

NA 

Resolution: 

Check the
/etc/nsswitch.conf file permissions as they may be incorrect. 


ls -al /etc/nsswitch.conf -rw------- 1 root root 1753 Aug 8 08:47 /etc/nsswitch.conf 

If they show anything other than 644 Please run: 

chmod 644 /etc/nsswitch.conf 

Then login again and see if the issue is fixed. 

 

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

Related Articles

No related Articles