[Samba] How to detect active users

John Drescher drescherjm at gmail.com
Tue Jul 26 11:08:49 MDT 2011


On Tue, Jul 26, 2011 at 1:04 PM, Malte Forkel <malte.forkel at berlin.de> wrote:
> Am 26.07.2011 18:42, schrieb Chris Weiss:
>> On Tue, Jul 26, 2011 at 3:06 AM, Malte Forkel <malte.forkel at berlin.de> wrote:
>>> Currently, I'm not even sure Samba preserves the kind of state
>>> information required to detect the usage scenario  I'm interested in. Is
>>> there any concept of an "open file" in Windows/Samba, after all? May be
>>> it depends on the application used to open the file?
>>
>> yes, it depends on the application.  If the app closes the file and
>> leaves the share, samba honors that.  if the app keeps the file handle
>> open, samba does too.
>
> So an application (like SciTE) might open a file, read and display its
> contents, and close the file while continuing to display it. And in
> contrast, a different application might not close the file while it is
> displaying its contents?

Exactly.

John


More information about the samba mailing list