|
|
|
Samba Setup Guide for Linux
|
Adding a Windows machine account, and password to Linux and Samba. Now that we have setup our Samba server to be a domain controller, we need to add a Windows machine account and password to Linux and Samba. This is much the same process as adding a user. However there a couple of different procedures to follow. So open a terminal window as root, and type in the following. This will add the Windows pc named saturn to Linux first , then we will add the Samba password. Now as you can see there is some differences, when we added the Windows pc to Linux, we added the name saturn\$, this tells Linux that it is a machine, not a name. Next when we added the Samba password, we invoked the -m, this again tells Samba that we are adding a pc, not a person. Also, you probably noticed that it did not prompt for a password, it just added merlex$. When you logon to the domain, Samba will read the password from your Windows password. Now that this done, all what is left to do is restart Samba, Now you need to setup your Windows pc for domain logins. ***Note the first time that you join a Samba domain from Windows, you will need to join the domain by using root as the name, and your root password for the password. After rebooting, any valid user will be able to access the domain. So there you are, a very simplistic Samba Primary Domain Controller setup. Again, please keep in mind, this is nowhere a complete setup, it is only a small demonstration of the powerful abilities of Samba. If you like more info on this, go to www.samba.org |