smbspool - bad error message

krivkam at atlas.cz krivkam at atlas.cz
Tue Nov 30 06:41:19 PST 2004


MDK 10.1, cups 1.1.21-0rc1.7.1.101mdk

Nothing was printed,returned message:
"Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED"

command line was working well.
I wrote little script:
#!/bin/sh
#
echo $DEVICE_URI > /var/log/aaa.txt
echo $0 \\0n >> /var/log/aaa.txt
echo $1 \\1 >> /var/log/aaa.txt
echo $2 \\2 >> /var/log/aaa.txt
echo $3 \\3 >> /var/log/aaa.txt
echo $4 \\4>> /var/log/aaa.txt
echo $5 \\5>> /var/log/aaa.txt
echo $6 \\6>> /var/log/aaa.txt
exit 0
and this is result:
smb://user:password@192.168.68.216/HPDJ510
/usr/lib/cups/backend/smb \0n
13 \1
root \2
Test Page \3
1 \4
\5
\6


So not all parameters were sent

Resume: Thanks to my mistake not all params are sent. smbspool attemps to send job using anonymous user instead report missing params.

Mike





More information about the cups mailing list