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-2462: Running the CLI version of adjoin with a valid computer name produces an error about illegal characters.

Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:09 AM

Applies to: All versions of Centrify DirectControl

Problem:

Running adjoin with a seemingly valid computer name on the command line produces an error about illegal characters:

#sudo adjoin --user Admin --password Pass --name computer-123 --force example.com

..will return:

The computer name computer-123  is not valid. It may contain illegal characters.

 Standard computer names contain letters, numbers, and hypens (-) only.

 Spaces, periods and the characters  \/:*?"<>|. are not allowed.

 Other characters are legal but may lead to interoperability issues.

 Computer names may not consist entirely of digits.

Cause:

It is caused by extra spaces accidentally entered at either the beginning or the end of the computer name.


Resolution:

Run the same adjoin command again after removing all extraneous white spaces.
Alternatively if using a Mac computer, use the ADJoin GUI tool to ensure a more foolproof method of performing the command.

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