Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't have access on my printer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tont
n00b
n00b


Joined: 26 Jun 2009
Posts: 15

PostPosted: Sun Aug 23, 2009 9:59 pm    Post subject: I can't have access on my printer Reply with quote

I am configuring samba e CUPS for a file server, but, with this configuration:
Quote:
[global]
workgroup = CASA
server string = Samba Server %v
printcap name = cups
printing = cups
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.0.2/24 192.168.0.3/24 192.168.0.4/24
hosts deny = 0.0.0.0/0
security = share
guest ok = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers

[print$]
comment = Printer Drivers
path = /etc/samba/printer
guest ok = yes
browseable = yes
read only = yes
write list = root, printer

[printers]
comment = All Printers
browseable = yes
writable = yes
printable = yes
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = root, printer

[public]
comment = Public Files
browseable = yes
public = yes
guest ok = yes
path = /home/samba/public
read only = no
create mask = 0777
directory mask = 0777

[DeskJet3420]
security = server
path = /var/spool/lpd/lp
printer name = lp
writable = yes
public = yes
printable = yes
print command = smb2ps %s | lpr -r -h -P %p
printcap name = /etc/printcap
load printers = yes

[tmp]
comment = Spazio per file temporanei.
path = /tmp
read only = no
public = yes

I have this error: http://www.informarts.org/sendimg/images/jpg/1131824296/deskjeterror.JPG

The title is in italian and stands for "Access denied, can't connecting"

What can I do?
Back to top
View user's profile Send private message
Tont
n00b
n00b


Joined: 26 Jun 2009
Posts: 15

PostPosted: Mon Aug 24, 2009 8:59 am    Post subject: Reply with quote

Here It is my cupsd.conf:
Quote:
ServerName PrintServer
ServerAdmin root@coppermine
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
Loglevel info
MaxClients 100
Port 631
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL

<Location />
Allow from All
Order allow,deny
Allow all
</Location>
<Location /admin>
Allow from 192.168.0.*
Order allow,deny
Allow all
</Location>

<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Allow from 192.168.0.*
Order allow,deny
Allow all
</Location>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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