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-3122: Local account is created with long UID/GID instead of normal number sequence like 101 or 501

Centrify DirectControl ,  

12 April,16 at 11:09 AM

Applies to: All Versions of Centrify DirectControl on Solaris 9.

Problem:

After installing Centrify, it is noticed that when creating a  local user or group using useradd  and groupadd commands, the user or group is created with Centrify-style long
uid/gid like 973094695 and not a normal local uid/gid like 550 for example. Is this normal?


Cause:

In Solaris9, the commands 
useradd / groupadd launches a separate process to run getent to get the highest uid/gid.

In the /etc/centrifydc/centrifydc.conf file, groupadd and useradd are included in the nss.program.ignore but not getent .


Workaround:

Before creating a local user or group, please do the following:

1 Turn off
nscd temporarily.

# ps --ef | grep nscd

Note the ''pid'  for the nscd process.

# kill -9 <pid>

2. As root, edit the configuration file /etc/centrifydc/centrifydc.conf file to include getent in the nss.program.ignore parameter

# vi /etc/centrifydc/centrifydc.conf

Look for the parameter nss.program.ignore and append getent at the end and save the file.

3. Create the user or group using the useradd or groupadd command

4.   After creating the user or group,  remove
getent from the nss.program.ignore parameter in /etc/centrifydc/centrifydc.conf file.

5.  Restart
nscd.


Resolution:

This is fixed in Centrify DirectControl 5.2.a and above. 

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