[Samba] I need to log user logon and logoff

Andrew Bartlett abartlet at samba.org
Wed Mar 22 00:44:42 UTC 2017


On Tue, 2017-03-21 at 10:05 -0500, Denis Morejon via samba wrote:
> I need to log to a separated file just user/computer logon and
> logoff.
> 
> I would like not to use log level > 2 to do this.
> 
> I have tried using vfs_full_audit but it works well into shares 
> definitions.
> 
> I don't care if the user access a shared directory, I just need to 
> record user login and logoff.

This will be much easier once the auth logging patch, which I'm working
on right now with Gary Lockyer lands.  

It will be in Samba 4.7.

User log-off is harder to log, but user logon will be well tracked. 

Thanks,

Andrew Bartlett




More information about the samba mailing list