[Samba] After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared

Jones Syue jonessyue at qnap.com
Wed Oct 7 00:39:52 UTC 2015


Hello Dario,

With `printcap name = /etc/printcap`,
may we know the permission and context of /etc/printcap file,
thank you.

ls -al /etc/printcap; cat /etc/printcap;

--
Regards,
Jones Syue | 薛懷宗
QNAP Systems, Inc.

On Wed, Oct 7, 2015 at 12:59 AM, Dario Lesca <d.lesca at solinos.it> wrote:

> Il giorno mar, 06/10/2015 alle 18.08 +0200, Dario Lesca ha scritto:
> > Il giorno mar, 06/10/2015 alle 16.23 +0100, Rowland Penny ha scritto:
> > > OK, from the smb.conf manpage:
> > >
> > > To use the CUPS printing interface set printcap name = cups.
> > > This should be supplemented by an addtional setting printing =
> >
> > > cups in the [global] section.  printcap name = cups will
> > > use the "dummy" printcap created by CUPS, as specified in your
> > > CUPS configuration file.
> > >
> > > There is more in there about printing.
> >
> > Thanks Rowland, but this setting, get from man page, I have already
> > tried unfortunately without success.
> >
> > Now I re-try this option and remove single printer define but all the
> > printer get fron "lpstat -v" not appear into browsing server.
> >
> > My smb.conf now contain this option:
> >
> >         load printers = yes
> >         cups options = raw
> >         printcap name = cups
> >         printing = cups
> >
> > Some other suggest?
> >
> Now with this setting:
>
> # testparm -s --parameter-name "printcap name"
> cups
>
> I get this error into message log:
>
> ... smbd[4047]:   Unable to open printcap file lpstat for read!
>
> Some suggest?
> How to debug this issue?
>
> Thanks
>
> > --
> > Dario Lesca
> > (inviato dal mio Linux Fedora 22 con Gnome 3.16)
> >
> >
> --
> Dario Lesca
> (inviato dal mio Linux Fedora 22 con Gnome 3.16)
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list