Guest User

Untitled

a guest
Sep 12th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. #
  2. # Sample configuration file for the Samba suite for Debian GNU/Linux.
  3. #
  4. #
  5. # This is the main Samba configuration file. You should read the
  6. # smb.conf(5) manual page in order to understand the options listed
  7. # here. Samba has a huge number of configurable options most of which
  8. # are not shown in this example
  9. #
  10. # Some options that are often worth tuning have been included as
  11. # commented-out examples in this file.
  12. # - When such options are commented with ";", the proposed setting
  13. # differs from the default Samba behaviour
  14. # - When commented with "#", the proposed setting is the default
  15. # behaviour of Samba but the option is considered important
  16. # enough to be mentioned here
  17. #
  18. # NOTE: Whenever you modify this file you should run the command
  19. # "testparm" to check that you have not made any basic syntactic
  20. # errors.
  21.  
  22. #======================= Global Settings =======================
  23.  
  24. [global]
  25.  
  26. ### DEFAULT OPTIONS ###
  27.  
  28. ;workgroup = WORKGROUP
  29. server string = %h server (Samba, FileShare)
  30. dns proxy = no
  31. log file = /var/log/samba/log.%m
  32. max log size = 1000
  33. syslog = 0
  34. panic action = /usr/share/samba/panic-action %d
  35. ;server role = standalone server
  36. passdb backend = tdbsam
  37. obey pam restrictions = yes
  38. unix password sync = yes
  39. passwd program = /usr/bin/passwd %u
  40. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  41. pam password change = yes
  42. map to guest = bad user
  43. usershare allow guests = yes
  44.  
  45. ### ADDITIONAL [global] OPTIONS ###
  46.  
  47. workgroup = PRETTYSAFE
  48. realm = PRETTYSAFEELECTRONICS.IO
  49. security = ads
  50. idmap config * : backend = rid
  51. kerberos method = dedicated keytab
  52. dedicated keytab file = /etc/samba/UBUNTU.keytab
  53. server role = member server
  54. log level = 3
  55.  
  56.  
  57. ### DEFAULT SHARE OPTIONS ###
  58.  
  59. read only = no
  60.  
  61. [share]
  62. path = /home/share
  63. public = yes
  64. writeable = yes
  65. force user = share
  66. ; valid users = "PRETTYSAFE\Domain Users"
  67. inherit acls = yes
Add Comment
Please, Sign In to add comment