Printer sharing

Rigved Rakshit r.phate at
Wed Aug 10 09:33:21 UTC 2011

> I am trying to share a Canon MP 250 attached to a windows 7 computer.
> I have tried ipp as well as Samba.  It appears the problem is W7 does
> not recognize the password.  I can share files back and forth just
> fine.
> In ipp I entered  in host and printers/Canon (the name
> I gave the printer on the W7 machine).
> In Samba WORKGROUP/  I have tried using
> HomeGroup which is the W7 configuation.  I have tried dropping the
> :631.
> In each instance when it asks for a user name and password, I am told
> the password may be incorrect.
> Any assistance would be appreciated.
> thanks
> gary
> (GMT+1)

Open up the terminal and type: sudo gedit /etc/hosts.allow
Type in your password.
Then add this line to the file:


Save the file. Now try logging into your samba workgroup.

Note: The line mentioned above says "ALL" to make it easier for you in
future. But actually, you can replece "ALL" with a list of services, each on
a separate line. These services can be sshd, samba, cups etc. You will have
to read up the actual documentation on the /etc/hosts.allow file for more

Best Regards,
Rigved Rakshit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list