[Samba] samba 2.2.9: printing problem II

kurt weiss maillists at kwnet.at
Tue Jan 11 12:57:45 GMT 2005


sorry, if i post again, but at first time i did not get an answer :-(

problem:
when printing from windows clients to samba 2.2.9 PDC, there are strange 
entries in the smbd logfile:
e.g.:
smbd/service.c:make_connection(252) notebook01 (192.168.10.29) could'nt 
find service lpb8-a4-ra

the strange thing is, that the service is names "lpb8-a4-raw".

also the same with the other printers:
service "hpusb" -> "hpus"
service "pdfplotter" -> "pdfplotte"
service "pdfprinter" -> "pdfprinte"

can somebody tell me the reason, because i have heavy troubles with one 
of the printers, and i cannot locate the problem (wixp or samba).

samba is reading the services from etc/printcap.
debian woody / samba from source tarball / SMP server / kernel 2.4.19.

etc/printcap:
===================================================================
hpusb|lp1|hpusb|hpusb:\
     :lp=/dev/usblp0:\
     :sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
     :lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
     :af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
     :la@:mx#0:\
     :tr=:cl:sh:sf:
canon|lp2|lbp8-a4-raw|lbp8 a4 raw:\
     :lp=/dev/lp0:\
     :sd=/var/spool/lpd/lbp8-a4-raw:\
     :lf=/var/spool/lpd/lbp8-a4-raw/log:\
     :af=/var/spool/lpd/lbp8-a4-raw/acct:\
     :la@:mx#0:\
     :tr=:cl:sh:sf:
===================================================================
relevant parts of smb.conf:
===================================================================

...

    printing = lprng
    printcap name = /etc/printcap
    load printers = yes

...

[printers]
    printer admin = @edv
    comment = All Printers
    browseable = no
    printable = yes
    public = yes
    read only = no
    create mode = 0666
    path = /tmp
    use client driver = yes

[pdfprinter]
   printer admin = @edv
   comment = Drucker fuer PDF files
   browsable = yes
   path = /tmp
   printable = yes
   writable = no
   guest ok = yes
   force user = nobody
   print command = /var/kwnet/pdf/pdfprint %s %U
   lpq command =
   lprm command =
   use client driver = yes

[pdfplotter]
   printer admin = @edv
   comment = Plotter fuer PDF files
   browsable = yes
   path = /tmp
   printable = yes
   writable = no
   guest ok = yes
   force user = nobody
   print command = /var/kwnet/pdf/pdfprint %s %U
   lpq command =
   lprm command =
   use client driver = yes



More information about the samba mailing list