This tutorial is going to show you how to join a NAS4Free Server into existing ClearOS Domain. The ClearOS server act as a Primary Domain Controller and I want to join my Nas4Free Server to the domain. With this idea, any Active Directory users in ClearOS domain can use their credentials to use shared folder in Nas4Free server without having to create new users in Nas4Free.
In order to join Nas4Free Server to ClearOS Domain, you must have the following information in hand:
- ClearOS domain name (NetBios Name)
- ClearOS Domain name (DNS/Realm-Name)
- Administrator name
- Administrator password
You can get the above details by logging in to ClearOS web dashboard and go to Windows Networking section as follow
Now, log in to Nas4Free command console via SSH. You can use Putty on Windows machine if you are connecting from a Windows machine. Execute the following command on Nas4Free command console as root.
net rpc join -Uwinadmin
Now validate that trust exist between Nas4Free and ClearOS domain controller
1234567 Welcome to NAS4Free!nas4free: ~ # net rpc join -UwinadminEnter winadmin's password:Joined domain CLEARSYSTEM.nas4free: ~ # wbinfo -tchecking the trust secret for domain CLEARSYSTEM via RPC calls succeedednas4free: ~ #
Now all ClearOS domain users can use their user name and password to connect to Nas4Free shared folders and other resources. For more information, please visit: http://www.clearcenter.com/support/documentation/clearos_guides/join_nas4free_to_clearos_domain