|
|
|
Samba Setup Guide for Linux
|
Samba as a Primary Domain Controller Samba as a Primary Domain Controller for a small network is fairly easy to do. If you are looking for info on setting up a large network, or replacing an existing NT server in your network, you may want to do some reading here: . We will be concentrating on a small network setup with Windows NT and Windows 2000 pc's. If you are using Windows 2000 with Service Pack 2, you must use Samba 2.2.1or newer for Samba to be a domain controller for these. It is much preferable to upgrade to 2.2.7 as there are several inhancements and security fixes. As for Windows XP, one piece of advice.....if you have bought Windows XP home edition, it will not support domain logons. You will need to upgrade to the Pro version. Before we get started, I will be assuming that you have a more advanced knowledge of networking Windows and Linux. If you are not, I strongly recommend that you check here for Linux: Networking-Overview-HOWTO. As for the Windows pc, please consult your windows documentation on setting the network domain logons, logon names and passwords. For more info: http://www.helmig.com. Also I assume you have a working Samba server connected to your network as well. If not you, may wish to start here For this document I will be adding on to an existing smb.conf that was described here, so I will not be going through and re-explaining every line. I will only add the lines that are neccessary for Samba to be a PDC. ( without roaming profiles, more on this to come). They will be highlighted in green. The lines highlighted in black, are the comments that explain. So lets get started! # Global parameters ;Samba is the domain
and local master browser. ;automatically maps the home directory of the user, can be any drive letter you want. \\samba
is the Samba server netbios name ;neccessary share for domain controller [homes] [music] [everyone] So that is about it for the smb.conf file, save it and exit the editor. Now we will need to add a Windows machine account and password to Linux and Samba.
|