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.
first of all thank you for your patience. The problem with the "pudding" is, driver download does not work out on some w98 machines for some printers (The solution should be the printer name length problem of w98 - it's test in progress, since I'm not on location and win98 does not install a sshd ;-) ) My debugging turned out, that
atlas# rpcclient -U root%xxxx -c 'getdriver "hp4p_ho" 3' atlas | more cmd = getdriver "hp4p_ho" 3 atlas#
returns nothing! This fact made me desperate. I tested getdriver with a w2k -> ok, with a samba (atlas) -> nothing. Should rpcclient getdriver work with a samba server as of version 2.2.8?
Thank you
Gernot
-- Dipl.-Ing. Gernot Hueber
Cheers, Kurt
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
-- Dipl.-Ing. Gernot Hueber Institut f. Integrierte Schaltungen Altenbergerstr. 69 4040 Linz
Tel: +43 732 2468-7120, Fax: -7126 E-mail: [EMAIL PROTECTED] WWW: www.riic.at -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba