Peter Schaefer
2004-May-30 20:27 UTC
[Samba] [LONG] Word 95 behaves strange in file dialog
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
Peter Schaefer
2004-Jun-01 19:41 UTC
[Samba] [LONG] Word 95 behaves strange in file dialog
On 30.05.2004 22:29, Peter Schaefer wrote:> 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).So, ok, replying to myself and referring to http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off& frame=right&th=41b0ffcb61810f73& seekm=1XxUd-67p-39%40gated-at.bofh.it#link2 : This is a known issue (bug 1345) and has been fixed in the patchset at http://samba.org/~jerry/patches/post-3.0.4/samba-3.0.4.patch FWIW. Regards, Peter