spacepaste

  1.  
  2. [global]
  3. # SMB uses ports 139 & 445, as explained in this blog post
  4. smb ports = 139 445
  5. netbios name = RIZZ0-BUILT
  6. workgroup = MYGROUP
  7. # Use either NetBIOS broadcast for name resolution or entries in the /etc/hosts file
  8. name resolve order = bcast host
  9. # Don't care if the workgroup name is upper or lower case
  10. case sensitive = no
  11. # User authentication is used to access the shares
  12. security = user
  13. map to guest = bad user
  14. guest account = guest
  15. # Don't allow the use of root for network shares
  16. invalid users = root
  17. # Domain master only applies to LANs that are inter-connected across a WAN
  18. domain master = no
  19. # This machine is eligible to be a Master Browser and its priority is 4
  20. # (the higher the os level, the more preferred to be Master Browser)
  21. # (the maximum allowable value for os level is 255)
  22. preferred master = yes
  23. os level = 4
  24. dns proxy = no
  25. # Always advertise the shares automatically
  26. auto services = global
  27. # Interfaces on which to listen for NetBIOS broadcasts and to allow SMB connections
  28. # Include "lo" because it is the internal interface
  29. # em1 is the name of the Ethernet interface, found using the ifconfig command
  30. interfaces = lo em1
  31. hosts allow = 127.0.0.1 192.168.1.116 192.168.1.115 192.168.1.110 192.168.1.119
  32. bind interfaces only = yes
  33. log file = /var/log/samba/log.%m
  34. max log size = 1000
  35. syslog = 0
  36. panic action = /usr/share/samba/panic-action %d
  37. server role = standalone server
  38. passdb backend = tdbsam
  39. obey pam restrictions = yes
  40. # Don't synchronise the Linux and Samba user passwords - they can be different
  41. unix password sync = no
  42. passwd program = /usr/bin/passwd %u
  43. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  44. pam password change = yes
  45. # This Samba configuration does not advertise any printers
  46. load printers = no
  47. # File to map long usernames to shorter Unix usernames, if necessary
  48. username map = /etc/samba/smbusers
  49. # Allow guest user access if specified in the shares
  50. guest ok = no
  51. # First user share is called "Gentoo" - only user "bry2k200" specified below can connect to the share
  52. [share]
  53. comment = "Gentoo Share"
  54. path = /home/bry2k200/Media
  55. writeable = yes
  56. browseable = yes
  57. valid users = bry2k200
  58.