UID & GID Mapping on Centrify

Showing results for 
Search instead for 
Do you mean 
Reply
Participant II
Posts: 2
Registered: 2 weeks ago
#1 of 4 147

UID & GID Mapping on Centrify

Currently I’m using centrify for AD authentication for linux severs. I need to get list of all the UID and GID with associate to centrify and is there any documentation to learn how uid and gid map between AD and linux severs 

Centrify Guru I
Posts: 2,388
Registered: ‎07-26-2012
#2 of 4 138

Re: UID & GID Mapping on Centrify

[ Edited ]

@chamilaw5,

 

Welcome to the Centrify forums.  You are posting in the Express forum.  If you're using our commercial options, see commercial below.  If you're using Centrify Express then use:

 

adquery user > lists all Centrify-enabled users (all users from local and trusted domains in Express) in UNIX user format.
adquery group > lists all Centrify-enabled groups (all AD groups from local and trusted domains in Express) in UNIX user format.

queries.PNG

This is because the identities of users and groups are generated on the fly using either the Centrify or Apple UID/GID schemes.  For custom identity management like UID/GID mapping, refer to the commercial product.

 

For more info on Centrify CLI commands, check this oldie but goodie: 

https://community.centrify.com/t5/TechBlog/TIPS-A-Centrify-Server-Suite-Cheat-Sheet/ba-p/22568

 

Commercial Customers

 

More info

 

I hope this helps.

 

R.P

Want to learn more about practical Centrify examples? Check out my blog at http://centrifying.blogspot.com
Follow Centrify:
Participant II
Posts: 2
Registered: 2 weeks ago
#3 of 4 130

Re: UID & GID Mapping on Centrify

Hi Robertson

 

Thank you for the details explanation. I got the existing UID  and GID list from one of my linux server. And I have notice some entries have without username. AnyIdea what are that entries 

  1. 00008872f764:x:1053044709: 1053044709:00008571f364:/home/00008571f364:/bin/bash
Centrify Guru I
Posts: 2,388
Registered: ‎07-26-2012
#4 of 4 123

Re: UID & GID Mapping on Centrify

[ Edited ]

@chamilaw5,

 

That requires familiarity with your environment.

 Why not do an adquery user [username] -A to get more information?

 

From what the entry looks like the user name is 00008872f764

 

source:  https://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/

 

Tips: https://community.centrify.com/t5/TechBlog/TIPS-A-Centrify-Server-Suite-Cheat-Sheet/ba-p/22568

 

R.P

 

 

Want to learn more about practical Centrify examples? Check out my blog at http://centrifying.blogspot.com
Follow Centrify: