Bug 8323 - samba wont let to put files on nfs mounted shares
samba wont let to put files on nfs mounted shares
Status: RESOLVED WORKSFORME
Product: BuildFarm
Classification: Unclassified
Component: scripts
unspecified
x86 Linux
: P5 major
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-26 22:00 UTC by Bartosz
Modified: 2011-07-27 05:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz 2011-07-26 22:00:07 UTC
Samba do not allow to put files on shares. This share is nfs mounted directory.

SO: debian version 6.0.2 fully updated
Samba version: 3.5.6 (2:3.5.6~dfsg-3squeeze4)

mount -l | grep download
10.0.7.31:/virtual/www/download on /share/download.pl type nfs (rw,addr=10.0.7.31)

smb.conf file:

[global]
        netbios name = serverag
        workgroup = domain
        server string = Samba Server
        hosts allow = 10.3.0. 192.168.2. 192.168.201. 
        log level = 3
        dos charset = CP852
        log file = /var/log/samba/%m.log
        max log size = 5000
        debug level = 2
        debug timestamp = no
        timestamp logs = True
        security = user
        username level = 8
        encrypt passwords = true
        null passwords = no
        passdb backend = tdbsam:/etc/samba/passdb.tdb
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        admin users = root, test_user
        socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY
        keep alive = 50
        dead time = 10
        max xmit = 17384
        locking = yes
        max mux = 100
        max open files = 500
        read raw = yes
        write raw = yes
        getwd cache = yes
        local master = yes
        os level = 200
        domain master = yes
        preferred master = yes
        domain logons = yes
        add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        logon script = %U.bat
        logon home = \\%N\%U
        logon path =
        logon drive = H:
        name resolve order = wins lmhosts bcast
        wins support = yes

[download.pl]
        comment = download.pl
        path = /share/download.pl
        valid users = @www-data 
#        force group = www-data 
        writable = yes
        browsable = yes
        create mask = 0666
        directory mask = 0777


samba log file:
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.218694,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.218724,  3] smbd/trans2.c:5208(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of index.html failed (No such file or directory)
[2011/07/26 23:05:29.218738,  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/07/26 23:05:29.245606,  3] smbd/process.c:1485(process_smb)
  Transaction 35 of length 74 (0 toread)
[2011/07/26 23:05:29.245648,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.245679,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.245710,  3] smbd/trans2.c:3463(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 1007
[2011/07/26 23:05:29.245731,  3] smbd/trans2.c:2906(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2011/07/26 23:05:29.246498,  3] lib/sysquotas.c:453(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/share/download.pl] bdev[10.0.7.31:/virtual/www/download] qtype[2] id[0]: No such file or directory
[2011/07/26 23:05:29.246550,  3] lib/sysquotas.c:453(sys_get_quota)
  sys_get_vfs_quota() failed for mntpath[/share/download.pl] bdev[10.0.7.31:/virtual/www/download] qtype[4] id[0]: No such file or directory
[2011/07/26 23:05:29.246570,  4] smbd/trans2.c:3479(call_trans2qfsinfo)
  SMBtrans2 info_level = 1007
[2011/07/26 23:05:29.382030,  3] smbd/process.c:1485(process_smb)
  Transaction 36 of length 112 (0 toread)
[2011/07/26 23:05:29.382072,  3] smbd/process.c:1294(switch_message)
  switch message SMBntcreateX (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.382106,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.382681,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382737,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382756,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382770,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382781,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(index.html) returning 0666
[2011/07/26 23:05:29.382790,  3] smbd/vfs.c:851(check_reduced_name)
  check_reduced_name [index.html] [/share/download.pl]
[2011/07/26 23:05:29.382802,  3] smbd/vfs.c:1008(check_reduced_name)
  check_reduced_name: index.html reduced to /share/download.pl/index.html
[2011/07/26 23:05:29.382811,  4] smbd/open.c:1970(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0xC0 mode=0666, access_mask = 0x30197, open_access_mask = 0x30197
[2011/07/26 23:05:29.388739,  2] smbd/open.c:633(open_file)
  test_user opened file index.html read=Yes write=Yes (numopen=1)
[2011/07/26 23:05:29.393967,  3] smbd/oplock_linux.c:120(linux_set_kernel_oplock)
  linux_set_kernel_oplock: Refused oplock on file index.html, fd = 34, file_id = 12:3837e:0. (Invalid argument)
[2011/07/26 23:05:29.406700,  3] smbd/dosmode.c:166(unix_mode)
  unix_mode(index.html) returning 0666
[2011/07/26 23:05:29.437651,  3] smbd/process.c:1485(process_smb)
  Transaction 37 of length 76 (0 toread)
[2011/07/26 23:05:29.437694,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.437726,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.437757,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2011/07/26 23:05:29.437779,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1006 call=7 total_data=0
[2011/07/26 23:05:29.465709,  3] smbd/process.c:1485(process_smb)
  Transaction 38 of length 76 (0 toread)
[2011/07/26 23:05:29.465751,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.465781,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.465812,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2011/07/26 23:05:29.465841,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1005 call=7 total_data=0
[2011/07/26 23:05:29.493033,  3] smbd/process.c:1485(process_smb)
  Transaction 39 of length 74 (0 toread)
[2011/07/26 23:05:29.493074,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.493105,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.493134,  3] smbd/trans2.c:3463(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2011/07/26 23:05:29.493156,  3] smbd/trans2.c:2906(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2011/07/26 23:05:29.493175,  4] smbd/trans2.c:3479(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2011/07/26 23:05:29.519209,  3] smbd/process.c:1485(process_smb)
  Transaction 40 of length 76 (0 toread)
[2011/07/26 23:05:29.519249,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.519279,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.519309,  3] smbd/trans2.c:5012(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2011/07/26 23:05:29.519335,  3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo index.html (fnum = 4231) level=1004 call=7 total_data=0
[2011/07/26 23:05:29.546494,  3] smbd/process.c:1485(process_smb)
  Transaction 41 of length 88 (0 toread)
[2011/07/26 23:05:29.546536,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.546567,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.546604,  3] smbd/trans2.c:7722(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) index.html (fnum 4231) info_level=1020 totdata=8
[2011/07/26 23:05:29.546618,  3] smbd/trans2.c:7320(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: index.html (fnum 4231) info_level=1020 totdata=8
[2011/07/26 23:05:29.582994,  3] smbd/process.c:1485(process_smb)
  Transaction 42 of length 147 (0 toread)
[2011/07/26 23:05:29.583037,  3] smbd/process.c:1294(switch_message)
  switch message SMBwriteX (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.583069,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.583660,  3] lib/util.c:1846(fcntl_getlock)
  fcntl_getlock: fd 34 is returned info 0 pid 0
[2011/07/26 23:05:29.583711,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/reply.c(4394) cmd=47 (SMBwriteX) NT_STATUS_FILE_LOCK_CONFLICT
[2011/07/26 23:05:29.610068,  3] smbd/process.c:1485(process_smb)
  Transaction 43 of length 81 (0 toread)
[2011/07/26 23:05:29.610130,  3] smbd/process.c:1294(switch_message)
  switch message SMBtrans2 (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.610182,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.610199,  3] smbd/trans2.c:7722(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) index.html (fnum 4231) info_level=1013 totdata=1
[2011/07/26 23:05:29.610208,  3] smbd/trans2.c:7320(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: index.html (fnum 4231) info_level=1013 totdata=1
[2011/07/26 23:05:29.636293,  3] smbd/process.c:1485(process_smb)
  Transaction 44 of length 45 (0 toread)
[2011/07/26 23:05:29.636337,  3] smbd/process.c:1294(switch_message)
  switch message SMBclose (pid 26267) conn 0xb7b35960
[2011/07/26 23:05:29.636369,  4] smbd/uid.c:257(change_to_user)
  change_to_user: Skipping user change - already user
[2011/07/26 23:05:29.636399,  3] smbd/reply.c:4653(reply_close)
  close fd=34 fnum=4231 (numopen=1)
[2011/07/26 23:05:29.639109,  2] smbd/close.c:656(close_normal_file)
  test_user closed file index.html (numopen=0) NT_STATUS_OK
[2011/07/26 23:05:29.639680,  3] smbd/process.c:1485(process_smb)
  Transaction 45 of length 142 (0 toread)
[2011/07/26 23:05:29.639720,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 26267) conn 0x0
[2011/07/26 23:05:29.639760,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.639802,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/07/26 23:05:29.639815,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/07/26 23:05:29.639824,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/07/26 23:05:29.639846,  3] smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40
[2011/07/26 23:05:29.639865,  3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2011/07/26 23:05:29.669874,  3] smbd/process.c:1485(process_smb)
  Transaction 46 of length 188 (0 toread)
[2011/07/26 23:05:29.669918,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 26267) conn 0x0
[2011/07/26 23:05:29.669950,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.669986,  3] smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2011/07/26 23:05:29.670004,  3] smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/07/26 23:05:29.670013,  3] smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2011/07/26 23:05:29.670028,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[] domain=[] workstation=[L524] len1=1 len2=0
[2011/07/26 23:05:29.670050,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[L524] with the new password interface
[2011/07/26 23:05:29.670061,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [DOMAIN]\[]@[L524]
[2011/07/26 23:05:29.670090,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670101,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670113,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670128,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670142,  4] lib/substitute.c:504(automount_server)
  Home server: serverag
[2011/07/26 23:05:29.670156,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670165,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670173,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670186,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670222,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670230,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670240,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670249,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670256,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670293,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670306,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670315,  3] auth/auth.c:265(check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2011/07/26 23:05:29.670336,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670345,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670353,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670383,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670394,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670402,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670410,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670434,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670443,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670451,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670479,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670494,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670513,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670522,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670530,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670559,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670578,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670586,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670608,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670617,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670629,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/07/26 23:05:29.670658,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670672,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670681,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670689,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670697,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670790,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670806,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-4011850333-2170891249-2538041081-501]
[2011/07/26 23:05:29.670822,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2011/07/26 23:05:29.670834,  3] lib/privileges.c:63(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2011/07/26 23:05:29.670853,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670862,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670871,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670900,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670920,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670928,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670936,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670964,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/07/26 23:05:29.670985,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/07/26 23:05:29.670993,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/07/26 23:05:29.671001,  3] smbd/sec_ctx.c:310(set_sec_ctx)
Comment 1 Bartosz 2011-07-26 22:02:52 UTC
And I forgot:
both of directories:
10.0.7.31:/virtual/www/download and /share/download.pl has chmod/chown www-data:www-data, 777 (rwx for all)
Comment 2 Volker Lendecke 2011-07-27 05:26:06 UTC
Try

kernel oplocks = no
posix locking = no

Re-open please if the problem persists.