Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------- Network Related Options -------------------------
- [global]
- workgroup = WORKGROUP
- server string = %h Samba Server Version %v
- netbios name = PI
- usershare allow guests = yes
- # --------------------------- Logging Options -----------------------------
- log file = /var/log/samba/log.%m
- max log size = 50
- syslog = 0
- # ----------------------- Standalone Server Options ------------------------
- security = user
- passdb backend = tdbsam
- username map = /etc/samba/smbusers
- encrypt passwords = yes
- obey pam restrictions = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n$
- map to guest = bad user
- follow symlinks = yes
- wide links = yes
- unix extensions = no
- lock directory = /var/cache/samba
- # This will prevent nmbd to search for NetBIOS names through DNS.
- dns proxy = no
- # What naming service and in what order should we use to resolve host names
- # to IP addresses
- name resolve order = hosts wins bcast
- [devices]
- browsable = yes
- read only = no
- guest ok = yes
- path = /media/
- force user = root
- [pi]
- path = /media/WD2T
- force user = pi
- comment = pi
- browseable = yes
- writeable = yes
- create mask = 0777
- directory mask = 0777
- fstype=NTFS
- public=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement