LSaddons::samba : Added function generate_sambaPwdLastSet()

This commit is contained in:
Benjamin Renard 2010-02-16 17:48:45 +01:00
parent 3308ca3336
commit 566eab9390

View file

@ -305,4 +305,17 @@ define('LS_SAMBA_INFINITY_TIME',2147483647);
return LS_SAMBA_INFINITY_TIME; return LS_SAMBA_INFINITY_TIME;
} }
/**
* Generation de l'attribut sambaPwdLastSet
*
* @author Benjamin Renard <brenard@easter-eggs.com>
*
* @param[in] $ldapObject L'objet ldap
*
* @retval string sambaPwdLastSet
*/
function generate_sambaPwdLastSet($ldapObject) {
return time();
}
?> ?>