LSaddons::samba : Added function generate_sambaPwdLastSet()
authorbn8 <bn8@zionetrix.net>
Tue, 16 Feb 2010 16:48:45 +0000 (17:48 +0100)
committerbn8 <bn8@zionetrix.net>
Tue, 16 Feb 2010 16:48:45 +0000 (17:48 +0100)
public_html/includes/addons/LSaddons.samba.php

index f198214..273dcd5 100644 (file)
@@ -305,4 +305,17 @@ define('LS_SAMBA_INFINITY_TIME',2147483647);
     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();
+  }
+
 ?>