From 566eab9390854036704355453b8cac668c0e360a Mon Sep 17 00:00:00 2001 From: bn8 Date: Tue, 16 Feb 2010 17:48:45 +0100 Subject: [PATCH] LSaddons::samba : Added function generate_sambaPwdLastSet() --- public_html/includes/addons/LSaddons.samba.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/public_html/includes/addons/LSaddons.samba.php b/public_html/includes/addons/LSaddons.samba.php index f198214e..273dcd5b 100644 --- a/public_html/includes/addons/LSaddons.samba.php +++ b/public_html/includes/addons/LSaddons.samba.php @@ -305,4 +305,17 @@ define('LS_SAMBA_INFINITY_TIME',2147483647); return LS_SAMBA_INFINITY_TIME; } + /** + * Generation de l'attribut sambaPwdLastSet + * + * @author Benjamin Renard + * + * @param[in] $ldapObject L'objet ldap + * + * @retval string sambaPwdLastSet + */ + function generate_sambaPwdLastSet($ldapObject) { + return time(); + } + ?>