Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] samba (2.2.8a) driver download fails

 
   Soft32 Home -> Linux -> Samba RSS
Next:  [Samba] 2k and 9x connect and print, XP won't  
Author Message
Kurt Pfeifle

External


Since: Mar 13, 2007
Posts: 63



(Msg. 1) Posted: Mon Nov 17, 2003 1:10 pm
Post subject: [Samba] samba (2.2.8a) driver download fails
Archived from groups: linux>samba (more info?)

> [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 Sad

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


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Gernot Hueber

External


Since: Nov 17, 2003
Posts: 2



(Msg. 2) Posted: Tue Nov 18, 2003 3:20 am
Post subject: Re: [Samba] samba (2.2.8a) driver download fails [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>>
>> 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 Sad
>
> 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 Wink )
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: hueber.RemoveThis@riic.at
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
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] PDF printer and wiidows driver auto-download. - Hello =) I got some problem configuring a pdf printer and make windows to download automagically drivers from [print$]...

[Samba] debian packages at download samba are broken - Just thought I bring attention to the state of the debian packages at..

[Samba] Samba-3.0.0 RC3 available for download - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Preface - ------- Here are the informal plans for the actual 3.0.0..

[Samba] Download Samba 2.2.8a - I have set up Samba 2.2.8a on Linux as a PDC. Now, I want to set up BDC/"fail over" on Linux. I have already ...

[Samba] Samba 3.0.1pre2 available for download - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is another preview release of the Samba 3.0.1 code base and is..

[Samba] Samba 3.0.1pre3 available for download - This is another preview release of the Samba 3.0.1 code base and is provided for testing only. This release is *not*..
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]