[Samba] Record the user log-in and log-out

Marcello Romani mromani at ottotecnica.com
Tue Sep 21 09:07:49 MDT 2010


Il 21/09/2010 15:44, Giovanni Cambria ha scritto:
> Hi!
>
> I'm sorry but I need a *fast* reply, I've absolutely no time to search
> on docs. :-(
>
> I have a small network: about 8-10 XP client connected to a Samba PDC.
> I need to log who and when log in the PDC, because the national law
> requires to record these infos and preserve them for a certain time.
>
> Any tip will be apreciated!!
>
> Thanks
> Giovanni
>
>
>
>
> No virus found in outgoing mail. Nessun virus nel messaggio in uscita.
> Controllato da AVG - www.avg.com
> Versione: 9.0.856 / Database dei virus: 271.1.1/3149 -  Data di rilascio: 09/21/10 08:34:00
>

If you really need a fast response, I guess you should look for paid 
support, especially for the problem you're having (I'm italian too as 
you may have guessed).
That said, have look a vfs_audit. I have played with it myself. It logs 
a lot of information, but IIRC you can tune which events get logged.

HTH

PS: the problem with admin logs is that you have to guarantee they can't 
be altered, so logging logins/logouts in a text file is definitely 
insufficient for law compliance.

-- 
Marcello Romani


More information about the samba mailing list