07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

# If you are using encrypted passwords, Samba will need to know what<br />

# password database type you are using.<br />

passdb backend = tdbsam guest<br />

[...]<br />

########## Printing ##########<br />

# If you want to automatically load your printer list rather<br />

# than setting them up individually then you'll need this<br />

load printers = yes 1 3<br />

# lpr(ng) printing. You may wish to override the location of the<br />

# printcap file<br />

; printing = bsd<br />

; printcap name = /etc/printcap<br />

# CUPS printing. See also the cupsaddsmb(8) manpage in the<br />

# cups-client package.<br />

printing = cups<br />

4 1<br />

printcap name = cups<br />

[...]<br />

######## File sharing ########<br />

# Name mangling options<br />

; preserve case = yes<br />

; short preserve case = yes<br />

unix charset=ISO8859-1 1 5<br />

1 1<br />

Indicates that Samba should act as a Netbios name server (WINS) for the local network.<br />

1 2<br />

This is the default value for this parameter; however, since it is central to the Samba<br />

configuration, filling it explicitly is recommended. Each user must authenticate before<br />

accessing any share.<br />

1 3<br />

Tells Samba to automatically share all local printers that exist in the CUPS configuration.<br />

Restricting access to these printers is still possible, by adding appropriate sections.<br />

1 4<br />

Specifies the printing system in use; in our case, CUPS.<br />

282 The Debian Administrator's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!