[OpenAFS] Windows file locking do not work on IFS client.
Jeffrey Altman
jaltman@your-file-system.com
Wed, 28 Sep 2011 10:15:34 -0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig11D08D9828146A477F1C6B3B
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 9/28/2011 10:06 AM, Anders Magnusson wrote:
>=20
> Environment:
> Server: OpenAFS 1.4.12.1, Redhat 5.3
> Client: Windows 7, OpenAFS 1.7.1
>=20
> It seems that file locking has stopped working in the new client,
> resulting in data corruption :-/
>=20
> Simple test case:
>=20
> - Have two Win7 clients
> - Open a .xlsx document in Office 2010 on one of them.
> - Open the same document on the second machine. No complaints.
> - Write something in the document on the first machine, save it and qui=
t.
> - Write something in the document on the second machine, save it and qu=
it.
>=20
> The first thing written is now gone.
>=20
> Setting EnableServerLocks to 2 do not help. The document just does not=
> seem to be locked.
>=20
> If a file is opened with an older SMB client then the IFS client
> understands it, and tells that
> it is locked on the Win7 machine.
>=20
> Any hints? Something missed to be configured?
Unlikely that you missed anything. The question is whether or not the
lock request is being passed onto the service.
This would be a bug. Please file bugs to openafs-info@openafs.org.
Jeffrey Altman
--------------enig11D08D9828146A477F1C6B3B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEcBAEBAgAGBQJOgywHAAoJENxm1CNJffh4SSkH/0gzXscj9zt2O0P70+8lrlvO
xzW1wGyqUOSZGodOgxMlpJj2hlz8cP4GzZ0PY1THTL0vwU+RtWerC/c7fKWXD8HQ
SsA5QKwwYV5IYmKMEwXo67lrUg0vyA7UxranEBlMvixNCXkhgT3sUQanKq2jp3rG
OskpG+CPCtekYkHK2NYYtiWOc5ZYRk0n5yIsvlp3WPhThIH+IsLrnmeAmmJIhcjw
pZtU1+m+3pFhNaPDlAI7gmVZSTLm2We6o5+l6aCGsQqXYl9wlBnY8nR4oxasdOvr
vGLmH0b5F0mvz7LsjC6LXSTKIlirFP0PD9mENrlHy9uLKxsGG2UzZD/4VfjJHkQ=
=HnVV
-----END PGP SIGNATURE-----
--------------enig11D08D9828146A477F1C6B3B--