Dear Christopher,
you wrote:
> I have installed the current Sharity 2 beta after running 1.04 for
> some time now, and I still have the following problem. I think it
> is because Sharity can't do file locking (as documented in the
> Sharity manual), but I'd like to be sure it isn't something else:
>
> Sharity runs on a SPARC Solaris (2.6) machine. NT runs on two
> different PCs. Samba also runs on the Solaris machine. I can
> mount the Unix file system as a drive letter from a PC using Samba.
> I can then use NT on one machine to access files on the other NT
> machine by going through the Unix mount point. I can copy files
> in either direction, move, delete, rename, etc. with no problem.
> I can open text files using an editor with no problem, but I cannot
> open files using MS Office applications (Word, PowerPoint, Excel,
> ...). I get a generic dialog box from the application just saying
> it can't open the document.
>
> So, does this sound like the file locking issue, or might there be
> something else I should look into?
It may be file locking, it may be not. There are a lot of factors involved.
Sharity maps DOS attributes to Unix attributes and Samba does the opposite.
Both use somewhat different mappings by default. It's unlikely that this is a
problem, though.
An other issue is the file locking. As far as I remember, older versions of
Samba had an internal file locking database. These versions do not rely on
Sharity's file locking. Newer versions use flock() and probably fail on a
Sharity mount.
I've also heared that MS Office programs refuse to open files if something
"looks suspicious" to them. I've seen a debug trace where such a program
queried a files's attributes and without looking at the file itself refused
to open it.
If you need to open Office documents through this path, we can try to debug
it. Please let me know.
Regards, Christian.
--
Dipl.-Ing. Christian Starkjohann
Objective Development
mailto:[EMAIL PROTECTED] | http://www.obdev.at/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To unsubscribe send a mail with the words "unsubscribe sharity-talk" in the
body to <[EMAIL PROTECTED]>. If you want to reach a human, please write to
<[EMAIL PROTECTED]>.