Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #======================= Global Settings =======================
- [global]
- server string = %h server
- netbios name = NOM_DU_SERVEUR_SUR_LE_RESEAU
- # Logging parameters
- log file = /var/log/samba/log.%m
- log level = 2
- max log size = 50
- syslog = 0
- debug timestamp = yes
- # todo : comment
- panic action = /usr/share/samba/panic-action %d
- socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
- write cache size = 128000
- use sendfile = false
- printing = bsd
- printcap name = /dev/null
- bind interfaces only = yes
- interfaces = lo eth0 wlan
- ####### Authentication #######
- encrypt passwords = true
- passdb backend = tdbsam
- obey pam restrictions = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- pam password change = yes
- map to guest = bad user
- usershare allow guests = yes
- #======================= Share Definitions =======================
- [Exemple_Partage]
- path = /media/USBHDD1/shares/dossier_du_partage
- read only = no
- browseable = yes
- locking = no
- guest ok = yes
- force user = pi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement