[gobolinux-users] Samba problems with printers and shares

Michael Homer michael at e.geek.nz
Thu Jan 17 11:13:08 NZDT 2008


On Jan 17, 2008 9:42 AM, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>
> On Wed, 16 Jan 2008 21:36:59 +0100, Michael Homer <michael at e.geek.nz> wrote:
>
> > On Jan 17, 2008 8:32 AM, Jonas Karlsson <jonka750 at student.liu.se> wrote:
> >> On Wed, 16 Jan 2008 20:18:48 +0100, Daniele Maccari <gobo.users at gmail.com> wrote:
> >>
> >> > Hi all,
> >> > P.S.: while trying to setup a samba printer I noticed that the smb link
> >> > (pointing at smbspool) was missing in the backend dir within the CUPS'
> >> > /Programs dir. Maybe we should add a check in the recipe to look for smb
> >> > and automatically add the link if found.
> >>
> >> Should there be such a link? I don't understand why you found it, if it
> >> was missing. And what should the path be?
> > Yes, there should, if you want it to work. It has to exist for CUPS to
> > enable "Windows printer via SAMBA".
> > ls -l /Programs/CUPS/Current/Shared/cups/backend/smb
> > lrwxrwxrwx 1 root root 36 2008-01-02 16:17
> > /Programs/CUPS/Current/Shared/cups/backend/smb ->
> > /Programs/Samba/Current/bin/smbspool
> > I'm not sure how well that fits in with our packaging philosophy,
> > though. I just created it when I found it in the documentation.
>
> Does is explicitly have to reside in 'Shared' or is 'share' enough? If the
> latter is true it could be distributed with the Samba package. i.e.
> /Programs/Samba/Current/Shared/cups/backend/smb ->
> /Programs/Samba/Current/bin/smbspool as the link will be reachable from
> CUPS due to the /Programs/CUPS/Current/share -> /System/Links/Shared
> symlink.
It probably does work in share too. I can't test it right now, but I
don't see why it wouldn't, since I imagine it's going through that
link anyway. The Samba recipe could just ship the link and have CUPS
do the right thing.
-Michael


More information about the gobolinux-users mailing list