sid_to_uid command to specify a security identifier (SID) of an Active Directory user to look up the Active Directory user in Active Directory. This command converts the user’s security identifier to a numeric identifier for the user ID (the UID value). This conversion process is the same process used to generate UIDs for Centrify Express users or when you use Auto Zone to automatically generate UIDs for users.
sid_to_uid [-domainidmap] sid
This command takes the following options:
Optional. Specifies a domain ID mapping for the selected zone. Before using this field, you must have a selected zone stored in memory. This field is not supported for auto zones nor classic zones.
If the selected zone does not already have a domain ID mapping, the UID is generated normally.
If the selected zone has a domain ID mapping already and the domain to which this SID belongs exists in the specified domain ID mapping, the UID is generated with the algorithm based on the domain ID mapping.
If the selected zone has a domain ID mapping already but the domain to which this SID belongs does not exist in the specified domain ID mapping, the UID is generated normally.
sid_to_uid -domainidmap S-1-5-21-2076040321-3326545908-468068287-1157
This command takes the following argument:
Required. Specifies a security identifier (SID).
This command returns a numeric user ID.
This example returns a unique UID for the user:
The following commands perform actions related to this command:
- principal_from_sid searches Active Directory for an SID and returns the security principal associated with the SID.