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-6771: Configuring ZPA to Remove Unwanted Characters from Unix Login Names

Centrify DirectControl ,  

26 September,16 at 11:52 PM

Applies to:
 
Centrify DirectControl 5.x on all platforms

Question:
  
Can Zone Provisioning Agent (ZPA) be configured to remove unwanted, special characters from the Unix Login Name?  For example, the account in the image below is for the user Bugs Bunny.
  

User-added image
  
  
The sAMAccountName attribute for Bugs Bunny is #bbunny,  The ZPA is configured to use the sAMAccountName attribute as the unix name when it creates a zone profile.  
  
User-added image
  
Since the '#' (hash mark) is a special character in Unix, it cannot be used in the Unix login name. Is there a way to configure ZPA to replace or remove the unwanted character in the zone profile?


Answer:
  
The ZPA can be configured to remove / replace unwanted characters.
  
1) On the Zone Provisioning Tab, select the gear icon next to the Login name input box
  
User-added image
  
  
2) The UNIX Name Settings dialog box appears:
  
User-added image
  

Here the ZPA can be configured to delete any invalid character or replace the character with an underscore.  In this example, the # will be removed from the unix login name
 
3) Rerun zone provisioning either by stopping and restart, or by using the zoneupdate command.

4) Check the zone profile after ZPA has run to verify the result.
  
 
User-added image
  

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