diff --git a/public_html/includes/addons/LSaddons.samba.php b/public_html/includes/addons/LSaddons.samba.php
index c43510c4..f198214e 100644
--- a/public_html/includes/addons/LSaddons.samba.php
+++ b/public_html/includes/addons/LSaddons.samba.php
@@ -48,6 +48,11 @@ LSerror :: defineError('SAMBA_04',
_("SAMBA Support : The %{attr} of the sambaDomain object is incorrect.")
);
+// CONSTANTES
+
+// Le temps infini au sens NT
+define('LS_SAMBA_INFINITY_TIME',2147483647);
+
/**
* Verification du support Samba par ldapSaisie
*
@@ -287,4 +292,17 @@ LSerror :: defineError('SAMBA_04',
}
}
+ /**
+ * Retourne le temps infini au sens NT
+ *
+ * @author Benjamin Renard
+ *
+ * @param[in] $ldapObject L'objet ldap
+ *
+ * @retval integer le temps infinie au sens NT
+ */
+ function return_sambaInfinityTime($ldapObject) {
+ return LS_SAMBA_INFINITY_TIME;
+ }
+
?>