Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@BrightBox:/var/samba # cat smb.conf
- #
- # Samba configuration script
- #
- #======================= Global Settings =======================
- [global]
- # workgroup/NT-domain name your Samba server is part of
- workgroup = WORKGROUP
- # server string is the equivalent of the NT Description field
- netbios name = %h-samba
- server string = %h DSL Gateway
- # This will prevent nmbd to search for NetBIOS names through DNS.
- dns proxy = no
- # Local Master setings
- domain master = no
- local master = yes
- preferred master = yes
- os level = 35
- # log files are not necessary,and can be ignored for now
- # debuglevel = 3
- log level = 3
- # log file = /var/samba/log/smbd.%m
- log file = /dev/null
- # max log size = 50
- syslog only = yes
- timestamp logs = no
- syslog = 1
- # The specific set of interfaces / networks to bind to
- interfaces = br0
- bind interfaces only = yes
- load printers = no
- # security settings
- security = user
- encrypt passwords = yes
- smb passwd file = /var/samba/smbpasswd
- # obey pam restrictions = yes
- # browseable = yes
- map to guest = bad user
- guest ok = no
- guest only = no
- preserve case = yes
- short preserve case = yes
- # Performance related settings
- socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
- # use sendfile = yes
- # inactivity time out for client sessions
- deadtime = 5
- # charset
- # display charset = UTF-8
- # dos charset = cp950
- # unix charset = UTF-8
- #======================= Share Definitions =======================
- # USB Key folder
- [storage]
- comment = All Storage devices
- valid users = admin
- writable = no
- browseable = no
- path = /var/samba/share
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement