[Samba] AD and samba secondary group problems

Arif Ali mail at arif-ali.co.uk
Thu Apr 28 05:10:43 MDT 2011


On 27 April 2011 19:40, Joe Cammisa <jcammisa at haverford.edu> wrote:

> arif, we had a similar problem under different circumstances -- in our case
> samba under solaris with the secondary group info coming from sun ldap.  all
> worked flawlessly with respect to primary groups, but secondary group
> permissions were not honored.  the "fix" in our case (until such time as we
> were able to fully patch the server) was a cron script that appended the
> ldap secondary group information to the file /etc/group -- for some reason,
> samba could only get secondary group info from this file, but not from any
> other naming service on our out of date box.  not sure why you'd be facing
> this on such a recent vintage os, but i would try throwing some of the
> secondary groups in that file to see if it makes a difference.  good luck!
>
>
Thanks for the suggestion

I have tried that, and no luck at all.

I upgraded samba to 3.5.8, and I am still getting same problems. In windows
when I righ-click folders and look at the security, I can see that the
correct permissions are set by the relevant gid from the Linux FS.

When we then as a user, who's secondary group who is allowed to write/read
the files. I get the following in the samba logs when I try to write a file
to the samba share with the secondary group

[2011/04/28 12:01:38.106858,  3] smbd/process.c:1489(process_smb)
  Transaction 2303 of length 108 (0 toread)
[2011/04/28 12:01:38.106891,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.106910,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (6305, 60003) - sec_ctx_stack_ndx = 0
[2011/04/28 12:01:38.106937,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.106967,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.106984,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.107008,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.107299,  3] smbd/process.c:1489(process_smb)
  Transaction 2304 of length 116 (0 toread)
[2011/04/28 12:01:38.107317,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.107416,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/nttrans.c(550) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.107650,  3] smbd/process.c:1489(process_smb)
  Transaction 2305 of length 144 (0 toread)
[2011/04/28 12:01:38.107667,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.107717,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\.svn\entries.
[2011/04/28 12:01:38.107733,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\.svn\entries converted to non-dfs
path .svn/entries
[2011/04/28 12:01:38.107766,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/nttrans.c(550) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.108098,  3] smbd/process.c:1489(process_smb)
  Transaction 2306 of length 108 (0 toread)
[2011/04/28 12:01:38.108116,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.108128,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.108147,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.108162,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.108179,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.108446,  3] smbd/process.c:1489(process_smb)
  Transaction 2307 of length 108 (0 toread)
[2011/04/28 12:01:38.108480,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.108493,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.108516,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.108530,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.108547,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.108747,  3] smbd/process.c:1489(process_smb)
  Transaction 2308 of length 108 (0 toread)
[2011/04/28 12:01:38.108765,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.108777,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1034
[2011/04/28 12:01:38.108798,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.108813,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.108830,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1034 call=5 total_data=0
[2011/04/28 12:01:38.109145,  3] smbd/process.c:1489(process_smb)
  Transaction 2309 of length 108 (0 toread)
[2011/04/28 12:01:38.109162,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.109175,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.109192,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.109207,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.109223,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.109494,  3] smbd/process.c:1489(process_smb)
  Transaction 2310 of length 130 (0 toread)
[2011/04/28 12:01:38.109513,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.109526,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.109574,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\.svn\wc.db.
[2011/04/28 12:01:38.109589,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\.svn\wc.db converted to non-dfs path
.svn/wc.db
[2011/04/28 12:01:38.109623,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5128) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.109896,  3] smbd/process.c:1489(process_smb)
  Transaction 2311 of length 108 (0 toread)
[2011/04/28 12:01:38.109913,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.109926,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.109944,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.109959,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.109976,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.110243,  3] smbd/process.c:1489(process_smb)
  Transaction 2312 of length 116 (0 toread)
[2011/04/28 12:01:38.110261,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.110303,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/nttrans.c(550) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.110545,  3] smbd/process.c:1489(process_smb)
  Transaction 2313 of length 144 (0 toread)
[2011/04/28 12:01:38.110563,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.110610,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\.svn\entries.
[2011/04/28 12:01:38.110626,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\.svn\entries converted to non-dfs
path .svn/entries
[2011/04/28 12:01:38.110658,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/nttrans.c(550) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.110943,  3] smbd/process.c:1489(process_smb)
  Transaction 2314 of length 108 (0 toread)
[2011/04/28 12:01:38.110961,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.110974,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.110992,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.111007,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.111024,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.111291,  3] smbd/process.c:1489(process_smb)
  Transaction 2315 of length 108 (0 toread)
[2011/04/28 12:01:38.111309,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.111321,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.111339,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.111353,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.111370,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.111592,  3] smbd/process.c:1489(process_smb)
  Transaction 2316 of length 108 (0 toread)
[2011/04/28 12:01:38.111609,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.111621,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1034
[2011/04/28 12:01:38.111639,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.111653,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.111669,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1034 call=5 total_data=0
[2011/04/28 12:01:38.111941,  3] smbd/process.c:1489(process_smb)
  Transaction 2317 of length 108 (0 toread)
[2011/04/28 12:01:38.111959,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.111971,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.111989,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.112003,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.112019,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.112290,  3] smbd/process.c:1489(process_smb)
  Transaction 2318 of length 130 (0 toread)
[2011/04/28 12:01:38.112307,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.112319,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.112375,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\.svn\wc.db.
[2011/04/28 12:01:38.112390,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\.svn\wc.db converted to non-dfs path
.svn/wc.db
[2011/04/28 12:01:38.112423,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5128) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2011/04/28 12:01:38.112691,  3] smbd/process.c:1489(process_smb)
  Transaction 2319 of length 108 (0 toread)
[2011/04/28 12:01:38.112709,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.112721,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.112739,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.112754,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.112771,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:38.112989,  3] smbd/process.c:1489(process_smb)
  Transaction 2320 of length 108 (0 toread)
[2011/04/28 12:01:38.113007,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.113019,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1034
[2011/04/28 12:01:38.113037,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:38.113051,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:38.113068,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1034 call=5 total_data=0
[2011/04/28 12:01:38.113338,  3] smbd/process.c:1489(process_smb)
  Transaction 2321 of length 118 (0 toread)
[2011/04/28 12:01:38.113355,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:38.113367,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:38.113413,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\.svn.
[2011/04/28 12:01:38.113428,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\.svn converted to non-dfs path .svn
[2011/04/28 12:01:38.113460,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.svn] [/<snip>/sambatest]
[2011/04/28 12:01:38.113484,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: .svn reduced to /<snip>/sambatest/.svn
[2011/04/28 12:01:38.113498,  3]
smbd/trans2.c:5208(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of .svn failed (No such file or
directory)
[2011/04/28 12:01:38.113518,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5210) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2011/04/28 12:01:41.175410,  3] smbd/process.c:1489(process_smb)
  Transaction 2322 of length 108 (0 toread)
[2011/04/28 12:01:41.175439,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.175454,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:41.175478,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:41.175494,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:41.175515,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:41.176154,  3] smbd/process.c:1489(process_smb)
  Transaction 2323 of length 162 (0 toread)
[2011/04/28 12:01:41.176172,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.176250,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\New Text Document.txt.
[2011/04/28 12:01:41.176267,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\New Text Document.txt converted to
non-dfs path New Text Document.txt
[2011/04/28 12:01:41.176303,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document.txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.176326,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document.txt reduced to /<snip>/sambatest/New
Text Document.txt
[2011/04/28 12:01:41.176338,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document.txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.176354,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document.txt reduced to /<snip>/sambatest/New
Text Document.txt
[2011/04/28 12:01:41.176370,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(New Text Document.txt) returning 0760
[2011/04/28 12:01:41.176382,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document.txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.176399,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document.txt reduced to /<snip>/sambatest/New
Text Document.txt
[2011/04/28 12:01:41.176415,  3] smbd/open.c:461(open_file)
  Error opening file New Text Document.txt (NT_STATUS_ACCESS_DENIED)
(local_flags=194) (flags=194)
[2011/04/28 12:01:41.176430,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/error.c(160) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED
[2011/04/28 12:01:41.176704,  3] smbd/process.c:1489(process_smb)
  Transaction 2324 of length 152 (0 toread)
[2011/04/28 12:01:41.176722,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.176734,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:41.176782,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\New Text Document.txt.
[2011/04/28 12:01:41.176797,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\New Text Document.txt converted to
non-dfs path New Text Document.txt
[2011/04/28 12:01:41.176832,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document.txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.176855,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document.txt reduced to /<snip>/sambatest/New
Text Document.txt
[2011/04/28 12:01:41.176869,  3]
smbd/trans2.c:5208(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of New Text Document.txt failed (No
such file or directory)
[2011/04/28 12:01:41.176884,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5210) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2011/04/28 12:01:41.177302,  3] smbd/process.c:1489(process_smb)
  Transaction 2325 of length 108 (0 toread)
[2011/04/28 12:01:41.177320,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.177332,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:41.177351,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [.] [/<snip>/sambatest]
[2011/04/28 12:01:41.177365,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: . reduced to /<snip>/sambatest
[2011/04/28 12:01:41.177382,  3]
smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2011/04/28 12:01:41.177901,  3] smbd/process.c:1489(process_smb)
  Transaction 2326 of length 170 (0 toread)
[2011/04/28 12:01:41.177918,  3] smbd/process.c:1298(switch_message)
  switch message SMBntcreateX (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.177968,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\New Text Document (2).txt.
[2011/04/28 12:01:41.177992,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\New Text Document (2).txt converted
to non-dfs path New Text Document (2).txt
[2011/04/28 12:01:41.178028,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document (2).txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.178051,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document (2).txt reduced to
/<snip>/sambatest/New Text Document (2).txt
[2011/04/28 12:01:41.178063,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document (2).txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.178079,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document (2).txt reduced to
/<snip>/sambatest/New Text Document (2).txt
[2011/04/28 12:01:41.178092,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(New Text Document (2).txt) returning 0760
[2011/04/28 12:01:41.178103,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document (2).txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.178119,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document (2).txt reduced to
/<snip>/sambatest/New Text Document (2).txt
[2011/04/28 12:01:41.178134,  3] smbd/open.c:461(open_file)
  Error opening file New Text Document (2).txt (NT_STATUS_ACCESS_DENIED)
(local_flags=194) (flags=194)
[2011/04/28 12:01:41.178148,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/error.c(160) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED
[2011/04/28 12:01:41.178400,  3] smbd/process.c:1489(process_smb)
  Transaction 2327 of length 160 (0 toread)
[2011/04/28 12:01:41.178417,  3] smbd/process.c:1298(switch_message)
  switch message SMBtrans2 (pid 16083) conn 0x2b4d3a4de2c0
[2011/04/28 12:01:41.178430,  3]
smbd/trans2.c:5099(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2011/04/28 12:01:41.178477,  3] smbd/msdfs.c:746(dfs_redirect)
  dfs_redirect: Not redirecting \<snip>\sambatest\New Text Document (2).txt.
[2011/04/28 12:01:41.178493,  3] smbd/msdfs.c:757(dfs_redirect)
  dfs_redirect: Path \<snip>\sambatest\New Text Document (2).txt converted
to non-dfs path New Text Document (2).txt
[2011/04/28 12:01:41.178529,  3] smbd/vfs.c:881(check_reduced_name)
  check_reduced_name [New Text Document (2).txt] [/<snip>/sambatest]
[2011/04/28 12:01:41.178552,  3] smbd/vfs.c:1038(check_reduced_name)
  check_reduced_name: New Text Document (2).txt reduced to
/<snip>/sambatest/New Text Document (2).txt
[2011/04/28 12:01:41.178566,  3]
smbd/trans2.c:5208(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of New Text Document (2).txt failed
(No such file or directory)
[2011/04/28 12:01:41.178581,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/trans2.c(5210) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND


More information about the samba mailing list