etgrws03[/opt/pware64/lib]#cat smb.conf # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # For a step to step guide on installing, configuring and using samba, # read the Samba-HOWTO-Collection. This may be obtained from: # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf # # Many working examples of smb.conf files can be found in the # Samba-Guide which is generated daily and can be downloaded from: # http://www.samba.org/samba/docs/Samba-Guide.pdf # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not made any basic syntactic errors. # #======================= Global Settings ===================================== [global] debug level= 0 ; workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 ; workgroup = Fluoroware workgroup = WINDOM1 ; netbios name = mis1j netbios name = samba_ws01 netbios aliases = qsap1 Q01 D01 ;revalidate = True ; comment is the equivalent of the NT Description field ; comment = HPUX 11.00 Server comment = AIX Server ; printing = BSD or SYSV or AIX, etc. ; printing = hpux # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ; load printers = yes ; Uncomment this if you want a guest account, you must add this to /etc/passwd ;guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/opt/freeware/samba/log.%m ; Put a capping on the size of the log files (in Kb) max log size = 5000 ; Options for handling file name case sensitivity and / or preservation ; Case Sensitivity breaks many WfW and Win95 apps case sensitive = no ; short preserve case = yes ; preserve case = yes ; Security and file integrity related options ; lock directory = /usr/local/samba/var/locks locking = no ; Strict locking is available for paranoid locking situations only ; enabling this severely degrades read / write performance. ; strict locking = yes ; fake oplocks = yes share modes = yes ; Security modes: USER uses Unix username/passwd, SHARE uses WfW type passwords ; SERVER uses an other SMB server (eg: Windows NT Server or Samba) ; to provide authentication services security = server ; security = user ; Use password server option only with security = server ; password server = ;password server = mnflrf04 nt_bdc_b1 ;password server = winpdc winbdc1a password server = chs-dc03 chs-dc04 # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. #password level = 8 ; Configuration Options ***** The location of this entry in your smb.conf ; heirachy determines which parameters are overwritten - please watch out! ; Where %m is any SMBName (machine name, or computer name) for which a custom ; configuration is desired ; include = /usr/local/samba/lib/smb.conf.%m ; Performance Related Options ; Before setting socket options read the smb.conf man page!! socket options = TCP_NODELAY ; Socket Address is used to specify which socket Samba ; will listen on (good for aliased systems) ; socket address = aaa.bbb.ccc.ddd ;socket address = 10.1.250.102 ; Use keep alive only if really needed!!!! ; keep alive = 60 ; Configure Samba to use multiple interfaces ; Samba will auto-detect network interfaces - only use this if ; the auto-detection does not deliver the needed results ; interfaces = 192.168.12.2/24 176.16.111.22/19 10.11.13.14/255.255.252.0 ;interfaces= 10.1.250.102/16 ;interfaces= 10.13.80.99/255.255.255.224 interfaces= 10.13.100.161/10.13.100.255 ;bind interfaces only=true ; Browser Control Options: ; Local Master set to True causes Samba to participate in browser elections ; the default setting is true, this causes Samba to behave like a ; Windows NT server. Setting this to false turns off all browser ; election participation. ; local master = yes ; OS Level gives Samba the power to win browser elections. Windows NT = 32 ; Any value < 32 means NT wins as Master Browser, > 32 Samba gets it ; default = 0, this ensures that Samba will NOT win the browser election. os level = 0 ; Domain Master specifies Samba to be the Domain Master Browser ; Only ever set this if there is NO Windows NT Domain Controller on the ; network ; domain master = yes ; Preferred Master causes Samba to force a local browser election on startup ; preferred master = yes ; Use with care 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 = ; Domain Logon Service Options: ; Domain logon control can be a good thing! See [netlogon] share section below! ; Do NOT set this to yes if there is an Windows NT domain controller ; on the network ; domain logons = yes ; run a specific logon batch file per workstation (machine) ; logon script = %m.bat ; run a specific logon batch file per username ; logon script = %u.bat ; Where to store roving profiles (only for Win95 and WinNT) ; %L substitutes for the SMB name we are called, %U is username ; You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U ; Windows Internet Name Serving Support Section: ; WINS Support - Tells the NMBD component of Samba to enable it's WINS Server ; the default is NO. If you have an Windows NT Server WINS use it! ; Samba defaults to wins support = no wins support = no ; 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 = mnflrf04 ; wins server = winbdc1a winbdc2a winbdc4 #wins server = windc1 wins server = chs-dc03 chs-dc04 ; WINS Proxy - Tells Samba to answer name resolution queries on behalf of a non ; WINS Client capable client, for this to work there must be at least one ; WINS Server on the network. The default is NO. ;wins proxy = yes ; name resolve order = host wins lmhosts name resolve order = host lmhosts ;time server = True # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The default is NO. dns proxy = no # These scripts are used on a domain controller or stand-alone # machine to add or delete corresponding unix accounts ; add user script = /usr/sbin/useradd %u ; add group script = /usr/sbin/groupadd %g ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u ; delete user script = /usr/sbin/userdel %u ; delete user from group script = /usr/sbin/deluser %u %g ; delete group script = /usr/sbin/groupdel %g #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writable = yes # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ; comment = Network Logon Service ; path = /usr/local/samba/lib/netlogon ; guest ok = yes ; writable = no ; share modes = no # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] ; path = /usr/local/samba/profiles ; browseable = no ; guest ok = yes # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /usr/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes # A publicly accessible directory, but read only, except for people in # the "staff" group ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; writable = no ; printable = no ; write list = @staff [boltons] comment = Jetform S01 valid users = ssaha2 path = /boltons/S01/vertex/3.3 public = no writable = yes printable = no create mask = 664 directory mask = 755 follow symlinks = no force group = etgradm etgrws03[/opt/pware64/lib]#