> [Samba] samba (2.2.8a) driver download fails
>
> * To: samba at listsdotsambadotorg
> * Subject: [Samba] samba (2.2.8a) driver download fails
> * From: Gernot Hueber <hueber at riicdotat>
> * Date: Mon, 17 Nov 2003 13:34:54 +0100
>
> 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.
When? What changed? You mean it was working with Samba-2.2.8a?
> 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:
That's one of the most important parts.
> <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
That's the other important part.
> <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 :-(
IIRC, this is a not-yet-fixed bug in the 2.2.x series (where x >= 4).
> <begin>
> atlas# rpcclient -U root%sukt19wk -c 'enumdrivers 3' atlas
> cmd = enumdrivers 3
> [Windows 4.0]
> Segmentation fault (core dumped)
I remember this happening for me in Samba 2.2.8a also.
> atlas#
> <end>
So what? "The proof of the pudding lies in the eating." Does
the driver download to your Win clients work? Do the Win
clients "see" the drivers? (on W2K/XP workstations right-click
the white background of the Samba "Printers and Faxes" folder
as seen in network neighbourhood, select "Server Properties",
select "Drivers" tab and check if your drivers are visible.
> --
> Dipl.-Ing. Gernot Hueber
Cheers,
Kurt