Prochaine révision | Révision précédente |
informatique:reseau:ldap:ldapsaisie:samba [2013/07/10 16:50] – créée bn8 | informatique:reseau:ldap:ldapsaisie:samba [2013/07/10 17:07] (Version actuelle) – bn8 |
---|
====== LdapSaisie : Samba ====== | ====== LdapSaisie : Samba ====== |
| |
| ===== Attributs utilisateurs ===== |
| |
<code> | <code> |
'sambaLogoffTime' => array ( | 'sambaLogoffTime' => array ( |
'label' => "Date of last logout", | 'label' => "Date of last logout", |
| 'ldap_type' => 'date', |
| 'html_type' => 'date', |
| 'ldap_options' => array( |
| 'timestamp' => 1 |
| ), |
| 'view' => 1, |
| 'html_options' => array( |
| 'firstDayOfWeek' => 1, |
| 'format' => '%Y/%m/%d, %T' |
| ), |
| 'rights' => array( |
| 'self' => 'r', |
| 'admin' => 'w', |
| ) |
| ), |
| /* ----------- end -----------*/ |
| |
| /* ----------- start -----------*/ |
| 'sambaLogonTime' => array ( |
| 'label' => "Date of last login", |
'ldap_type' => 'date', | 'ldap_type' => 'date', |
'html_type' => 'date', | 'html_type' => 'date', |
array ( | array ( |
'msg' => "This computer doesn't exist.", | 'msg' => "This computer doesn't exist.", |
'object_type' => 'mcacomputer', | 'object_type' => 'LScomputer', |
'filter' => '(uid=%{val_}$)', | 'filter' => '(uid=%{val_}$)', |
'result' => 1 | 'result' => 1 |
'html_options' => array( | 'html_options' => array( |
'selectable_object' => array( | 'selectable_object' => array( |
'object_type' => 'mcacomputer', | 'object_type' => 'LScomputer', |
'display_name_format' => '%{displayName}', | 'display_name_format' => '%{displayName}', |
'value_attribute' => 'uid', | 'value_attribute' => 'uid', |
), | ), |
/* ----------- end -----------*/ | /* ----------- end -----------*/ |
| |
| /* ----------- start -----------*/ |
| 'sambaPwdCanChange' => array ( |
| 'label' => 'User can change his password', |
| 'ldap_type' => 'boolean', |
| 'html_type' => 'boolean', |
| 'ldap_options' => array ( |
| 'true_value' => '1', |
| 'false_value' => '0' |
| ), |
| 'html_type' => 'boolean', |
| 'default_value' => 'yes', |
| 'required' => 1, |
| 'generate_function' => 'generate_sambaPrimaryGroupSID', |
| 'rights' => array( |
| 'admin' => 'r' |
| ), |
| 'view' => 1 |
| ), |
| /* ----------- end -----------*/ |
| </code> |
| |
| ===== Fichier de traduction ===== |
| |
| A mettre dans **local/lang/fr_FR.UTF8/lang.samba.php** : |
| |
| <code> |
| <?php |
| |
| $GLOBALS['LSlang']["Account's blocking date"] = "Date de blocage du compte"; |
| $GLOBALS['LSlang']["Date of last logout"] = "Date de la dernière déconnexion"; |
| $GLOBALS['LSlang']["Date of last login"] = "Date de la dernière connexion"; |
| $GLOBALS['LSlang']["Domain group"] = "Groupe du domaine"; |
| $GLOBALS['LSlang']["Local group"] = "Groupe local"; |
| $GLOBALS['LSlang']["Logon script"] = "Script de login"; |
| $GLOBALS['LSlang']["Password Last change"] = "Dernier changement du mot de passe"; |
| $GLOBALS['LSlang']["Password change date"] = "Prochain changement obligatoire du mot de passe"; |
| $GLOBALS['LSlang']["Samba"] = "Samba"; |
| $GLOBALS['LSlang']["Samba - Primary Group"] = "Samba - Groupe primaire"; |
| $GLOBALS['LSlang']["Samba Domain"] = "Domaine Samba"; |
| $GLOBALS['LSlang']["Samba Identifier"] = "Identifiant Samba"; |
| $GLOBALS['LSlang']["Samba Password (LM)"] = "Mot de passe Samba (LM)"; |
| $GLOBALS['LSlang']["Samba Password (NT)"] = "Mot de passe Samba (NT)"; |
| $GLOBALS['LSlang']["Samba account flags"] = "Drapeau de compte Samba"; |
| $GLOBALS['LSlang']["Samba group type"] = "Type de groupe samba"; |
| $GLOBALS['LSlang']["Samba home path"] = "Chemin du home Samba"; |
| $GLOBALS['LSlang']["Samba identifier"] = "Identifiant Samba"; |
| $GLOBALS['LSlang']["Samba profile path"] = "Chemin du profile Samba"; |
| $GLOBALS['LSlang']["The last change date of the user's password."] = "La date du dernier changement de mot de passe de l'utilisateur."; |
| $GLOBALS['LSlang']["This computer doesn't exist."] = "Cet ordinateur n'existe pas."; |
| $GLOBALS['LSlang']["When the user account was blocked."] = "Date à laquelle le compte d'utilisateur sera bloqué."; |
| $GLOBALS['LSlang']["When the user must change his password connecting to the Samba domain."] = "Date à laquelle l'utilisateur devra changer son mot de passe en se connectant au domaine Samba."; |
| $GLOBALS['LSlang']["Work Station"] = "Machine de travail"; |
| $GLOBALS['LSlang']["User can change his password"] = "L'utilisateur peut changé son mot de passe"; |
</code> | </code> |