Bonjour,

J'ai un serveur CUPS sous Gentoo avec une imprimante partagée en USB.

Lorsque je lance une impression depuis mon serveur, ça fonctionne
nickel! Idem pour mon client windows XP. Je suppose donc que ma
configuration de cups est bonne.

Par contre, sur la même machine, sous Debian, impossible de lancer un
impression! En effet, dans les logs /var/log/cups/error_log


E [14/May/2007:11:24:27 +0200] [Job 15] No ticket cache found for userid=1000
E [14/May/2007:11:24:27 +0200] [Job 15] Can not get the ticket cache for jp
E [14/May/2007:11:24:27 +0200] [Job 15] Session setup failed:
NT_STATUS_LOGON_FAILURE
E [14/May/2007:11:24:27 +0200] [Job 15] Tree connect failed
(NT_STATUS_ACCESS_DENIED)
E [14/May/2007:11:24:27 +0200] [Job 15] Unable to connect to CIFS
host, will retry in 60 seconds...

sur le serveur:

 neptune (192.168.1.101) connect to service Samsung_ML-1610_USB_1
initially as user jp (uid=1000, gid=440) (pid 12595)
[2007/05/10 16:01:14, 1] smbd/service.c:close_cnum(1150)
 neptune (192.168.1.101) closed connection to service Samsung_ML-1610_USB_1
[2007/05/12 00:35:09, 0] lib/util_sock.c:read_data(534)
 read_data: read failure for 4 bytes to client 192.168.1.12. Error =
Connection reset by peer


Bizarre... Pourtant, les uid correspondent bien (1000) pour le même
user(ici, jp).

En faisant un :

echo test|lpr -H 192.168.1.11

Ca marche!

Voici mes copier/coller des interfaces cups:


Sur mon interface cups (1.2.9) coté serveur:

Samsung_ML-1610_USB_1 ( imprimante par défaut )
        Description : Samsung ML-1610
Lieu : Local Printer
Marque et modèle : Samsung ML-1610, 1.0
État de l'imprimante : ne fait rien, accepte les tâches, publique.
URI du matériel : usb://Samsung/ML-1610


Sur mon interface cups(1.2.7) coté client:

Samsung-ML-1610-Series-(SPL-II) (Default Printer)
"/usr/lib/cups/backend/smb failed"
        Description: Samsung-ML-1610-Series-(SPL-II)
Location: Serveur sedna
Make and Model: Samsung ML-1610 Series (SPL II)
Printer State: stopped, accepting jobs, published.
Device URI: smb://192.168.1.11/Samsung_ML-1610_USB_1


Une idée? Je tourne en rond depuis un moment déjà.

Merci,
Zelos

Répondre à