Re: [Samba] AutoCad 2004, Samba 3.0.11 & file locking issues

2005-03-22 Thread Bill Arlofski
Gerald (Jerry) Carter wrote:
Bill Arlofski wrote:
|
| Sorry for such a long post as my first to the list, but in an effort to
| forego a long back and forth question/answer session via email, I think
| if I post all the information that I currently have someone may be able
| to more quickly spot my issue.
|
| The server in question is a Gentoo server running Samba 3.0.11.
|
| The basic problem is that when person A opens an AutoCad file, person B
| is unable to open the file and is told (by an Autocad dialog box):
|
| "Cannot find the scpcified drawing file. Please verify that the network
| drive is available and the file exists"
|
| Now, this Samba server replaced an NT 4 server and the client says that
| in the past, when ever person b tried to open an already opened Autocad
| file, they would be allowed to open it in Read-only mode, which is
| exactly what they expect and want to happen.
I think we actually need a raw network trace
(tcpdump -w /tmp/dump.pcap -s 0 -i eth0 host )
and a level 10 smbd debug log
You might want to test 3.0.12rc1 since jeremy just fixed an
issue with pending modtimes that fixed issues with excel.

cheers, jerry

Hi Jerry.. Well, log level 10 certainly generates a LOT of information. :)
Since the log files and dump file is almost 7 MEG tarred and bzipped, I 
am putting it on my web server for you to grab. Here is the URL:

http://www.revpol.com/files/Arlofski-Autocad.tbz2
I had the client simply OPEN an AutoCad file, make a small change, and 
save the file.

Thank you for your time and effort on this. I anxiously look forward to 
your findings. I'd love to put this to rest for my client.

If you need ANYthing else, please ask.
-
Bill Arlofski
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] AutoCad 2004, Samba 3.0.11 & file locking issues

2005-03-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Arlofski wrote:
|
| Sorry for such a long post as my first to the list, but in an effort to
| forego a long back and forth question/answer session via email, I think
| if I post all the information that I currently have someone may be able
| to more quickly spot my issue.
|
| The server in question is a Gentoo server running Samba 3.0.11.
|
| The basic problem is that when person A opens an AutoCad file, person B
| is unable to open the file and is told (by an Autocad dialog box):
|
| "Cannot find the scpcified drawing file. Please verify that the network
| drive is available and the file exists"
|
| Now, this Samba server replaced an NT 4 server and the client says that
| in the past, when ever person b tried to open an already opened Autocad
| file, they would be allowed to open it in Read-only mode, which is
| exactly what they expect and want to happen.
I think we actually need a raw network trace
(tcpdump -w /tmp/dump.pcap -s 0 -i eth0 host )
and a level 10 smbd debug log
You might want to test 3.0.12rc1 since jeremy just fixed an
issue with pending modtimes that fixed issues with excel.

cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCMwP1IR7qMdg1EfYRAuljAJ4yBn8aj6jg2a289fvY0m46nxTOEgCfUm6u
Pw/p55mI4uT7rgaZRJ+MzEk=
=kTMI
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] AutoCad 2004, Samba 3.0.11 & file locking issues

2005-03-08 Thread Bill Arlofski
Sorry for such a long post as my first to the list, but in an effort to
forego a long back and forth question/answer session via email, I think
if I post all the information that I currently have someone may be able 
to more quickly spot my issue.

The server in question is a Gentoo server running Samba 3.0.11.
The basic problem is that when person A opens an AutoCad file, person B
is unable to open the file and is told (by an Autocad dialog box):
"Cannot find the scpcified drawing file. Please verify that the network
drive is available and the file exists"
Now, this Samba server replaced an NT 4 server and the client says that
in the past, when ever person b tried to open an already opened Autocad
file, they would be allowed to open it in Read-only mode, which is
exactly what they expect and want to happen.

So, on to the troubleshooting:
I had my client open an AutoCad file called A1_1 and here is what 
tdbdump showed for that file. (info on the .dwl file is further below)

# tdbdump /var/cache/samba/locking.tdb | grep A1_1
data = "[EMAIL PROTECTED]: got kernel
oplock\AAa\00\00\07\9D\03\00!\00\00\00\96\01\02\00\B6\80,B\C9\A9\03\00\03\08\00\00\00\00\00\00\85\D6\0F\00\00\00\00\00\AF;\00\00/home/shared/projects/A1_1.dwl\00"
data = "[EMAIL PROTECTED]: got kernel
oplock\AAa\00\00\00\00\00\00\22\00\00\00\9F\01\02\00\B4\80,B\FF\E7\09\00\03\08\00\00\00\00\00\00\B3\B3\0A\00\00\00\00\00\1E;\00\00/home/shared/projects/A1_1.dwg\00"
smbstatus shows:
louis   25002   louis_laptop  Mon Mar  7 08:25:49 2005
25002  DENY_WRITE 0x20196 WRONLY EXCLUSIVE+BATCH
/home/shared/projects/A1_1.dwl   MonMar  7 10:55:55 2005
25002  DENY_WRITE 0x2019f RDWR   NONE
/home/shared/projects/A1_1.dwg   MonMar  7 10:55:53 2005

lsof -p 25002 | grep A1_1  shows:
smbd25002 louis   27uR  REG   8,3110753701363
/home/shared/projects/A1_1.dwg
smbd25002 louis   61wR  REG   8,352   1037957
/home/shared/projects/A1_1.dwl
The .dwl file is a 'log file' that AutoCad uses to inform others that
the file is opened and who it is opened by. Here are it's contents:
louis
LOUIS_LAPTOP
Monday, March 07, 2005  11:02:28 AM
If this user, Louis, tries to open this file again, Autocad tells him
that "louis has this file open, would you like to open it as a read only
file?" This is the correct functionality.
This is how it's supposed to work when other network users attempt to
open an AutoCad file that someone already had opened. And this is how it
used to work on their NT Server.
Instead, on the Samba server, when someone else on the network using
AutoCad attempts to open that file, they get an error dialog of the
nature "Cannot find the specified drawing file. Please verify that the
network drive is available and the file exists"
In another test, using Explorer, Louis was able to copy to his desktop
an AutoCad drawing that was already in use by another user.
I was initially thinking that we could over-ride samba's locking
mechanisms for that share or something, but when he was able to copy an
in-use file it started to look like an Autocad-specific issue rather
than a Linux/Samba file locking issue.
Any ideas that anyone can offer to help solve this would be appreciated.
If this is strictly an AutoCad issue, I'd like to know for sure before
we go to AutoCad with an issue.  And again, if it is an AutoCad issue, 
why did everything work as expected on the NT server? Was NT ignoring 
AutoCad's file locking requests?

Thanks again!
-
Bill Arlofski
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba