david's samba config files

david's samba config files


#ee /usr/local/etc/smb.conf

[global]

       workgroup = WORKGROUP

       server string = fileserver.tcaportal.com

       interfaces = 10.0.1.51

       security = USER

       encrypt passwords = Yes

       log file = /var/log/samba/log.%m

       max log size = 100

       change notify timeout = 3

       deadtime = 15

       socket options = TCP_NODELAY SO_KEEPALIVE

       os level = 36

       name resolve order = wins host lmhosts bcast

       preferred master = Yes

       domain master = No

       wins support = Yes

       lock dir = /usr/local/locks

       hide dot files = yes

       guest account = pcguest

       oplocks = yes

       create mask = 0770

       directory mask = 0770

       load printers = no

       printing = bsd

       printcap name = /dev/null

       disable spoolss = yes          可以隐藏共享中看到的“打印机”图标

#       recycle:keeptree = Yes

#        recycle:repository = /data/trashbin/%U

#        recycle:noversions = *.doc|*.xls|*.ppt

#        recycle:excludedir = /tmp|/temp|/cache

#        recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??

#        recycle:maxsize = 0

#        recycle:versions = No

#        recycle:touch = Yes

#        vfs objects = recycle

[Financials]

       comment = Financials

       path = /data/Datastore/Financials

       write list = @financials

       read list = @management

       read only = No

[GA]

       comment = GA

       path = /data/Datastore/GA

       write list = @ga

       read list = @management

       read only = No

[HRD]

       comment = HRD

       path = /data/Datastore/HRD

       write list = @hrd

       read list = @management

       read only = No

[IT]

       comment = IT

       path = /data/Datastore/IT

       write list = @it

       read list = @management

       read only = No

[MIS]

       comment = MIS

       path = /data/Datastore/MIS

       write list = davidschulz

       read list = davidschulz

       read only = No


你可能感兴趣的:(server,Security,change,master,Files)