[Samba] How to detect active users

Jeremy Allison jra at samba.org
Tue Jul 26 10:31:04 MDT 2011

On Tue, Jul 26, 2011 at 10:06:20AM +0200, Malte Forkel 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, Samba keeps state on all open files. That's what smbstatus shows.

More information about the samba mailing list