[Samba] samba (2.2.8a) driver download fails

Gernot Hueber hueber at riic.at
Mon Nov 17 12:34:54 GMT 2003


Hi there,

I have a problem with the rpc driver stuff:

I have copied the driver files to //atlas/print$/W32X86 and WIN40 (via 
filesystem copy), added and set the driver without errors.
But getdriver reports no driver associatet with the printer?!
So reports below.
I am sure, this was working on this system.
I tried to reinit the ntprinters.tdb, printing.tdb, nt_forms.tdb and
ntdrivers.tdb by removing and HUPPING all smbds (a plenty of users are
on the server so I could not restart smbd cleanly).

Can anybody give me some advice.

Thanks

Gernot

PS Maybe an issue:
I copied, added, and set the driver several times in a script (W32X86 
WIN40 for each printer of the same type!)

<begin>
atlas# rpcclient -U root%sukt19wk -c 'getdriver "HP_1200N_Kloib" 1' 
atlas
cmd = getdriver "HP_1200N_Kloib" 1
atlas#
<end>

enumdrivers is ok:
<begin>
atlas# rpcclient -U root%sukt19wk -c 'enumdrivers' atlas
cmd = enumdrivers
  [Windows 4.0]
Printer Driver Info 1:
         Driver Name: [hp4p]
  Printer Driver Info 1:
         Driver Name: [hp1200]
  Printer Driver Info 1:
         Driver Name: [hp4050n]
   [Windows NT x86]
Printer Driver Info 1:
         Driver Name: [hp1200]
  Printer Driver Info 1:
         Driver Name: [hp4050n]
  Printer Driver Info 1:
         Driver Name: [hp4p]
<end>

enumprinters is ok too
<begin>
atlas# rpcclient -U root%sukt19wk -c 'enumprinters' atlas
cmd = enumprinters
         flags:[0x800000]
         name:[\\atlas\HP_1200N_Kas]
         description:[\\atlas\HP_1200N_Kas,hp1200,HP LJ 1200 Kastler]
         comment:[HP LJ 1200 Kastler]
          flags:[0x800000]
         name:[\\atlas\HP_1200N_Kloib]
         description:[\\atlas\HP_1200N_Kloib,hp1200,HP_1200N_Kloib]
         comment:[HP_1200N_Kloib]
          flags:[0x800000]
         name:[\\atlas\HP_4050N]
         description:[\\atlas\HP_4050N,,HP 4050]
         comment:[HP 4050]
          flags:[0x800000]
         name:[\\atlas\HP_4050N_2fach]
         description:[\\atlas\HP_4050N_2fach,hp4050n,HP 4050 2.Fach]
         comment:[HP 4050 2.Fach]
          flags:[0x800000]
         name:[\\atlas\HP_4050N_Konto]
         description:[\\atlas\HP_4050N_Konto,hp4050n,HP_4050N_Konto]
         comment:[HP_4050N_Konto]
          flags:[0x800000]
         name:[\\atlas\HP_Laserjet4+Buchm]
         description:[\\atlas\HP_Laserjet4+Buchm,hp4p,HP_Laserjet4
+Buchm]
         comment:[HP_Laserjet4+Buchm]
          flags:[0x800000]
         name:[\\atlas\HP_LaserJet4_Holz]
         description:[\\atlas\HP_LaserJet4_Holz,hp4p,HP_LaserJet4_Holz]
         comment:[HP_LaserJet4_Holz]
          flags:[0x800000]
         name:[\\atlas\Minolta_DI350]
         description:[\\atlas\Minolta_DI350,,Minolta_DI350]
         comment:[Minolta_DI350]
  atlas#
<end>

enumdrivers 3 crashes :-(
<begin>
atlas# rpcclient -U root%sukt19wk -c 'enumdrivers 3' atlas
cmd = enumdrivers 3
  [Windows 4.0]
Segmentation fault (core dumped)
atlas#
<end>
-- 
Dipl.-Ing. Gernot Hueber
Institut f. Integrierte Schaltungen
Altenbergerstr. 69
4040 Linz

Tel: +43 732 2468-7120, Fax: -7126
E-mail: hueber at riic.at
WWW: www.riic.at



More information about the samba mailing list