On Mon, Apr 29, 2013 at 2:48 PM, Bastien Nocera <bnocera@redhat.com> wrote:
On Mon, 2013-04-29 at 14:36 +0300, Elad Alfassa wrote:
>
>
>
> On Mon, Apr 29, 2013 at 2:34 PM, Bastien Nocera <bnocera@redhat.com>
> wrote:
<snip>
>         Why does it need samba-client? It's a package containing
>         command-line
>         utilities none of which seem to be used by
>         gnome-control-center.
> I have no idea, all I know is that I got an error trying to add a
> samba printer without this package installed. Same issue happens with
> system-config-printer (just a bit more verbose, saying "CUPS ERROR NOT
> POSSIBLE" or something similar, so it must be some lousy cups
> problem)

Then it seems to me that cups or system-config-printer are missing the
dep, not control-center.

$ FILES=`rpm -ql system-config-printer | grep 'py$'` ; for i in `rpm -ql
samba-client | grep /bin/` ; do BASENAME=`basename $i` ; grep -l
$BASENAME $FILES && echo $i ; done
/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.py
/usr/bin/nmblookup

Looks like system-config-printer might be responsible for the missing
dep. Would be better if that wasn't needed though.

Eew, seems to be in cups itself.
do_samba_command() is a cups function that is used almost *everywhere* inside that bloody thing that simply forks smbclient or similar command line utilities to get what it wants. Horrible.

I'll file a bug.

--
-Elad Alfassa.