Re: [Samba] File already in use?

2004-06-22 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Jeremy Allison wrote:
[...]
>
> I'd love to know if it fixes the Excel problem Fingers
> crossed :-).
>

I'm awfully sorry for this late reply, but I just was not
allowed to put the new version on the production server
until now.

But today we had the chance to test the samba version with the
"deferred open" patch included (Samba 3.0.5pre2-SVN-build-1011)
and the results show, that this version does _not_ solve the
problem: the "File already in use" error messages still occur
when users are opening their Excel files :-(

But we did another test and we now know it has something to do
with the version of MS Office: the error only occurs with (old)
Excel from Office97, it does not occur with Excel from Office2003!
I can't explain what is going on here, but maybe that's a hint for
others having the same problem

As the move to the new Office version is planned anyway, the
significance of this problem now is much lower and I'm about
to close this issue for now (this is not to say that I'm not
open to try any new idea on this issue... ;-)

Anyway, many thanks for your support!

- - andreas

PS: I did lots of testing with Samba 3.0.5pre2-SVN-build-1011
on our internal test server and I found not a single problem
with this version. I had it running on a Linux-2.4.26 server
as PDC with LDAPSAM backend and more than 1000 user accounts,
OpenLDAP master/slave replication and failover and even had it
running in an active/hot standby cluster configuration with
Heartbeat and DRBD storage - all tests passed, I found no
problem whatsoever. Good work!

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFA2HbsxJmyeGcXPhERAhv0AJ90nTPQLexth7GdFXw/aSCoECzQqgCdFPvL
U8O5TBX9A5jA/wXChkn6L+I=
=vpXE
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-06-04 Thread Jeremy Allison
On Fri, May 28, 2004 at 02:23:03PM +0200, Andreas Haumer wrote:
> 
> We also have a test case for this which we could reproduce
> at least 6 times in a row now:
> 
> a) User starts Excel with empty workspace and opens the file
>using the Excel "Open" dialog -> no problem
> 
> b) User starts Excel first with empty workspace. User then
>starts Windows Explorer and opens the file by double-klicking
>on the filename in Windows Explorer -> no problem
> 
> c) Excel is not running. User starts Windows Explorer and
>opens the file by double-klicking on the filename in Windows
>Explorer -> Excel starts up and presents the error dialog
>that the file was already in use! User can acknowledge the
>error dialog by klicking on "OK" -> file opens in Excel
>without problem.

Ok, I just mailed Andreas privately, but wanted to let everyone
who might be suffering from the same problem know the status.

I have now re-written the Samba open code to provide
the "deferred" opens that Excel seems to require. I have a
(large) patch against the current Samba subversion 3.0 code
that should fix this problem.
   
 
I've been testing it here and it passes all my automated tests,
plus it is valgrind (memory leak and overwrite) safe.
   
 
If you can cope with applying a diff patch to svn checked
out code (if you don't know what that means don't ask for
the patch :-) please let me know and I'll mail it out.

Don't put it into production but for people who have users
who can reproduce it at will I'd be very interested to see
if this fixes the problem.
   
 
Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-06-03 Thread Jeremy Allison
On Thu, Jun 03, 2004 at 02:06:07PM +0200, Andreas Haumer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi!
> 
> Just to keep you updated...
> 
> Andreas Haumer wrote:
> [...]
> > I will now proceed as follows:
> >
> > a) Try to reproduce the problem with the virus scanner disabled
> 
> We disabled the virus scanner, but the problem still occurs.

Thanks for letting me know. I'm currently writing the code to fix
the "deferred" open problem. I should have something to test by
the end of this week, early next at the latest.

Bear in mind this will be *new* code, and quite a lot of it

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-06-03 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Just to keep you updated...

Andreas Haumer wrote:
[...]
> I will now proceed as follows:
>
> a) Try to reproduce the problem with the virus scanner disabled

We disabled the virus scanner, but the problem still occurs.

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAvxQqxJmyeGcXPhERAiE4AKC+tXmXG+Uh3Ct1t5e6GLsFJEhquwCdGDWf
xUbpr066hMuvJE130sTPHWQ=
=/+kV
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-29 Thread Jeremy Allison
On Sat, May 29, 2004 at 08:54:27PM +0200, Andreas Haumer wrote:
> 
> But as far as I have understood the explanation from
> Jeremy, there might also be some issue with samba and
> windows clients opening the same file several times
> in the same second.
> 
> I will now proceed as follows:
> 
> a) Try to reproduce the problem with the virus scanner disabled
> b) Try to reproduce the problem with samba 3.0.5pre1 (though it
>might not have a fix for this)
> c) Wait for a patch from Jeremy with a fix for the "deferred open issue"
>and try to reproduce the problem with that.
> 
> I will keep the list informed of any results I can get!

Thanks - that's a good plan. I now have the design for the
new "deferred" open code in my head, and I'm looking at the
3.0.x codebase to try and make a minimum neccessary change
to integrate it (ie. I don't want to break anything). I will
be running lots of regression tests in this area before
committing the code :-).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-29 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Kit Gerrits wrote:
> Do you, by chance run a virus scanner and  Win2000 or WinXP?
>
>
Yes, there is an McAfee virus scanner running on the windows
workstation which has WinXP installed.

>
> Windows 2000 and XP have a tendency to examine files in a directory when you
> open an Explorer window.
>
>
>
> This triggers the virus scanner, which, in turn, opens the file and keeps it
> locked until it has finished scanning the file.
>
>
It indeed currently looks like it has something to do
with the way a virus scanner opens the file. Jeremy
Allison might have found some traces of it in the network
traffic dump files I produced.

But as far as I have understood the explanation from
Jeremy, there might also be some issue with samba and
windows clients opening the same file several times
in the same second.

I will now proceed as follows:

a) Try to reproduce the problem with the virus scanner disabled
b) Try to reproduce the problem with samba 3.0.5pre1 (though it
   might not have a fix for this)
c) Wait for a patch from Jeremy with a fix for the "deferred open issue"
   and try to reproduce the problem with that.

I will keep the list informed of any results I can get!

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAuNxcxJmyeGcXPhERArvtAKCJTXiTtvASj8YPP0FZGlVUnEiV0ACgqVtk
OZZJ4GZh5UBPN7sduhKwq6U=
=Be+W
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-29 Thread Kit Gerrits
Do you, by chance run a virus scanner and  Win2000 or WinXP?

 

Windows 2000 and XP have a tendency to examine files in a directory when you
open an Explorer window.

 

This triggers the virus scanner, which, in turn, opens the file and keeps it
locked until it has finished scanning the file.

 

I have no experience with Linux virus scanners (I still scan on user-side
only), but the same problem could apply on the Linux side.

 

I hope this helps.

 

Greetz,

 

kit

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-28 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Jeremy,

Jeremy Allison wrote:
> On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:
>
>>Hi,
>>
>>I'm running 3.0.4 and have had several reports from users both using Office
>>and Lotus where the application tells them that the file is already in use
>>when we know it isn't.
>
>
> Can anyone give me a reproducible test case for this please ? A set of
> client operations that reliably reproduces it would be best. If not,
> an ethereal capture trace showing the entire session might help track
> this down.
>
We just had this problem again and this time I have lots of
debug information available:

*) A full network trace from all traffic between the fileserver
   and the windows PC in tcpdump binary format (can be examined
   with ethereal)

*) A samba logfile with debuglevel 10 where the event is
   logged in detail

*) Output of "smbstatus" for the user in question a few minutes
   before and after the event, with an interval of 2 seconds

The whole log information is about 3MB in size (tar archive,
compressed with bzip2). As I do not want to send it to the
list due to it's size (and it contains confidental information,
too) I would like to send it to you in private mail. Is this ok?
I could also put the file into some private FTP account and give
you access. Please advise what is your preferred method.

We also have a test case for this which we could reproduce
at least 6 times in a row now:

a) User starts Excel with empty workspace and opens the file
   using the Excel "Open" dialog -> no problem

b) User starts Excel first with empty workspace. User then
   starts Windows Explorer and opens the file by double-klicking
   on the filename in Windows Explorer -> no problem

c) Excel is not running. User starts Windows Explorer and
   opens the file by double-klicking on the filename in Windows
   Explorer -> Excel starts up and presents the error dialog
   that the file was already in use! User can acknowledge the
   error dialog by klicking on "OK" -> file opens in Excel
   without problem.


Does this ring a bell?

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAty8hxJmyeGcXPhERAlyxAKCevg4iiJbQxfU5zIp6ClyZWh4zVgCfdcTB
mEYoT9odRsUnRNub3v/NJ+I=
=qtgY
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-27 Thread Chris Garrigues
> From:  Jeremy Allison <[EMAIL PROTECTED]>
> Date:  Thu, 27 May 2004 10:47:25 -0700
>
> Ok, this behaviour is familiar. I think this may be the 1 second
> deferred open behaviour. I know how to fix this, just haven't
> coded this up yet as it's tricky. If I do code up a fix would you be willing
> to try a test version of Samba 3.0.x ?

I would.  I get calls about this from users several times per day!

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




pgpTtgxFU0Jba.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] File already in use?

2004-05-27 Thread Jeremy Allison
On Thu, May 27, 2004 at 08:20:50PM +0200, Andreas Haumer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi!
> 
> Jeremy Allison wrote:
> [...]
> >
> > Ok, this behaviour is familiar. I think this may be the 1 second
> > deferred open behaviour. I know how to fix this, just haven't
> > coded this up yet as it's tricky. If I do code up a fix would you be willing
> > to try a test version of Samba 3.0.x ?
> >
> Yes, of course!
> Bring on the fresh code... :-)

Ok, it'll be a while yet though...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-27 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Jeremy Allison wrote:
[...]
>
> Ok, this behaviour is familiar. I think this may be the 1 second
> deferred open behaviour. I know how to fix this, just haven't
> coded this up yet as it's tricky. If I do code up a fix would you be willing
> to try a test version of Samba 3.0.x ?
>
Yes, of course!
Bring on the fresh code... :-)

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAtjF8xJmyeGcXPhERAp5wAKC1COYAb4BQA9yhEiBvNFHCGQ6gpACeIMcx
bdW9KMnlEXW2gZiggkImmjY=
=zqPe
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-27 Thread Jeremy Allison
On Thu, May 27, 2004 at 01:32:05PM +0200, Andreas Haumer wrote:
> 
> I do not have an explicit test case for this problem.
> It just "happens" sometimes: the user is trying to
> open a file on a simple samba share he (or she) works
> regularily with and for no apparent reason windows pops
> up a dialog telling it "can't open the file because it's
> already opened by some other user or process".
> No need to say that all users say they have _not_
> already opened the file in any way.
> 
> Samba log messages tell me that the file was indeed
> opened and closed several times in less than a second
> when the user is trying to access the file. Eventually
> I then see this "share violation on file" error in the
> logs (see my previous mail).
> I can not link this error message 1:1 to this problem though,
> as I see many more of them in the log file than I have user
> reports about this problem.
> 
> If the user then acknowledges the windows error dialog by
> klicking "OK", the file opens without further problems.
> There is no need to restart Samba or the Windows PC.
> (so it's more an annoyance and in no way a showstopper,
> but it would be nice to have it resolved anyway)

Ok, this behaviour is familiar. I think this may be the 1 second
deferred open behaviour. I know how to fix this, just haven't
coded this up yet as it's tricky. If I do code up a fix would you be willing
to try a test version of Samba 3.0.x ?

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-27 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Jeremy!

Thanks for stepping in!

Jeremy Allison wrote:
> On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:
>
>>Hi,
>>
>>I'm running 3.0.4 and have had several reports from users both using Office
>>and Lotus where the application tells them that the file is already in use
>>when we know it isn't.
>
>
> Can anyone give me a reproducible test case for this please ? A set of
> client operations that reliably reproduces it would be best. If not,
> an ethereal capture trace showing the entire session might help track
> this down.
>

I do not have an explicit test case for this problem.
It just "happens" sometimes: the user is trying to
open a file on a simple samba share he (or she) works
regularily with and for no apparent reason windows pops
up a dialog telling it "can't open the file because it's
already opened by some other user or process".
No need to say that all users say they have _not_
already opened the file in any way.

Samba log messages tell me that the file was indeed
opened and closed several times in less than a second
when the user is trying to access the file. Eventually
I then see this "share violation on file" error in the
logs (see my previous mail).
I can not link this error message 1:1 to this problem though,
as I see many more of them in the log file than I have user
reports about this problem.

If the user then acknowledges the windows error dialog by
klicking "OK", the file opens without further problems.
There is no need to restart Samba or the Windows PC.
(so it's more an annoyance and in no way a showstopper,
but it would be nice to have it resolved anyway)

We have about 25 users on this fileserver (samba 3.0.2a
in PDC configuration, Linux 2.4.25, client PC's use Windows
XP professional SP1) and it happes for most of the users
once or twice about every other day.

I have now increased samba loglevel to 10. I have tcpdump
running to dump the whole traffic between the fileserver
and a particular PC into tracefiles (file size limit is 5MB,
snaplen is unlimited) which then can be examined by ethereal.
I have instructed the user on this PC to report the problem
as soon as it happens again.

I hope to have a usable tracefile and logfile soon!
Tell me if you need any additional information!

Thanks for your support!

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAtdGvxJmyeGcXPhERAjgSAJwJHIWvU2h/jjQ/QgbJS1HZFZ0PiACfdhh/
j4jC5B4dl0ATunpG+HpwS40=
=XO9/
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Jeremy Allison
On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:
> 
> (BTW, there's a typo on the man page under "lock spin count".  "acquired", not 
> "aquired".)

Fixed, thanks.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Jeremy Allison
On Wed, May 26, 2004 at 08:41:35AM -0500, Chris Garrigues wrote:
> Hi,
> 
> I'm running 3.0.4 and have had several reports from users both using Office 
> and Lotus where the application tells them that the file is already in use 
> when we know it isn't.

Can anyone give me a reproducible test case for this please ? A set of
client operations that reliably reproduces it would be best. If not,
an ethereal capture trace showing the entire session might help track
this down.

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Chris Garrigues
> From:  Andreas Haumer <[EMAIL PROTECTED]>
> Date:  Wed, 26 May 2004 17:16:26 +0200
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi!
> 
> Rashkae wrote:
> > I would start with smbstatus to see what workstation/user has the file
> > open.
> >
> So far I was not able to see a file locked by someone else
> than the workstation/user who was reporting the problem (if any).
> 
> When I get the problem report, it's usually too late: the
> user is already able to open the file again.
> Most of the time when I check the system then, smbstatus
> does not report this file as locked, and I find these
> "Share violation on file" error in the logs.
> 
> I once had smbstatus reporting the same file a user was
> reporting as not beeing able to open, and smbstatus told
> me the _same_ user on the _same_ workstation had the file
> locked. The user told me he had _not_ opened the file the
> whole day! Go figure...

I just had almost this happen.  This time it was a quickbooks user.  She got 
an error message that her connection to the server had been lost (I didn't see 
this myself).  When I looked at smbstatus I saw that she still had locks:

Locked files:
PidDenyMode   Access  R/WOplock   Name
--
4191   DENY_NONE  0x2019f RDWR   NONE 
/export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBI   Wed May 26 10:10:03 
2004
4191   DENY_NONE  0x2019f RDWR   NONE 
/export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBW   Wed May 26 10:10:02 
2004

When she re-entered quickbooks it gave the usual error that the file was 
already in use.

I restarted samba and it let her in.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




pgp6bLhgfbiL3.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] File already in use?

2004-05-26 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Rashkae wrote:
> I would start with smbstatus to see what workstation/user has the file
> open.
>
So far I was not able to see a file locked by someone else
than the workstation/user who was reporting the problem (if any).

When I get the problem report, it's usually too late: the
user is already able to open the file again.
Most of the time when I check the system then, smbstatus
does not report this file as locked, and I find these
"Share violation on file" error in the logs.

I once had smbstatus reporting the same file a user was
reporting as not beeing able to open, and smbstatus told
me the _same_ user on the _same_ workstation had the file
locked. The user told me he had _not_ opened the file the
whole day! Go figure...

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAtLTCxJmyeGcXPhERAkOZAKCSUq0eh+EcuUd9Vb7WN/yZR4kyQgCfVROz
4bJtVjmeMxoHN6RvWpgjoM0=
=UvlD
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Chris Garrigues
> From:  Rashkae <[EMAIL PROTECTED]>
> Date:  Wed, 26 May 2004 11:02:35 -0400
>
> I would start with smbstatus to see what workstation/user has the file
> open.

None.

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




pgp4mfaNSVzUC.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] File already in use?

2004-05-26 Thread Rashkae
I would start with smbstatus to see what workstation/user has the file
open.

On Wed, May 26, 2004 at 04:12:19PM +0200, Andreas Haumer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi!
> 
> Chris Garrigues wrote:
> > Hi,
> >
> > I'm running 3.0.4 and have had several reports from users both using Office
> > and Lotus where the application tells them that the file is already in use
> > when we know it isn't.
> >
> We seem to have similar problems!
> (see my mail with subject "Share violation on file error"
> from yesterday)
> 
> So far I've got no reply from the list.
> I tried to play a little bit with oplock configurations
> (disable oplocks for some file pattern, completely disable
> oplocks for the shares) but it doesn't seem to help... :-(
> 
> I don't know what's going on.
> Currently I suspect the virus scanners doing some
> strange things, but I have no prove for this theory.
> 
> - - andreas
> 
> - --
> Andreas Haumer | mailto:[EMAIL PROTECTED]
> *x Software + Systeme  | http://www.xss.co.at/
> Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
> A-1100 Vienna, Austria | Fax: +43-1-6060114-71
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD4DBQFAtKW4xJmyeGcXPhERAv4sAJd366+BTIcEjqpQz1SvwmMW4Ww0AKCereTk
> P/OOy37fvaEqV9iI8AxMjw==
> =t8MI
> -END PGP SIGNATURE-
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Chris Garrigues wrote:
>>From:  Andreas Haumer <[EMAIL PROTECTED]>
>>Date:  Wed, 26 May 2004 16:12:19 +0200
>>
[...]
>>
>>So far I've got no reply from the list.
>>I tried to play a little bit with oplock configurations
>>(disable oplocks for some file pattern, completely disable
>>oplocks for the shares) but it doesn't seem to help... :-(
>>
>>I don't know what's going on.
>>Currently I suspect the virus scanners doing some
>>strange things, but I have no prove for this theory.
>
>
> I don't have the virus scanning enabled.
>
> My understanding is that oplocks doesn't actually have anything to do with
> locking and has much more to do with caching.
>
I know, I just tried it more as a "last resort out of desparation"... ;-)

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAtKiSxJmyeGcXPhERAn8RAJ97YbvRUdlxQXjo0M7+Q3OiBsKTTACgvXy5
S1qdg3tjBDU0AzZJScbajrw=
=0Iyv
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File already in use?

2004-05-26 Thread Chris Garrigues
> From:  Andreas Haumer <[EMAIL PROTECTED]>
> Date:  Wed, 26 May 2004 16:12:19 +0200
>
> Hi!
> 
> Chris Garrigues wrote:
> > Hi,
> >
> > I'm running 3.0.4 and have had several reports from users both using Office
> > and Lotus where the application tells them that the file is already in use
> > when we know it isn't.
> >
> We seem to have similar problems!
> (see my mail with subject "Share violation on file error"
> from yesterday)
> 
> So far I've got no reply from the list.
> I tried to play a little bit with oplock configurations
> (disable oplocks for some file pattern, completely disable
> oplocks for the shares) but it doesn't seem to help... :-(
> 
> I don't know what's going on.
> Currently I suspect the virus scanners doing some
> strange things, but I have no prove for this theory.

I don't have the virus scanning enabled.

My understanding is that oplocks doesn't actually have anything to do with 
locking and has much more to do with caching.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




pgpHXhjUZQlIG.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] File already in use?

2004-05-26 Thread Andreas Haumer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Chris Garrigues wrote:
> Hi,
>
> I'm running 3.0.4 and have had several reports from users both using Office
> and Lotus where the application tells them that the file is already in use
> when we know it isn't.
>
We seem to have similar problems!
(see my mail with subject "Share violation on file error"
from yesterday)

So far I've got no reply from the list.
I tried to play a little bit with oplock configurations
(disable oplocks for some file pattern, completely disable
oplocks for the shares) but it doesn't seem to help... :-(

I don't know what's going on.
Currently I suspect the virus scanners doing some
strange things, but I have no prove for this theory.

- - andreas

- --
Andreas Haumer | mailto:[EMAIL PROTECTED]
*x Software + Systeme  | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFAtKW4xJmyeGcXPhERAv4sAJd366+BTIcEjqpQz1SvwmMW4Ww0AKCereTk
P/OOy37fvaEqV9iI8AxMjw==
=t8MI
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] File already in use?

2004-05-26 Thread Chris Garrigues
Hi,

I'm running 3.0.4 and have had several reports from users both using Office 
and Lotus where the application tells them that the file is already in use 
when we know it isn't.

(BTW, there's a typo on the man page under "lock spin count".  "acquired", not 
"aquired".)

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
Trinsic Solutions   http://www.trinsics.com
1611-B West 6th Street
Austin, TX  78703-5074  512-322-0180

If you don't apply what you've learned, you haven't 
   learned anything.




pgp0Yu4J1SVT3.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba