Appendix A smb.conf Examples

A.1

smb.conf for Windows-Only Access

#Samba config file created using SWAT

#Date: 2000/04/10 12:59:01

#Global parameters

[global]

workgroup = SNSLATC

netbios name = CIFS_SERVER server string = Samba Server security = DOMAIN

encrypt passwords = Yes password server = * syslog = 0

log file = /var/opt/samba/log.%m max log size = 1000

local master = No read only = No

short preserve case = No dos filetime resolution = Yes

[tmp]

path = /tmp

[cifshare]

comment = CIFS User Home Share path = /home/cifshare

share modes = yes locking = yes oplocks = yes

42

Page 42
Image 42
HP UX Common Internet File System (CIFS) Client/Server Software manual Appendix a smb.conf Examples