== Please read this page carefully ==Since we are getting many several users with problems using "wrong" versions, please be aware ofthat:* windows, only Pro Only the following versions (win2k pro, xp pro, of Windows will support connecting to a domain: Windows 2000 Professional Windows XP Professional Windows XP 64bit Professional Windows Vista business) support domain features, home versions do not. Windows Vista Ultimate Windows 7 Professional Windows 7 Enterprise Windows 7 Ultimate* Any Version of windows NOT listed is NOT supported* mac osx Mac OSX does support joining a windows network
* Linux supports samba shares
* Windows 7 needs tweaking, please create a registry file (Win7SambaDomainMember.reg with :Open Notepad Copy the following contentscode into notepad:<br>{{Text|Text=Windows Registry Editor Version 5.00<br><br>{{Text|Text=[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DNSNameResolutionRequired"<nowiki>=</nowiki>dword:00000000
"DomainCompatibilityMode"<nowiki>=</nowiki>dword:00000001
"SignSecureChannel"<nowiki>=</nowiki>dword:00000001}}
* Save the fileas a .reg NOT a .txt, and double-click it, so that it gets entered into the registry. (select Run if asked to run or cancel, then windows will warn that you that it might be unsafe to add are adding things to the registryclick yes as it is safe, just then click yesok, and a message should apear that the keys have been it will get entered into the registry).* Windows 7 issues/ change log:
** There is a warning kicked up that can be ignored. it complains about DNS not beeing set correctly. reboot and you are there
** as of 06/02/2010 roaming profiles work under windows 7
== Making Amahi a PDC - Primary Domain Controller ==
*First you need to enable PDC options for the amahi server.
to do this go to your dashboard, then select Setup, then Settings, then tick the box that says '''Advanched Features'''
After you've done this go to '''Shares''' then '''Settings'''
* 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. For now and until we enable granting admin rights to other users, do this (set Type the samba password for the root user)following into terminal:
{{Code|smbpasswd -a root
service nmb restart}}
* Then join the domainThis creates a user named root then it enables it, if your running Ubuntu 12.04 you will get a error saying smb: unrecogized service or nmb: Select startunrecogized service, control panel, system, and click computername. Then select network-id and follow you can restart samba through the wizard. (Domain name default is 'home' but can be changed in your HDA dashboardthen Setup, under Setup > Shares > Settings then servers, click on the domain name Samba and change it to what you want.) When it asks you for a username/password, supply the root username/password you created aboveclick restart. '''This only needs to be done once'''
==Full procedure for Complete Domain Setup with A Windows XPBox==
Thanks to obnox for explaining all this to robbiet480 who got his PDC working with the same directions<br>
1. On the Windows Box
* Windows 7 users need to use the registry script above
* Go to network connections
* Double click your main network connection
* force enable NetBIOS Name,
2. On the Amahi box
* 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
service smb restart
service nmb restart}}
* if your running Ubuntu 12.04 you will get a error saying smb: unrecogized service or nmb: unrecogized service, you can restart samba through the dashboard then Setup, then servers, click on Samba and click restart.
3. Back to windows!
* Open the System window by right clicking on My Computer in the Start Menu
* Go to the "Computer Name" tab
* Note down the Computer Name
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!
* This code authorizes your computer to connect
5. Back to windows again!
* Open the System window by right clicking on My Computer in the Start Menu
* Go to the "Computer Name" tab
* Click Change
* Type in the domain IN ALL CAPS (default domain name is 'homeWORKGROUP' this may not work but can be changed in your HDA dashboard, under Setup > Shares > Settings then click on the domain name ) * Enter root username and finish by binding the windows client using the root credentials password that you setup above/ earlier. * Restart the computer* login Login w/ your user or root from the Windows login screen. * you You are done!
== How to Join a Domain with a Non-root User ==