cupsaddsmb - connection to failed

Kurt Pfeifle kurt.pfeifle at infotec.com
Thu Jun 14 08:17:14 PDT 2007


> Trying to have windows XP clients download drivers automatically.
>
>
> "
> #  cupsaddsmb -U root -v -a
> Password for root required to access /var/run/cups/cups.sock via SAMBA:

cupsaddsmb with CUPS 1.2.x is trying to connect to a non-existing Samba server unless you specify it with the "-H" parameter (*). See also "cupsaddsmb -h" for short help hints. Run the command like this:

   cupsaddsmb -H localhost -U root -v -a


------------
(*) In CUPS 1.2, local printing via Unix domain socket was added, and therefore the CUPS_SERVER environment variable may point to "/var/run/cups/cups.sock" instead (like in CUPS 1.1.) to "localhost". cupsaddsmb assumes the Samba server to be the same as the CUPS server (unless specified with "-H").




More information about the cups mailing list