[Samba] /etc/printcap

Hermann Gottschalk hg at ostc.de
Wed Jul 28 11:04:19 GMT 2004


Hi,
following situation:

1) You create a raw printer (called "testprinter") under cups and
leave the description-field (info-field) empty. cups will create an
entry in /etc/printcap of the form

testprinter|testprinter:rm=linux100:rp=testprinter:


2) You start samba with a standard [printers] and [print$] share.
samba will expose the printqueue to the clients.

3) You upload a windows printer driver via the Printer Wizard.
This succeeds; the driver is uploaded.

4) You try to install on an Windows-Workstation the printer and get
the message, that there is no driver available.

The reason is, that in ntdrivers.tdb the entry for the driver
corresponding to the printqueue is missing.

If you give the printqueue a description in the /etc/printcap (or
under cups), no matter what kind of, all works fine.

This seems to me, as if there is an unsufficient parsing of the
/etc/printcap, because all information needed is in, even when
queuename and description are equal (like in 1))

System: SuSE 9.1 (2.6.5-7.95-default) Samba (3.0.2a-51) 
cups (1.1.20-103)

Does anyone has the same problem?!

Greetings Hermann


-- 
  ___  ___ _____ ___    ___       _    _  _
 / _ \/ __|_   _/ __|  / __|_ __ | |__| || |
| (_) \__ \ | || (__  | (_ | '  \| '_ \ __ |
 \___/|___/ |_| \___|  \___|_|_|_|_.__/_||_|
----------------------------------------------
 OSTC Open Source Training and Consulting GmbH
 Hermann Gottschalk  eMail:         hg at ostc.de
 Dipl.-Phys. Univ.   Tel:   +49 911-18 06 25 6
                     Mobil: +49 173-36 00 68 0
 Delsenbachweg 32    Fax:   +49 911-18 06 27 7
 90425 Nürnberg      Web:   http://www.ostc.de
----------------------------------------------
            PGP-Key: 0x0B2D8EEA 
    No HTML-Mails; 72 Characters per line


More information about the samba mailing list