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.