[Samba] process cannot access file.....on home shares, 3.0.24 on Debian.

Jan-Eric Kamb (TN/EAB) jan-eric.kamb at ericsson.com
Thu May 3 13:36:03 GMT 2007


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



More information about the samba mailing list