Jan-Eric Kamb (TN/EAB)
2007-May-03  13:36 UTC
[Samba] process cannot access file.....on home shares, 3.0.24 on Debian.
Hi,
After upgrading samba from 3.0.14(Sarge) to 3.0.24(Etch) I cannot save
file I have edit anymore on home shares, local shares works.
It's possible to create/delete/rename dir/files. But if I try to edit a
file and save it windows complains:
"The process cannot access the file because another process has locked a
portion of the file"
Copy a file gives the same error.
I have tried using XP Professional and Server 2003 with latest windows
patches.
Snooping the net with wireshark shows:
Write AndX Response, Error: STATUS_FILE_LOCK_CONFLIKT  + checksum
incorrect.
 
 
 
------------------------------------
Debian Etch latest patches.
Linux swift-old 2.6.18-4-686 #1 SMP Wed Apr 18 09:55:10 UTC 2007 i686
GNU/Linux
 
 
[global]
netbios name = SWIFT-OLD
workgroup = SWIFT
passdb backend = tdbsam
#idmap backend = ldap:ldap://ss38.uab.ericsson.se:636
os level = 33
preferred master = no
domain master = no
local master = no
server string = ""
security = user
encrypt passwords = true
domain logons = no
#logon drive = H:
#logon script = netlogon.bat
#add machine script = /usr/sbin/useradd -d /dev/null -g 999 -s
/bin/false -c "Samba %u" %u
 
interfaces = lo eth*
bind interfaces only = yes
hosts deny = ALL
hosts allow = 127. 172.30.196.0/255.255.255.0
130.100.214.0/255.255.255.0\
                                        130.100.93.0/255.255.255.0
#wins support = yes
#logon drive = h:
#logon home = \\swiftlab\%U
 
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
 
socket options = TCP_NODELAY
#smb ports = 139
 
dos charset = CP850
unix charset = UTF8
display charset = UTF8
 
 
#[netlogon]
#path = /var/lib/samba/netlogon
#read only = yes
#write list = ntadmin
 
[jeken]
path = /export/jeken
comment = jeken
read only = no
create mode = 0644
directory mode = 0755
 
[homes]
comment = Home Directories
#valid users = %S
browseable = no
read only = no
create mode = 0644
directory mode = 0755
 
 
 
regard 
jan-eric
Jan-Eric Kamb (TN/EAB)
2007-May-07  15:11 UTC
[Samba] process cannot access file.....on home shares, 3.0.24 on Debian.
-----Original Message----- Hi, After upgrading samba from 3.0.14(Sarge) to 3.0.24(Etch) I cannot save file I have edit anymore on home shares, local shares works. It's possible to create/delete/rename dir/files. But if I try to edit a file and save it windows complains: "The process cannot access the file because another process has locked a portion of the file" Copy a file gives the same error. I have tried using XP Professional and Server 2003 with latest windows patches. Snooping the net with wireshark shows: Write AndX Response, Error: STATUS_FILE_LOCK_CONFLIKT + checksum incorrect. . . . ------end----- Hi, I received a mail from Christine (if I remember your name correctly, I was to quick deleting mail...) suggesting: [global] kernel oplocks = no That works, thank you. Regards Jan-Eric