[Samba] [LONG] Word 95 behaves strange in file dialog

Peter Schaefer peter.schaefer at gmx.de
Sun May 30 20:29:40 GMT 2004


Hello!

I'm having problems with Word 95 (yes, we still use Office 95) running
on W2K SP4. Samba is 3.0.4 running on Debian Testing (package from unstable).
However, the problem appeared with 3.0.2a also and 3.0.5 didn't fix this.
It was definitely not there with Samba 2.x versions.

W2K and Office95 are both German versions.

Behaviour:
----------

In Word, open the "File Open" dialog. It will present the "C:\" folder.
However, the default location that is expected to be shown is on a
mapped network drive ("H:\Documents").

Clicking on the "H:" drive folder within the selection box drops
back to "C:\" immediately, without error.

Ok, now close the file dialog, open the "Options" dialog and select
the tab where you can set the default documents and template paths.
When you open an folder selection dialog by the "Change..."-button
you get a "Access denied error" as soon as a network drive is
selected (regardless which one).

Logging during this time with log level 3 gets the following into
log.smbd:

[2004/05/30 14:18:51, 3] smbd/process.c:process_smb(890)
   Transaction 8701 of length 92
[2004/05/30 14:18:51, 3] smbd/process.c:switch_message(685)
   switch message SMBntcreateX (pid 4474)
[2004/05/30 14:18:51, 3] passdb/lookup_sid.c:fetch_sid_from_uid_cache(152)
   fetch sid from uid cache 1000 -> S-1-5-21-522452230-244634628-243641563-3000
[2004/05/30 14:18:51, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
   fetch sid from gid cache 102 -> S-1-5-21-522452230-244634628-243641563-513
[2004/05/30 14:18:51, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
   fetch sid from gid cache 102 -> S-1-5-21-522452230-244634628-243641563-513
[2004/05/30 14:18:51, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
   fetch sid from gid cache 103 -> S-1-5-21-522452230-244634628-243641563-512
[2004/05/30 14:18:51, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
   fetch sid from gid cache 1000 -> S-1-5-21-522452230-244634628-243641563-3001
[2004/05/30 14:18:51, 3] smbd/sec_ctx.c:set_sec_ctx(288)
   setting sec ctx (1000, 102) - sec_ctx_stack_ndx = 0
[2004/05/30 14:18:51, 3] smbd/open.c:open_directory(1356)
   open_directory: unable to stat name = .. Error was Erfolg
[2004/05/30 14:18:51, 3] smbd/error.c:error_packet(118)
   error packet at smbd/trans2.c(2222) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED

So, what looks weird for me is "Error was *Erfolg*" because this partially
German wording translates to "Error was *Success*". WTF?

The icing
---------

All this happens only to a few users and only if Word is started using
the Office95 quick launch bar. If Word is started via the start menu
or directly in explorer by double-clicking the executable all is ok...
Of course the said network drives are all reachable via Windows Explorer
and within a command prompt.

I'm aware of possible UNC path problems, but even hiding the network
neighbourhood and editing the registry to change the UNC paths to
mapped drives representation didn't help...

So, i'm at the end of my capabilities; i just want to be sure that
no bigger problem lures here, waiting to bite me later (in other
applications that word).

Best regards,

  Peter


More information about the samba mailing list