[cups.general] print to samba printer without specifying password
mhull1 at uic.edu
Mon Sep 5 11:29:31 PDT 2005
thats my only complaint with samba is that connecting to windows with if
is akward. i got it to work once with a user connecting to a share with
a password but tried it again and couldnt get it. anyway...
i assume the printer is shared from windows? i would try to share with
ipp and not samba. or dont have the printer password protected if its on a
secure subnet. then just pass nothing or garbage for the password in the
On Mon, 5 Sep 2005, Toby Blake wrote:
> Hi there,
> Is there a way to set up printing to a samba-shared printer in CUPS
> without having to specify a username and password combination in advance?
> e.g. to print to our samba-shared printers, the need to be installed in
> this way in CUPS:
> - omitting the password, or both the username and password, results in
> printing failing with authorisation errors - it doesn't prompt for the
> missing information.
> The main problem with embedding the username and password in the URI, is
> that this password is written, in clear-text, in printers.conf, and is
> therefore readable by anyone with root permission on that machine (and
> on a Mac, readable by anybody with admin permissions). This is a
> horrible security whole and something I'd like to prevent our users from
> However, there doesn't seem to be any other way to print to a
> samba-shared printer, where the samba share requires authorisation. Is
> this true, or am I missing something?
> Thanks in advance
> Toby Blake
> University of Edinburgh
> cups mailing list
> cups at easysw.com
More information about the cups