Guest User

samba 4 configurations as part of troubleshooting questions

a guest
Jul 3rd, 2013
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /usr/local/samba/etc/smb.conf
  2.  
  3. # Global parameters
  4. # Parameters in this section apply to the server as a whole, or are defaults for sections
  5. # that do not specifically define certain items.
  6. [global]
  7. workgroup = OFFICE
  8. realm = DOMANE.LAN
  9. netbios name = SERVER
  10. server role = active directory domain controller
  11. dns forwarder = 8.8.8.8
  12. allow dns updates = signed
  13. preferred master = yes
  14.  
  15. [netlogon]
  16. path = /usr/local/samba/var/locks/sysvol/domane.lan/scripts
  17. read only = No
  18.  
  19. [sysvol]
  20. path = /usr/local/samba/var/locks/sysvol
  21. read only = No
  22.  
  23. [references]
  24. comment = scanned documents
  25. wide links = no
  26. create mode = 744
  27. path = /mnt/raid/samba/records/service/documents
  28. directory mode = 744
  29. write list = tom,administrator
  30. browseable = yes
  31.  
  32. [invoices]
  33. comment = invoices scanned
  34. path = /mnt/raid/samba/records/invoice
  35. wide links = no
  36. create mode = 744
  37. directory mode = 744
  38. write list = tom,administrator
  39. browseable = yes
  40.  
  41. ==========
  42.  
  43. /etc/resolv.conf
  44.  
  45. # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  46. # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  47. nameserver 192.168.3.210
  48.  
  49. ==========
  50.  
  51. /usr/local/samba/bin/samba-tool dns query 127.0.0.1 domane.lan @ ALL
  52.  
  53. Name=, Records=3, Children=0
  54. SOA: serial=4, refresh=900, retry=600, expire=86400, minttl=0, ns=server.domane.lan., email=hostmaster.domane.lan. (flags=600000f0, serial=4, ttl=3600)
  55. NS: server.domane.lan. (flags=600000f0, serial=1, ttl=900)
  56. A: 192.168.3.210 (flags=600000f0, serial=2, ttl=900)
  57. Name=_msdcs, Records=0, Children=0
  58. Name=_sites, Records=0, Children=1
  59. Name=_tcp, Records=0, Children=4
  60. Name=_udp, Records=0, Children=2
  61. Name=DomainDnsZones, Records=0, Children=2
  62. Name=ForestDnsZones, Records=0, Children=2
  63. Name=server, Records=1, Children=0
  64. A: 192.168.3.210 (flags=f0, serial=4, ttl=900)
RAW Paste Data