[Samba] Samba / cups problem

John H Terpstra samba at primastasys.com
Tue Sep 28 16:44:56 GMT 2004


Misty,

This may be a dumb question, but was Samba built with CUPS support?
Were the cups-devel libraries present on the system on which your Samba
was built?

- John T.
---
John H Terpstra
Samba-Team
email: jht at samba.org


> -------- Original Message --------
> Subject: [Samba] Samba / cups problem
> From: "Misty Stanley-Jones" <misty at borkholder.com>
> Date: Tue, September 28, 2004 7:59 am
> To: samba at lists.samba.org
>
> Hi all,
>
> I have set up a printer in cups and I can see it with lpstat -a, and I can
> print to it.  I put what I thought was the appropriate stuff in smb.conf, and
> yet no printer shows up to the NT client I'm testing with, or in smbclient -L
> output.  Any ideas at all?  Here is the relevant info:
>
> ### smb.conf excerpts ###
> [global]
> ...
> printing = cups
> printcap name = cups
> printcap cache time = 60
> load printers = yes
> ...
>
> [printers]
> comment = All Printers
> path = /data/samba/spool
> browseable = yes
> public = yes
> guest ok = yes
> writeable = no
> printable = yes
> printer admin = @admin
>
> [print$]
> comment = Printer Drivers Share
> path = /data/samba/drivers
> write list = root
> printer admin = root
>
>
> ### Output from lpstat -a ###
> oink:/usr/local/samba/lib # lpstat -a
> truss_hp4050 accepting requests since Jan 01 00:00
>
> ### cups-generated printcap ###
> oink:/data/samba # more /etc/printcap
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> truss_hp4050|truss_hp4050:rm=oink:rp=truss_hp4050:
>
> ### permissions of Samba printer spool ###
> oink:/data/samba # ls -ld spool
> drwxrws---  3 root root 4096 Sep 22 14:19 spool
>
> ### Output of smbclient -L
> oink:/data/samba # smbclient -L oink
> Password:
> Domain=[CORP1] OS=[Unix] Server=[Samba 3.0.7]
>
>         Sharename       Type      Comment
>         ---------       ----      -------
>         print$          Disk      Printer Drivers Share
>         software        Disk      Software for Samba computers
>         oldhomes        Disk      Novell Home Directories
>         DATA            Disk
>         ENGR            Disk
>         IPC$            IPC       IPC Service (Samba 3.0.7)
>         ADMIN$          IPC       IPC Service (Samba 3.0.7)
>         root            Disk      Home Directories
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list