LSaddon :: Samba : Added generate_sambaHomePath() function
[ldapsaisie.git] / public_html / includes / addons / LSaddons.samba.php
index 630c9cb..9fac794 100644 (file)
@@ -330,4 +330,15 @@ define('LS_SAMBA_INFINITY_TIME',2147483647);
     return LS_SAMBA_DOMAIN_NAME;
   }
 
+ /**
+  * Generation du sambaHomePath
+  *
+  * @author Benjamin Renard <brenard@easter-eggs.com>
+  *
+  * @retval string Le sambaHomePath
+  */
+  function generate_sambaHomePath($ldapObject) {
+    return $ldapObject -> getFData(LS_SAMBA_HOME_PATH_FORMAT);
+  }
+
 ?>