Florian Effenberger wrote:
I have a Samba 3.0.6 server and a CUPS 1.2.0 server running on my machine.
They have been compiled with:
Samba:
./configure --with-pam --with-pam_smbpass --with-quotas --with-sys-quotas
CUPS:
./configure --prefix=/usr/local/cups --with-cups-user=cups --with-cups-
group=cups --with-docdir=/usr/local/cups/docdir --with-
logdir=/usr/local/cups/logdir --with-rcdir=/usr/local/cups/rcdir
--enable-ssl
As you can see, CUPS lies in an unusual path, so Samba did NOT see the
cups-
config file and was NOT linked to CUPS. Your documentation states that even
without linking it should work fine, however, it doesn't.
/etc/printcap contains:
===
# This file was automatically generated by cupsd(8) from the
# /usr/local/cups/etc/cups/printers.conf file. All changes to this file
# will be lost.
Kyocera_FS-3750|Kyocera_FS-3750:rm=flux:rp=Kyocera_FS-3750:
===
This is the printer I set up via CUPS. I can print to it using the CUPS web
interface (print test page).
My /usr/local/samba/lib/smb.conf looks like:
===
# Samba config file created using SWAT
# from 192.168.10.105 (192.168.10.105)
# Date: 2004/09/08 17:58:00
# Global parameters
[global]
workgroup = MYGROUP
netbios aliases = FILESERVER
server string = Dateiserver
security = SHARE
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n *updated*
unix password sync = Yes
time server = Yes
deadtime = 15
printcap name = cups
os level = 65535
preferred master = Yes
domain master = Yes
ldap ssl = no
invalid users = root
admin users = flux
write list = flux
printer admin = flux
create mask = 0700
directory mask = 0700
printing = cups
print command = /usr/local/cups/bin/lp -c -d%p %s; rm %s
lpq command = /usr/local/cups/bin/lpstat -o%p
lprm command = /usr/local/cups/bin/cancel %p-%j
lppause command = /usr/local/cups/bin/lp -i %p-%j -H hold
lpresume command = /usr/local/cups/bin/lp -i %p-%j -H resume
queuepause command = /usr/local/cups/bin/disable %p
queueresume command = /usr/local/cups/bin/enable %p
(and then some file shares follow)
===
I cannot see the CUPS printers in my list (using Windows and smbclient).
There
is no chance to print with my Windows clients.
Maybe I'm missing something here, but you won't see your printer
in the browse lists unless you create a share for that printer. You can
either create a specific printer stanza for Kyocera_FS-3750, or create a
[printers] stanza to export all printers listed in printcap.
Adam Bottchen
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba