mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +01:00
LSaddons::Samba : Added the LS_SAMBA_INFINITY_TIME constante and the return_sambaInfinityTime() function.
This commit is contained in:
parent
a766150f41
commit
db86b3b535
1 changed files with 18 additions and 0 deletions
|
@ -48,6 +48,11 @@ LSerror :: defineError('SAMBA_04',
|
||||||
_("SAMBA Support : The %{attr} of the sambaDomain object is incorrect.")
|
_("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
|
* Verification du support Samba par ldapSaisie
|
||||||
*
|
*
|
||||||
|
@ -287,4 +292,17 @@ LSerror :: defineError('SAMBA_04',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retourne le temps infini au sens NT
|
||||||
|
*
|
||||||
|
* @author Benjamin Renard <brenard@easter-eggs.com>
|
||||||
|
*
|
||||||
|
* @param[in] $ldapObject L'objet ldap
|
||||||
|
*
|
||||||
|
* @retval integer le temps infinie au sens NT
|
||||||
|
*/
|
||||||
|
function return_sambaInfinityTime($ldapObject) {
|
||||||
|
return LS_SAMBA_INFINITY_TIME;
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue