Adding Ubermix to Active Directory using CentrifyDN

From ubermix Wiki
Jump to: navigation, search

Adding Ubermix to Active directory is easy with these steps:

1. Move the update-hostname to update-hostname.xxx and create a blank file -- this will keep the machine name from changing on startup and allow hostname to be set:

open terminal with Ctrl-T if it is not already open

   sudo -i
   cd /usr/local/bin
   mv update-hostname update-hostname.xxx
   echo >>update-hostname
   chmod a+x update-hostname

2. Go Ahead and update and upgrade Ubermix to make sure it is up-to-date for AD integration:

open terminal with Ctrl-T if it is not already open

   sudo -i
   apt-get update
   apt-get upgrade

3. Copy contents from the default user (/home/user) logging in to /etc/skel so all users have the same desktop:

open terminal with Ctrl-T if it is not already open

   sudo -i
   cp -r /home/user/.config /etc/skel/
   cp -r /home/user/.gconf /etc/skel/
   cp -r /home/user/.gconfd /etc/skel/
   cp -r /home/user/.gnome2 /etc/skel/
   cp -r /home/user/.local /etc/skel/
   cp -r /home/user/.nautilus /etc/skel/
   cp -r /home/user/.scribus /etc/skel/

4. Install nano, ssh, and centrifydn, also edit the hostname and hosts file in /etc/hosts and /etc/hostname:

open terminal with Ctrl-T if it is not already open

   sudo -i
   apt-get install nano ssh centrify*

4a. Use your editor of choice, or nano to edit the /etc/hosts file: ctrl-o to save and Y to overwrite, then ctrl-x to exit; arrow keys move the cursor in the editor -- edit the name that starts with system-{mac} to a name you want identified in Active Directory. Do not add the .domain at the end. Nano works well for this because it does not add extra hidden characters like some editors do.


   nano /etc/hosts 

4b. Use your editor of choice or nano to edit the /etc/hostname file -- ctrl-o to save and Y to overwrite -- edit the name that starts with system-{mac} to a name you want identified in Active Directory. Do not add the .domain at the end. Reboot the computer.


   nano /etc/hostname 
   sudo reboot 

5. After the computer is rebooted, join to the AD and reboot again

open terminal with Ctrl-T if it is not already open

   sudo -i
   adjoin -w {name of AD Domain} -u {user of AD with rights to join}

6. Go to System --> Login Screen {System is found across the bottom}, click the unlock. The password is "password". Click "Show the Screen for who will login in." Uncheck show list of users.

7. Reboot the system *please note that the log-in screen will apear before the AD is ready for authentication. Please let the users know that they must wait. -- Note to Advanced Linux Administrators - put a wait time in the log-in script for lightdm.

More Advanced Topics on Active Directory and Centrify: