CUPS -> WinXP: Unable to connect to SAMBA host, will retry in 60 seconds..
![](https://seccdn.libravatar.org/avatar/a7b7e9d84d4645c8a521755b0c3839e9.jpg?s=120&d=mm&r=g)
Hallo, Drucken von Suse 8.2 auf einen Drucker an WinXP funzt nicht: Unable to connect to SAMBA host, will retry in 60 seconds... printers.conf: # DeviceURI <Printer hl2070n> Info Brother HL-2070N Location Unbekannter Drucker DeviceURI smb://xxxx:yyyy@192.168.0.103/hl2070 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> So gehts aber: cat /var/spool/cups/d03001-001 | smbclient //192.168.0.103/hl2070 -U WinUser%passwort -c "print -" cups error-Log: D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer PID pid4=1267 D [18/Sep/2009:10:25:23 +0200] [Job 2995] JCL: 2345X@PJL D [18/Sep/2009:10:25:23 +0200] [Job 2995] @PJL SET MEDIATYPE=REGULAR D [18/Sep/2009:10:25:23 +0200] [Job 2995] <job data> D [18/Sep/2009:10:25:23 +0200] [Job 2995] 2345X@PJL RESET D [18/Sep/2009:10:25:23 +0200] [Job 2995] D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=0 -dSourceTray=0 -sOutputFile=- - D [18/Sep/2009:10:25:23 +0200] [Job 2995] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=0' '-dSourceTray=0' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [18/Sep/2009:10:25:23 +0200] [Job 2995] ESP Ghostscript 7.05 (2003-02-05) D [18/Sep/2009:10:25:23 +0200] [Job 2995] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. D [18/Sep/2009:10:25:23 +0200] [Job 2995] This software comes with NO WARRANTY: see the file COPYING for details. D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%EndResource D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%PageTrailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%Trailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw Trailer! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw EOF! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Flushing FIFO. D [18/Sep/2009:10:25:24 +0200] [Job 2995] D [18/Sep/2009:10:25:24 +0200] [Job 2995] Closing renderer E [18/Sep/2009:10:25:24 +0200] [Job 2995] cli_session_request() failed... E [18/Sep/2009:10:25:24 +0200] [Job 2995] Unable to connect to SAMBA host, will retry in 60 seconds...: Success D [18/Sep/2009:10:25:24 +0200] [Job 2995] KID3 exited with status 0 pserver:~ # smbclient -N -L 192.168.0.103 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 644 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 666 added interface ip=192.168.0.1 bcast=191.168.0.255 nmask=255.255.255.0 added interface ip=172.16.186.1 bcast=172.16.186.255 nmask=255.255.255.0 session request to 192.168.0.103 failed (Called name not present) session request to 192 failed (Called name not present) Domain=[PRAXIS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- IPC$ IPC Remote-IPC D$ Disk Standardfreigabe print$ Disk Druckertreiber SharedDocs Disk C Disk oki Printer oki3390_dr-thum HL2070 Printer Brother HL-2070N ADMIN$ Disk Remoteadmin Outlook Disk C$ Disk Standardfreigabe Server Comment --------- ------- Workgroup Master --------- ------- thx Ekkard -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/36545824f598e466583a81e838e79f14.jpg?s=120&d=mm&r=g)
Ekkard Gerlach schrieb:
Hallo,
Drucken von Suse 8.2 auf einen Drucker an WinXP funzt nicht: Unable to connect to SAMBA host, will retry in 60 seconds...
printers.conf: # DeviceURI <Printer hl2070n> Info Brother HL-2070N Location Unbekannter Drucker DeviceURI smb://xxxx:yyyy@192.168.0.103/hl2070 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer>
So gehts aber: cat /var/spool/cups/d03001-001 | smbclient //192.168.0.103/hl2070 -U WinUser%passwort -c "print -"
cups error-Log: D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer PID pid4=1267 D [18/Sep/2009:10:25:23 +0200] [Job 2995] JCL: 2345X@PJL D [18/Sep/2009:10:25:23 +0200] [Job 2995] @PJL SET MEDIATYPE=REGULAR D [18/Sep/2009:10:25:23 +0200] [Job 2995] <job data> D [18/Sep/2009:10:25:23 +0200] [Job 2995] 2345X@PJL RESET D [18/Sep/2009:10:25:23 +0200] [Job 2995] D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=0 -dSourceTray=0 -sOutputFile=- - D [18/Sep/2009:10:25:23 +0200] [Job 2995] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=0' '-dSourceTray=0' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [18/Sep/2009:10:25:23 +0200] [Job 2995] ESP Ghostscript 7.05 (2003-02-05) D [18/Sep/2009:10:25:23 +0200] [Job 2995] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. D [18/Sep/2009:10:25:23 +0200] [Job 2995] This software comes with NO WARRANTY: see the file COPYING for details. D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%EndResource D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%PageTrailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%Trailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw Trailer! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw EOF! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Flushing FIFO. D [18/Sep/2009:10:25:24 +0200] [Job 2995] D [18/Sep/2009:10:25:24 +0200] [Job 2995] Closing renderer E [18/Sep/2009:10:25:24 +0200] [Job 2995] cli_session_request() failed... E [18/Sep/2009:10:25:24 +0200] [Job 2995] Unable to connect to SAMBA host, will retry in 60 seconds...: Success D [18/Sep/2009:10:25:24 +0200] [Job 2995] KID3 exited with status 0
pserver:~ # smbclient -N -L 192.168.0.103 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 644 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 666 added interface ip=192.168.0.1 bcast=191.168.0.255 nmask=255.255.255.0 added interface ip=172.16.186.1 bcast=172.16.186.255 nmask=255.255.255.0 session request to 192.168.0.103 failed (Called name not present) session request to 192 failed (Called name not present) Domain=[PRAXIS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote-IPC D$ Disk Standardfreigabe print$ Disk Druckertreiber SharedDocs Disk C Disk oki Printer oki3390_dr-thum HL2070 Printer Brother HL-2070N ADMIN$ Disk Remoteadmin Outlook Disk C$ Disk Standardfreigabe
Server Comment --------- -------
Workgroup Master --------- -------
thx Ekkard
Hi, wohl ein typo: in printers.conf steht bei Dir "hl1270n", im Befehl nur "hl1270", die Freigabe heißt auch hl1270 (s.o.) cu jth -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/36545824f598e466583a81e838e79f14.jpg?s=120&d=mm&r=g)
Joerg Thuemmler schrieb:
Ekkard Gerlach schrieb:
Hallo,
Drucken von Suse 8.2 auf einen Drucker an WinXP funzt nicht: Unable to connect to SAMBA host, will retry in 60 seconds...
printers.conf: # DeviceURI <Printer hl2070n> Info Brother HL-2070N Location Unbekannter Drucker DeviceURI smb://xxxx:yyyy@192.168.0.103/hl2070 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer>
So gehts aber: cat /var/spool/cups/d03001-001 | smbclient //192.168.0.103/hl2070 -U WinUser%passwort -c "print -"
cups error-Log: D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer PID pid4=1267 D [18/Sep/2009:10:25:23 +0200] [Job 2995] JCL: 2345X@PJL D [18/Sep/2009:10:25:23 +0200] [Job 2995] @PJL SET MEDIATYPE=REGULAR D [18/Sep/2009:10:25:23 +0200] [Job 2995] <job data> D [18/Sep/2009:10:25:23 +0200] [Job 2995] 2345X@PJL RESET D [18/Sep/2009:10:25:23 +0200] [Job 2995] D [18/Sep/2009:10:25:23 +0200] [Job 2995] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=0 -dSourceTray=0 -sOutputFile=- - D [18/Sep/2009:10:25:23 +0200] [Job 2995] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=0' '-dSourceTray=0' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [18/Sep/2009:10:25:23 +0200] [Job 2995] ESP Ghostscript 7.05 (2003-02-05) D [18/Sep/2009:10:25:23 +0200] [Job 2995] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. D [18/Sep/2009:10:25:23 +0200] [Job 2995] This software comes with NO WARRANTY: see the file COPYING for details. D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%EndResource D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%PageTrailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] 0 %%Trailer D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw Trailer! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Saw EOF! D [18/Sep/2009:10:25:24 +0200] [Job 2995] Flushing FIFO. D [18/Sep/2009:10:25:24 +0200] [Job 2995] D [18/Sep/2009:10:25:24 +0200] [Job 2995] Closing renderer E [18/Sep/2009:10:25:24 +0200] [Job 2995] cli_session_request() failed... E [18/Sep/2009:10:25:24 +0200] [Job 2995] Unable to connect to SAMBA host, will retry in 60 seconds...: Success D [18/Sep/2009:10:25:24 +0200] [Job 2995] KID3 exited with status 0
pserver:~ # smbclient -N -L 192.168.0.103 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 644 params.c:Parameter() - Ignoring badly formed line in configuration file: force create mode 666 added interface ip=192.168.0.1 bcast=191.168.0.255 nmask=255.255.255.0 added interface ip=172.16.186.1 bcast=172.16.186.255 nmask=255.255.255.0 session request to 192.168.0.103 failed (Called name not present) session request to 192 failed (Called name not present) Domain=[PRAXIS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote-IPC D$ Disk Standardfreigabe print$ Disk Druckertreiber SharedDocs Disk C Disk oki Printer oki3390_dr-thum HL2070 Printer Brother HL-2070N ADMIN$ Disk Remoteadmin Outlook Disk C$ Disk Standardfreigabe
Server Comment --------- -------
Workgroup Master --------- -------
thx Ekkard
Hi,
wohl ein typo:
in printers.conf steht bei Dir "hl1270n", im Befehl nur "hl1270", die Freigabe heißt auch hl1270 (s.o.)
cu jth
sorry. Selber falsch geguckt. In URI steht ja richtig "hl1270" ;-( cu jth -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/ba6138f793e72be6644854fdc3ec2f02.jpg?s=120&d=mm&r=g)
Hallo, On Sep 18 12:14 Ekkard Gerlach wrote (shortened):
Drucken von Suse 8.2 auf einen Drucker an WinXP funzt nicht: Unable to connect to SAMBA host, will retry in 60 seconds...
printers.conf: # DeviceURI <Printer hl2070n> ... DeviceURI smb://xxxx:yyyy@192.168.0.103/hl2070 . . . So gehts aber: cat /var/spool/cups/d03001-001 | smbclient //192.168.0.103/hl2070 -U WinUser%passwort -c "print -" . . . Sharename Type Comment ... HL2070 Printer Brother HL-2070N
Ich kann nur raten: Könnte Groß/Kleinschreibung vielleicht die Ursache sein? Andernfalls: Welche Zeichen kommen in 'WinUser%passwort' vor? Vergl. http://www.cups.org/str.php?L3228 und https://bugzilla.novell.com/show_bug.cgi?id=512549#c1 ------------------------------------------------------------------ Regarding the values for username and password and all other values in a DeviceURI: Reserved characters in the values of an URI : / ? # [ ] @ ! $ & ' ( ) * + , ; = and a literal % character must be percent-encoded (% followed by two hex digits, e.g. % -> %25), see http://www.rfc-editor.org/rfc/rfc3986.txt ------------------------------------------------------------------ Gruß Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex
participants (3)
-
Ekkard Gerlach
-
Joerg Thuemmler
-
Johannes Meixner