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-2642: Steps for changing the hostname and IP address of a Centrify DirectControl server

Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:11 AM

Applies to: All versions of Centrify DirectControl
 
Question:
 
Is there a recommended sequence to follow for changing a Centrify-joined server's hostname and IP address?
 

Answer:
 
The following steps must be performed BEFORE changing the hostname and IP address of a Centrify host/server:
  1. On the system to be renamed, run the following command:
    • ​​# adleave -r
      • This needs to be done as root, the -u parameter can also be added to specify an authorized AD user immediately.
      • The -r option removes the computer account from AD
  2. Perform the desired operations on the host/server, such as changing the hostname and IP address, then reboot. 
  3. Do adjoin as normal substituting the usual flags needed in the organization.
    • ​​# adjoin -n <computer name> -u <admin username> -z <zone name> <domain name>
      • -u  username AD user authorized to join a computer
      • -n  (new) computer name
      • -z  zone name        (to join in Zone Mode)
      • -w  workstation mode (to join in Auto Zone)
      • -f  force
    • Example:
      • # adjoin -n new_computer_name -u Administrator -z DB_Zone demo.com
 

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