Re: [Samba] xls file locked for editing by unknown user

2010-06-30 Thread Moray Henderson
Dave Coventry wrote: Hi Moray, thanks for the assistance! On 29 June 2010 10:41, Moray Henderson (ICT) moray.hender...@ict.om.org wrote: Which version of Samba? Samba version 3.2.5 Does smbstatus(1) list the file as being locked?  If so, it should give a pid you can examine.  The fuser(1) and

Re: [Samba] xls file locked for editing by unknown user

2010-06-30 Thread tms3
The current .tdb files must be in a different location on Debian Lenny Samba 3.2.5. /var/cache/samba is another common place. Try testparm -sv | grep directory Or find / -name \*.tdb -print In Samba 3.4 the state directory and cache directory parameters tell you where to find

Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Moray Henderson (ICT)
Dave Coventry wrote: I'm not sure that this is the right place to ask about this, but one of my users is having a problem with her files,specifically excel files which she is editing with openoffice. I suspect that she is closing down her PC without logging out or something and so appears to be

Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Dave Coventry
Hi Moray, thanks for the assistance! On 29 June 2010 10:41, Moray Henderson (ICT) moray.hender...@ict.om.org wrote: Which version of Samba? Samba version 3.2.5 Does smbstatus(1) list the file as being locked?  If so, it should give a pid you can examine.  The fuser(1) and lsof(8) commands

Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Denis Fateyev
Hello Dave, `lsof | grep your-file-name` If it locked with any of smbd process, try `kill PID`, where `pid` - smbd pid you've got previously. --- wbr, Denis. 2010/6/29 Dave Coventry dgcoven...@gmail.com Hi Moray, thanks for the assistance! On 29 June 2010 10:41, Moray Henderson (ICT)

Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Dave Coventry
Hi Klaus, On 29 June 2010 14:04, Klaus Ruebsam k.rueb...@gmx.net wrote: Hi Dave, I´m not at all an expert on Samba, but might it be something quite simple as the ampersand-sign () within your directory name ?!? There are other directories which do not have the ampersand, but which also

Re: [Samba] xls file locked for editing by unknown user

2010-06-29 Thread Dave Coventry
On 29 June 2010 14:12, Denis Fateyev de...@fateyev.com wrote: Did you have these locks immediately after you restarted the samba service? Yes. If not, I suggest you to deploy `3.4 - 3.5` samba branch on test machine and check it out with vista again. The funny thing is it was working fine

[Samba] xls file locked for editing by unknown user

2010-06-28 Thread Dave Coventry
I'm not sure that this is the right place to ask about this, but one of my users is having a problem with her files,specifically excel files which she is editing with openoffice. I suspect that she is closing down her PC without logging out or something and so appears to be still logged in. She