Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- workgroup = WORKGROUP # par défaut et à laisser tel quel
- netbios name = fod # nom du serveur visible sur le poste client Windows
- server string = samba # nom du serveur samba
- path = /home/sharing
- valid user = sharing
- #### Networking ####
- interfaces = 192.168.43.45 eth0
- hosts allow = 192.168.43. 50.
- ####### Authentication #######
- security = user
- encrypt passwords = true
- ########## Printing ##########
- ; printing = bsd
- ; printcap name = /etc/printcap
- printing = cups
- printcap name = cups
- use client driver = yes
- #======================= Share Definitions =======================
- [homes]
- comment = Home Directories
- browseable = no
- # next parameter to 'no' if you want to be able to write to them.
- read only = no
- create mask = 0700
- directory mask = 0700
- # By default, \\server\username shares can be connected to by anyone
- # with access to the samba server.
- # The following parameter makes sure that only "username" can connect
- # to \\server\username
- # This might need tweaking when using external authentication schemes
- valid users = %S
- [sharing]
- path = /home/sharing/
- browseable = yes
- writeable = yes
- valid users = sharing
- write list = sharing
- create mask = 0770
- directory mask = 700
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement