diff options
Diffstat (limited to 'packaging/Caldera/OpenServer/smb.conf')
-rw-r--r-- | packaging/Caldera/OpenServer/smb.conf | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/packaging/Caldera/OpenServer/smb.conf b/packaging/Caldera/OpenServer/smb.conf index 717c4efb174..973fac4539e 100644 --- a/packaging/Caldera/OpenServer/smb.conf +++ b/packaging/Caldera/OpenServer/smb.conf @@ -15,7 +15,10 @@ [global] # workgroup = NT-Domain-Name or Workgroup-Name - workgroup = MYGROUP + workgroup = %%WORKGROUP%% + +# netbios name + netbios name = %%NBNAME%% # server string is the equivalent of the NT Description field server string = Samba Server @@ -43,16 +46,16 @@ # this tells Samba to use a separate log file for each machine # that connects - log file = /usr/local/samba/var/log.%m + log file = /var/log/samba.d/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. - security = user + security = %%SECURITY%% # Use password server option only with security = server -; password server = <NT-Server-Name> +; password server = %%PWSERVER%% # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. @@ -90,7 +93,7 @@ # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. -; interfaces = 192.168.12.2/24 192.168.13.2/24 +; interfaces = %%INTERFACES%% # Configure remote browse list synchronisation here # request announcement to, or browse list sync from: @@ -106,12 +109,12 @@ # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable -; os level = 33 + os level = %%OSLEVEL%% # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job -; domain master = yes + domain master = %%DOMAINMASTER%% # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election @@ -119,11 +122,11 @@ # Use only if you have an NT server on your network that has been # configured at install time to be a primary domain controller. -; domain controller = <NT-Domain-Controller-SMBName> +; domain controller = %%PDC%% # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. -; domain logons = yes + domain logons = %%DOMAINLOGONS%% # if you enable domain logons then you may want a per-machine or # per user logon script @@ -152,11 +155,11 @@ # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server -; wins support = yes +; wins support = %%WINSSUPPORT%% # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both -; wins server = w.x.y.z +; wins server = %%WINSSERVER%% # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be |