smbldap-useraccess
Brought to you by:
jtournier
I've wrote down a little scriopt that use smbldap-tools perl library to update the access (logon and logoff) timestamps in LDAP.
Samba by default does not update these fields (to prevent chocking the LDAP server on large installation, they say), but at least in italy this information are needed to handle account expiration.
I use this with a root preexec on a share, eg the [netlogon].
script that update access (logon/logoff) time