- [global]
- ; netbios name = server
- workgroup = workgroup
- server string = Samba
- interfaces = 127.0.0.0/8 eth0
- bind interfaces only = yes
- log file = /var/log/samba/log.%m
- max log size = 1000
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- security = user
- max connections = 6
- load printers = no
- local master = no
- ; encrypt passwords = yes
- ; passdb backend = tdbsam
- obey pam restrictions = yes
- unix password sync = yes
- # For Unix password sync to work on a Debian GNU/Linux system, the following
- # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
- # sending the correct chat script for the passwd program in Debian Sarge).
- 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 = no
- username map = /etc/samba/smbusers
- ; guest account = nobody
- #======================= Share Definitions =======================
- # '@' means a user group as in @backup below
- [sharename]
- comment = large array
- path = /server/path
- hosts allow = 192.168.100.0/255.255.255.0
- browseable = yes
- valid users = @backup john
- writeable = yes
SHARE
TWEET
smb.conf
a guest
Jun 25th, 2012
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

