Advertisement
Combreal

smb.conf

Aug 13th, 2017
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. [global]
  2.  
  3.  
  4. workgroup = WORKGROUP # par défaut et à laisser tel quel
  5. netbios name = fod # nom du serveur visible sur le poste client Windows
  6.  
  7. server string = samba # nom du serveur samba
  8. path = /home/sharing
  9. valid user = sharing
  10.  
  11. #### Networking ####
  12.  
  13. interfaces = 192.168.43.45 eth0
  14.  
  15. hosts allow = 192.168.43. 50.
  16.  
  17.  
  18. ####### Authentication #######
  19.  
  20. security = user
  21. encrypt passwords = true
  22.  
  23. ########## Printing ##########
  24.  
  25. ; printing = bsd
  26. ; printcap name = /etc/printcap
  27.  
  28. printing = cups
  29. printcap name = cups
  30.  
  31. use client driver = yes
  32.  
  33.  
  34. #======================= Share Definitions =======================
  35.  
  36. [homes]
  37. comment = Home Directories
  38. browseable = no
  39.  
  40. # next parameter to 'no' if you want to be able to write to them.
  41. read only = no
  42.  
  43. create mask = 0700
  44.  
  45. directory mask = 0700
  46.  
  47. # By default, \\server\username shares can be connected to by anyone
  48. # with access to the samba server.
  49. # The following parameter makes sure that only "username" can connect
  50. # to \\server\username
  51. # This might need tweaking when using external authentication schemes
  52. valid users = %S
  53.  
  54.  
  55. [sharing]
  56. path = /home/sharing/
  57. browseable = yes
  58. writeable = yes
  59. valid users = sharing
  60. write list = sharing
  61. create mask = 0770
  62. directory mask = 700
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement