Bug#376232: [Pkg-cups-devel] Bug#376232: cupsaddsmb should stop after it fails, not loop forever.

Kenshi Muto kmuto at debian.org
Sat Jul 1 12:07:26 UTC 2006


forwarded 376232 http://www.cups.org/str.php?L1815
tags 376232 + pending
thanks

At Fri, 30 Jun 2006 22:07:30 -0700,
Daniel Burrows wrote:
> Package: cupsys-client
> Version: 1.2.1-3
> Severity: normal
> 
>   I have yet to get cupsaddsmb to actually work, but that's another
> problem (I guess I need to sacrifice more chickens).  Here's my problem:
> after cupsaddsmb dies as follows, it restarts.  Repeatedly.  I have to
> interrupt it to get it to quit.
> 
>  -----
> Running command: rpcclient localhost -N -A /var/spool/cups/tmp/44a602144d7f8 -c 'setdriver hplj1022 hplj1022'
> WARNING: The "printer admin" option is deprecated
> result was WERR_ACCESS_DENIED
> 
> Unable to set Windows printer driver (1)!
>  -----

Confirmed. I found cupsaddsmb of CUPS 1.2 had wrong logic code
around you mentioned.

I've reported this to upstream with my suggestion.
I'll fix this for Debian by doing this loop only once, till upstream
fixes by their way.

Thanks,
-- 
Kenshi Muto
kmuto at debian.org




More information about the Pkg-cups-devel mailing list