[Samba] Samba Logon Time and Logoff Time...

Matt Anderson sokkerstud_11 at hotmail.com
Tue Aug 28 00:32:46 GMT 2007


Dear Help,

I am currently running Samba as a PDC (and several BDCs).  I noticed that 
there are sambaLogonTime and sambaLogoffTime LDAP attributes that are 
currently unused integer values.

I would like to be able to track each user's successful logins (in terms of a
timestamp -- a hostname would be a bonus) for auditing purposes (especially for
determining inactive logins).  Currently, I've put together a script that
searches through all of the log files for successful authentications and parses
out the timestamp and hostname and then figures out if it's the most recent 
or not.

Is there an easier way of doing this? (Or, does anyone know of any plans to
start using sambaLogonTime and sambaLogoffTime for this purpose?)

Thanks!

-Matt



More information about the samba mailing list