All pastes #1999380 Raw Edit

rambling-techie.blogspot.com - s

public text v1 · immutable
#1999380 ·published 2010-11-22 21:40 UTC
rendered paste body
## smb.conf file for www.rambling-techie.blogspot.com article ##

## Global Settings ##
[global]
workgroup = WORKGROUP
server string = %h Server
dns proxy = no
interfaces = lo 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

## Authentication ##

security = share
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

## Printing ##
load printers = yes
printing = cups
printcap name = cups


## Misc ##
netbios name = <yourhostnamegoeshere>
usershare allow guests = yes

## Printer Share Information ##
[printers]
  comment = All Printers
  browseable = no
  path = /var/spool/samba
  printable = yes
  guest ok = yes
  read only = yes
  create mask = 0700

[print$]
  comment = Printer Drivers
  path = /var/lib/samba/printers
  browseable = yes
  read only = yes
  guest ok = yes