PDC
From Amahi Wiki
Please read this carefully
Since we are getting many users with problems using "wrong" versions, please be aware of:
- windows, only Pro versions (win2k pro, xp pro, Vista business) support domain features, home versions do not.
- mac osx does support joining a windows network
- Linux supports samba shares
- Windows 7 needs tweaking, please create a registry file (Win7SambaDomainMember.reg with the following contents:
Windows Registry Editor Version 5.00
Text |
---|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters] "DNSNameResolutionRequired"=dword:00000000 "DomainCompatibilityMode"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters] "Update"="no" "DisablePasswordChange"=dword:00000000 "MaximumPasswordAge"=dword:0000001e "RequireSignOrSeal"=dword:00000001 "RequireStrongKey"=dword:00000001 "SealSecureChannel"=dword:00000001 "SignSecureChannel"=dword:00000001
|
- Save the file, and double-click it, so that it gets entered into the registry. (windows will warn you that it might be unsafe to add things to the registry, just click yes, and a message should apear that the keys have been entered into the registry)
- Windows 7 issues:
- 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 now you'll see the option called PDC enable it for Amahi to act as a windows PDC Server.
- To join a machine to the domain, it has to be done by logging in once as root. Unfortunately, Amahi does not currently create a root samba user. For now and until we enable granting admin rights to other users, do this (set the samba password for the root user):
bash code |
---|
smbpasswd -a root smbpasswd -e root service smb restart service nmb restart
|
- Then join the domain: Select start, control panel, system, and click computername. Then select network-id and follow the wizard. (Domain name default is 'home' but can be changed in your HDA dashboard, under Setup > Shares > Settings then click on the domain name and change it to what you want.) When it asks you for a username/password, supply the root username/password you created above. This only needs to be done once
Full procedure for Windows XP
Thanks to obnox for explaining all this to robbiet480 who got his PDC working with the same directions
- On the Windows Box
- Go to network connections
- Double click your main network connection
- Open the TCP/IP properties window
- Click advanced
- go to the WINS tab
- Add your Amahi IP to the list
- force enable NetBIOS Name,
- On the Amahi box
- Open a terminal
- smbpasswd -a root (set the samba password for the root user. You need to remember this for later!)
- smbpasswd -e root
- service smb restart
- service nmb restart
- Open a terminal
- Back to windows!
- 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 is 'home' but can be changed in your HDA dashboard, under Setup > Shares > Settings then click on the domain name ) and finish by binding the windows client using the root credentials you setup above. Restart the computer
- login w/ your user or root from the Windows login screen.
- you are done!