* To '''join''' a machine to the domain, it has to be done by logging in once as [[Open_Terminal_as_root|root]]. Unfortunately, Amahi does not currently automatically create a root samba user. Type the following into terminal:
{{Code|smbpasswd -a root
smbpasswd -e root
service smb restart
* If you havent ran this already
* Open a terminal (set the samba password for the root user. You need to remember this for later!):
{{Code|smbpasswd -a root
smbpasswd -e root
service smb restart
4. Back to Amahi!
* Open a terminal
{{Code|sudo useradd -s /bin/false -d /dev/null ComputerNameNotedEarlier$
sudo smbpasswd -a -m ComputerNameNotedEarlier}}
* Remember the $ on the first line but not the second!