Hi, I have a samba 2.2.2 on HP-UX 11, serving a few printers. When I install a new driver via win2000' printer properties dialogue it works fine. When I try to do the same from unix with the imprints package, ist screwed. The driver files get uploaded, but they don't register as an installed driver, with rpcclient 'enumdrivers' I don't 'see' them. When I set the imprints install_printer_drivers.pl script to 'debug' and watch the output I see a rpcclient command giving back 'NT_STATUS_NOT_IMPLEMENTED', but when I do the SAME command for rpcclient myself I get NT_STATUS_ACCESS_VIOLATION, and when I try the very same command in the same rpcclient session, rpcclient crashes: rpcclient $> adddriver "Windows NT x86" "HP LaserJet 4050 Series PCL....." <----- the same long list of driver dll's as in the script here PANIC: assert failed at rpc_client/cli_pipe.c(1199) PANIC: assert failed Abort(coredump) any hints for me? bye MH
"Homann, Mathias" wrote:> > Hi, > > I have a samba 2.2.2 on HP-UX 11, serving a few printers. When I install > a new driver via win2000' printer properties dialogue it works fine. > When I try to do the same from unix with the imprints package, ist > screwed. The driver files get uploaded, but they don't register as an > installed driver, with rpcclient 'enumdrivers' I don't 'see' them. > > When I set the imprints install_printer_drivers.pl script to 'debug' and > watch the output I see a rpcclient command giving back > 'NT_STATUS_NOT_IMPLEMENTED', but when I do the SAME command for > rpcclient myself I get NT_STATUS_ACCESS_VIOLATION, and when I try the > very same command in the same rpcclient session, rpcclient crashes: > > rpcclient $> adddriver "Windows NT x86" "HP LaserJet 4050 Series > PCL....." <----- the same long list of driver dll's as in the script > here > > PANIC: assert failed at rpc_client/cli_pipe.c(1199) > PANIC: assert failed > Abort(coredump)btw, what strikes me as odd: [2002/02/21 11:13:07, 3] smbd/reply.c:(3779) rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory = W32X86/hpbfef6s.hlp, newname W32X86/2/HPBFEF6S.HLP, newn ame_last_component = HPBFEF6S.HLP, is_8_3 = 1 [2002/02/21 11:13:07, 3] smbd/reply.c:(3839) rename_internals: succeeded doing rename on W32X86/hpbfef6s.hlp -> W32X86/2/HPBFEF6S.HLP [2002/02/21 11:13:07, 3] lib/util.c:(391) unix_clean_name [W32X86/2/_] [2002/02/21 11:13:07, 3] lib/util.c:(391) unix_clean_name [W32X86/2/_] [2002/02/21 11:13:07, 3] smbd/open.c:(158) Error opening file W32X86/2/_. (No such file or directory) (local_flags=0) (flags=0) [2002/02/21 11:13:07, 3] lib/util.c:(391) unix_clean_name [W32X86/_] [2002/02/21 11:13:07, 3] lib/util.c:(391) unix_clean_name [W32X86/2/_] [2002/02/21 11:13:07, 3] smbd/reply.c:(3779) rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory = W32X86/_, newname = W32X86/2/_, newname_last_component = _ , is_8_3 = 1 [2002/02/21 11:13:07, 3] smbd/reply.c:(3839) rename_internals: failed doing rename on W32X86/_ -> W32X86/2/_ [2002/02/21 11:13:07, 3] smbd/error.c:(99) error string = No such file or directory [2002/02/21 11:13:07, 3] smbd/error.c:(111) error packet at smbd/reply.c(3910) cmd=0 (SMBmkdir) eclass=1 ecode=2 [2002/02/21 11:13:07, 0] printing/nt_printing.c:(1432) move_driver_to_download_area: Unable to rename [W32X86/_] to [W32X86/2/_] [2002/02/21 11:13:07, 3] lib/util.c:(391) unix_clean_name [W32X86/_] [2002/02/21 11:13:07, 3] smbd/error.c:(99) error string = No such file or directory who on earth gives samba the idea to look for a file named '_' within the driver?? cant find that in the control file of the imprints package I made, and not in the INF file from HP. Uh btw it doesn't work with ANY driver I try to install. Does work if I install the drivers from a Win2k client, but that's totally out of the question because the installation here is just a test bed for handling some 60-odd printers on some 30-odd samba servers WITHOUT having to hassle with the point-drool-and-click interface... rather script it... :) bye MH
Gerald Carter
2002-Mar-01 12:19 UTC
Imprints status? [was Re: [Samba] Printer installation with imprints package]
Folks, For those that have wondered The Imprints project is in an unmaintained state right now. I've been meaning to check with some people about possible resources to carry it on or even if we should. As soon as I find out more, I'll post a message to the list here. Sorry for any confusion. I know the current docs refer to imprints.samba.org cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--