Read-only file access

Olaf Frączyk olaf at
Mon Jan 23 13:00:40 GMT 2006

On Fri, 2006-01-20 at 12:43 -0500, Michael B Allen wrote:
> On Fri, 20 Jan 2006 11:21:51 +0530
> Madhusudan R <madhurjf at> wrote:
> > Hello,
> > 
> > Could anyone please let me know how a client that tries to open a file
> > (MS office files) that's already opened by another client, is notified
> > that the file can be opened for reading only, which ultimately results
> > in the read-only box popping up on the client side? I would be
> > interested in knowing:
> > 
> > 1. What smb packets do I have to look closely at to spot this message
> > sent by the samba server to the client?
> > 2. Details of the proceedings on the samba server which ultimately
> > results in the message being sent out on the network.
> I think that's a feature of office and has nothing to do with SMB
> communication.
Does it not make use of locking? You could try to disable locking in
smb.conf. If it makes difference you could look in sources for lock


Olaf Frączyk <olaf at>

More information about the samba-technical mailing list