mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
LSaddons::samba : Added function generate_sambaPwdLastSet()
This commit is contained in:
parent
3308ca3336
commit
566eab9390
1 changed files with 13 additions and 0 deletions
|
@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue