PDA

Visualizza la versione completa : Condividera Stampante


SkOrPiOn`87
10-03-2007, 17:08
Salve,

Qualcuno può darmi una mano a configurare la stampante Samsung ML-1610 su debian?


Ho installato samba, ma quando cerco la stampante sui pc vedo soltanto il server, ma non ha niente di condiviso...



Grazie

SkOrPiOn`87
10-03-2007, 17:42
[2007/03/10 15:29:33, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2007/03/10 15:29:33, 0] lib/access.c:check_access(328)
[2007/03/10 15:29:33, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Denied connection from (0.0.0.0)
[2007/03/10 15:29:33, 1] smbd/process.c:process_smb(1084)
[2007/03/10 15:29:33, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Connection denied from 0.0.0.0
[2007/03/10 15:29:33, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Connection reset by peer
[2007/03/10 15:29:33, 0] lib/util_sock.c:write_socket(455)
write_socket: Error writing 5 bytes to socket 24: ERRNO = Connection reset by
peer
[2007/03/10 15:29:33, 0] lib/util_sock.c:send_smb(647)
Error writing 5 bytes to client. -1. (Connection reset by peer)
[2007/03/10 15:29:50, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
[2007/03/10 15:29:50, 0] lib/access.c:check_access(328)
[2007/03/10 15:29:50, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Denied connection from (0.0.0.0)
[2007/03/10 15:29:50, 1] smbd/process.c:process_smb(1084)
[2007/03/10 15:29:50, 0] lib/util_sock.c:get_peer_addr(1150)
getpeername failed. Error was Transport endpoint is not connected
Connection denied from 0.0.0.0
[2007/03/10 15:29:50, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Connection reset by peer
[2007/03/10 15:29:50, 0] lib/util_sock.c:write_socket(455)
write_socket: Error writing 5 bytes to socket 24: ERRNO = Connection reset by peer
[2007/03/10 15:29:50, 0] lib/util_sock.c:send_smb(647)
Error writing 5 bytes to client. -1. (Connection reset by peer)


Questo è il log, di samba, riguardante il PC di windows dal quale tento di connettermi...

SkOrPiOn`87
10-03-2007, 20:04
# Global parameters
[global]
workgroup = SERVER
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = cups
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
create mask = 0755
hosts allow = 192.168.0.1/24
printing = cups
print command =
lpq command = %p
lprm command =

[ml1610]
comment = Main office printer (HP ML-1610)
path = /tmp
username = guest
create mask = 0700
guest ok = Yes
printable = Yes


Questa è la configurazione...

sacarde
10-03-2007, 21:53
qualche firewall attivo ?

SkOrPiOn`87
10-03-2007, 22:31
iptables, che cmq permette tutto il traffico da parte della macchina in questione...

sacarde
11-03-2007, 10:36
non mi piace questo ...

...
Connection denied from 0.0.0.0
...

SkOrPiOn`87
11-03-2007, 11:07
Già.....



Se provassi a fare: hosts allow = all


?

Loading