View previous topic :: View next topic |
Author |
Message |
Tont n00b
Joined: 26 Jun 2009 Posts: 15
|
Posted: Sun Aug 23, 2009 9:59 pm Post subject: I can't have access on my printer |
|
|
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 |
|
|
Tont n00b
Joined: 26 Jun 2009 Posts: 15
|
Posted: Mon Aug 24, 2009 8:59 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|