[Samba] Access Denied to shares in Lotus Notes and Outlook

soenke_laue at t-online.de soenke_laue at t-online.de
Wed Oct 20 14:09:57 GMT 2004


Hi All,

I don't know if this is a samba problem or not, but if users want to add
files as an attachment
in Lotus Notes and MS Outlook, and these files reside on samba shares,
they get an "access denied" message.

This "access denied" message refers to the whole share not only a file.
Samba Server version is 3.0.4 on Sparc Solaris 8 acting as AD Member
Server (W2K DC).

Everything else is working fine and access from other programs like
Excel, Access etc. is granted.

I know there have been improvements in the 'open_directory()' function
in 3.0.6 and intended to upgrade to 3.0.7.
But since I am stuck there (make check fails in function strstr_m, I
posted it already...) I wanted to be sure that this upgrade would do the
trick at all.
Has anybody experienced similar problems, or better yet encountered an
easy solution ?

Any tips and hints are welcome...

Excerpt from the log:

[2004/10/20 12:41:07, 10] lib/util.c:dump_data(1864)
  [000] 00 5C 00 00 00                                    .\... 
[2004/10/20 12:41:07, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 5297)
[2004/10/20 12:41:07, 4] smbd/uid.c:change_to_user(186)
  change_to_user: Skipping user change - already user
[2004/10/20 12:41:07, 10] smbd/nttrans.c:reply_ntcreate_and_X(609)
  reply_ntcreateX: flags = 0x10, desired_access = 0x100001
file_attributes = 0x0, share_access = 0x3, create_disposition = 0x1
create_options = 0x4001 root_dir_fid = 0x0
[2004/10/20 12:41:07, 10] smbd/nttrans.c:map_create_disposition(343)
  map_create_disposition: Mapped create_disposition 0x1 to 0x1
[2004/10/20 12:41:07, 10] smbd/nttrans.c:map_share_mode(482)
  map_share_mode: Mapped desired access 0x100001, share access 0x3, file
attributes 0x0 to open_mode 0x40
[2004/10/20 12:41:07, 5] smbd/filename.c:unix_convert(114)
  unix_convert called on file ""
[2004/10/20 12:41:07, 5] smbd/files.c:file_new(122)
  allocated file structure 2603, fnum = 6699 (1 used)
[2004/10/20 12:41:07, 3] smbd/open.c:open_directory(1356)
  open_directory: unable to stat name = .. Error was Error 0
[2004/10/20 12:41:07, 5] smbd/files.c:file_free(385)
  freed files structure 6699 (0 used)
[2004/10/20 12:41:07, 10] smbd/trans2.c:set_bad_path_error(2213)
  set_bad_path_error: err = 0 bad_path = 0
[2004/10/20 12:41:07, 3] smbd/error.c:error_packet(118)
  error packet at smbd/trans2.c(2222) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED




Regards,

Sönke




More information about the samba mailing list