[Samba] Access Denied on Error 0 - 3.0.4

William Jojo jojowil at hvcc.edu
Fri Jul 23 13:54:06 GMT 2004




Experienced a strange bug in 3.0.4, but I think I've seen Jeremy
discussing this with another on the list with respect to root dir access
to a share, but can't find a bug in bugzilla.


WinXP-SP1 Goes to My Computer/Properties/Device Mangler/Net
Adap/Update Driver/Have Disk

When the attemp is made to browse the 3.0.4 share they get Access Denied
(they are an admin user on the share)

Explorer and My computer do not exhibit this.

Log level 10 shows:

[2004/07/23 09:19:52, 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/07/23 09:19:52, 10] smbd/nttrans.c:map_create_disposition(343)
  map_create_disposition: Mapped create_disposition 0x1 to 0x1
[2004/07/23 09:19:52, 10] smbd/nttrans.c:map_share_mode(482)
  map_share_mode: Mapped desired access 0x100001, share access 0x3, file
attribu
tes 0x0 to open_mode 0x40
[2004/07/23 09:19:52, 5] smbd/filename.c:unix_convert(114)
  unix_convert called on file ""
[2004/07/23 09:19:52, 5] smbd/files.c:file_new(122)
  allocated file structure 3938, fnum = 8034 (1 used)
[2004/07/23 09:19:52, 3] smbd/open.c:open_directory(1356)
  open_directory: unable to stat name = .. Error was Error 0
[2004/07/23 09:19:52, 5] smbd/files.c:file_free(385)
  freed files structure 8034 (0 used)
[2004/07/23 09:19:52, 10] smbd/trans2.c:set_bad_path_error(2213)
  set_bad_path_error: err = 0 bad_path = 0
[2004/07/23 09:19:52, 3] smbd/error.c:error_packet(118)
  error packet at smbd/trans2.c(2222) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DE
NIED


Is this a known bug, or should I file a new bug?


Thanks!


Bill


More information about the samba mailing list