[Samba] filelocking how to ...

Nikolas Hagelstein hagelstein at hauptsache.net
Wed Aug 21 08:35:59 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

what i want is to make samba locking a file
whil it is in use by a client.

IMHO that means that a second try to open it should result in
something like " file in use opening readonly" or something like
this.

is this possible with 2.2.x and if so what configuration options need
to
be set.

At the moment the only thing i get is a short time of locking
(reported by smbstatus)
It seems as if the lock is released after the client has completed
reading/writing.

I wonder if it is possible to reallize some kind of sessionbased
locking ..like netatalk
does.

kindly regards,
				Niko



- --
Nikolas Hagelstein
hauptsache.net GmbH
Ruhrstraße 11 - Phoenixhof
22761 Hamburg

fon 040  43 18 34 53
fax 040  43 18 34 55


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPWPC/Rr5BhWFTCgMEQLBMACeKUbrCJzu+qNLaPcBW4oxu+9zmSEAn0V3
YINh+8fAbjRXgbfEblaZWbme
=rEnz
-----END PGP SIGNATURE-----




More information about the samba mailing list