[Samba] Audit user connection

Andrew Bartlett abartlet at samba.org
Mon Sep 24 18:09:38 UTC 2018


On Mon, 2018-09-24 at 15:03 -0300, Gabriel O. Franca via samba wrote:
> Dear, 
> 
> 
> A client asked me to know what time people are logging in and out of
> the samba server. 
> 
> 
> Can I get this information? samba version 4.9.0 

User connections are logged, in particular with the new JSON auditing
feature for automated processing.  See the WHATSNEW and the entry for
'log level' in smb.conf.5

There are other logs that may show you disconnects, but they are not as
structured. 

Andrew Bartlett
 
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba mailing list