[Samba] Printer installation with imprints package

Homann, Mathias Mathias.Homann at airbus.dasa.de
Mon Feb 25 06:33:06 GMT 2002


"Homann, Mathias" wrote:
> 
> "Homann, Mathias" wrote:
> 
> > 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.
> 
> after a bit more digging, it seems that the rpcclient sends _ as
> filenames for any dependentfile entry it got via the adddriver call.
> so what do I do about that...


upgraded to samba 2.2.3a by now. Now setting a driver via rpcclient
fails for different reasons.
here's a snippet from a level 10 logfile:

[2002/02/25 12:10:42, 1] smbd/service.c:make_connection(615)
  ux-test222 (173.82.208.245) connect to service print$ as user lp
(uid=9, gid=7) (pid 6042)
[2002/02/25 12:10:42, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1

[.. lots of log entries about name and case mangling cut ..]

[2002/02/25 12:10:42, 3] smbd/reply.c:rename_internals(3716)
  rename_internals: case_sensitive = 0, case_preserve = 1, short case
preserve = 1, directory = W32X86/hpbf
ef2a.dll, newname = W32X86/2/HPBFEF2A.DLL, newname_last_component =
HPBFEF2A.DLL, is_8_3 = 1
[2002/02/25 12:10:42, 3] smbd/reply.c:rename_internals(3788)
  rename_internals: Error NT_STATUS_ACCESS_DENIED rename
W32X86/hpbfef2a.dll -> W32X86/2/HPBFEF2A.DLL
[2002/02/25 12:10:42, 0]
printing/nt_printing.c:move_driver_to_download_area(1441)
  move_driver_to_download_area: Unable to rename [W32X86/hpbfef2a.dll]
to [W32X86/2/HPBFEF2A.DLL]


so WHY on earth would rpcclient connect as user lp when I definitely
told it to connect as root...


btw THIS error is exactly the same on linux 2.4 AND on hpux 11.00. The
former wasn't.


bye
	[MH]




More information about the samba mailing list