[cups.bugs] [LOW] STR #2556: Improve cupsaddsmb man page
Kurt Pfeifle
kurt.pfeifle at infotec.com
Thu Oct 11 00:58:35 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Sine CUPS 1.2, users tryin to install the Windows/CUPS/Samba drivers very
frequently encounter the same problem as described by this forum post,
where a user did run "cupsaddsmb -v -U root -a":
http://www.cups.org/newsgroups.php?gcups.general+v:30889
The message displayed fortunately shows where the problem lays:
"[....] smbclient ///var/run/cups/cups.sock/print$ [....]"
It happens if there is support for unix domain socket connections (default
in 1.2.x++) pre-compiled into the CUPS package.
However, smbclient (called by cupsaddsmb) does not work over unix domain
sockets, it requires a TCP socket.
The man page (as well as the little help message displayed by "cupsaddsmb
--foobar") should clearly hint at the fact that since 1.2 the correct
usage of "-H" is required.
I think it should even be made mandatory in order to avoid this problem.
(Don't ever default to any "localhost" assumption either....)
Link: http://www.cups.org/str.php?L2556
Version: 1.3-current
More information about the cups
mailing list