
116
|
Samba Pocket Reference
# versions, but not the Samba server
# that uses the configuration file
# in the previous section.
os level = 17
[homes]
comment = %u's Home Directory
browsable = no
read only = no
# This is a shared directory, accessible by all
# users. Use your own share name and path.
[d]
path = /d
create mask = 0700
read only = no
Once you have a server in your workgroup handling authen-
tication and WINS, this is the configuration file to use when
adding additional Samba servers to the workgroup.
Samba in a Windows NT Domain
When operating in a Windows NT domain, Samba can act
either as a primary domain controller or as a domain mem-
ber server.
Primary domain controller
Setting up Samba as a primary domain controller is more
complicated than the other configurations. However, the
extra difficulty is offset by having a more secure network and
additional features such as logon scripts and roaming pro-
files. In the following configuration file, we also include sup-
port for a Microsoft Dfs share:
[global]
# Replace "toltec" with the hostname of your system.
netbios name = toltec