“CUPS-Add-Modify-Printer: Unauthorized”
Hello
I just setup CUPS to access a network printer, which is connected to a Window Vista machine.
I configured the Samba configuration file (/etc/samba/smb.conf.)
I can see printer by typing
smbclient -L <Window Vista computer name> –N
My printer is CanonMP210 and sharing name also CanonMP210.
I downloaded and Install printer driver of CanonMP210 for linux named(Canon_MP210_debian.tar) and installed it on Ununtu Linux computer.
Now if I type “lpadmin -p CanonMP210 -v smb://<Window Vista computer name>/canonMP210 -P /usr/share/ppd/canonmp210.ppd” in command prompt and enter, it register the error in err log
“CUPS-Add-Modify-Printer: Unauthorized”
I also configured “/usr/lib/cups/backend/smb with the following text
lpadmin -p CanonMP210 -v smb://< Window Vista computer name> /canonMP210 -P /usr/share/ppd/canonmp210.ppd
enable CanonMP210
accept CanonMP210
lpadmin -d CanonMP210.
Then I restarted samba and cups and samba.
This Also shows in the error log “Unable to bind socket for address 192.168.0.2:631 - Cannot assign requested address.”
lpinfo –v shows the following details
network socket
network http
network ipp
network lpd
direct scsi
network smb
Socklist command also reveals port 631 is in use(please see below)
type port inode uid pid fd name
tcp 3306 13489 103 4565 13 mysqld
tcp 139 13748 0 4668 20 smbd
tcp 445 13747 0 4668 19 smbd
udp 137 13709 0 4666 8 nmbd
udp 137 13706 0 4666 6 nmbd
udp 138 13710 0 4666 9 nmbd
udp 138 13707 0 4666 7 nmbd
udp 68 11853 100 4028 4 dhclient3
udp 631 14687 0 4872 4 cupsd
Can any one Tell me how to use printer on Window Vista machine from Ububntu Linux machine?
Thanks
|