Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cups permessi di stampa
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed May 14, 2008 6:00 pm    Post subject: Cups permessi di stampa Reply with quote

Salve ragazzi,
ho un problemi con i permessi alla stampa della mia Epson r220.
La stampante è condivisa tramite Samba ma non riesco a capire come poter impostare il nome degli utenti che possono accedere ad essa..
Potete aiutarmi??
Grazie.
Andrea
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Wed May 14, 2008 6:19 pm    Post subject: Reply with quote

hai già provato con l'opzione "valid users = nomeutente"?
Back to top
View user's profile Send private message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Thu May 15, 2008 7:12 am    Post subject: Reply with quote

Si ma continuo a poter stampare da tutti i pc collegati al server.
Questa la mia configurazione.
Code:
[global]
workgroup = paglia
server string = AndreaSV Samba Server %v
printcap name = cups
printing = cups
load printers = yes
printer admin = andrepaglia@gmail.com
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth1 tun0 10.8.0.0/24
bind interfaces only = yes
admin users = andrea
hosts allow = 127.0.0.1 192.168.0.0/24 10.8.0.0/24 10.8.0.6
hosts deny = 0.0.0.0/0
security = USER
guest ok = no
guest only = no
#vfs object = vscan-clamav
#vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

# Ora vengono configurati i driver per la stampante
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = no
browseable = yes
read only = yes
write list = andrea,root
valid users = andrea
[epson220]
comment = Epson 220
printable = yes
path = /var/spool/samba
public = yes
guest ok = no
valid users = andrea
[printers]
comment = All Printers
browseable = no
writable = no
printable = yes
guest ok = no
path = /var/spool/samba
create mode = 0700
print command = lpr -cups -P %p -o raw %s -r   # using client side printer dri
valid users = andrea
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu May 15, 2008 11:47 am    Post subject: Reply with quote

public = no
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum