2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version= "0.10" >
<variables >
2023-08-10 10:15:12 +02:00
<variable name= "remotes" description= "Remote services with an account" type= "domainname" multi= "True" provider= "LDAP" />
<family name= "remote_" dynamic= "accounts.remotes" hidden= "True" >
<variable name= "family_" provider= "LDAP:family" />
<variable name= "dn_" provider= "LDAP:dn" />
<variable name= "password_" type= "password" provider= "LDAP:password" />
<variable name= "base_dn_" provider= "LDAP:base_dn" />
2022-04-28 21:48:16 +02:00
</family>
2023-08-10 10:15:12 +02:00
<family name= "users" description= "Users management" leadership= "True" help= "Management of manually created local users. Those users are not classified." >
<variable name= 'ldap_user_mail' type= "mail" description= "Email address" multi= "True" test= "johndoe@example.net" help= "An user is identify by his email address." />
<variable name= 'ldap_user_aliases' type= "mail" description= "Emails aliases" multi= "True" test= "jdoe@example.net" />
<variable name= 'ldap_user_uid' type= "unix_user" description= "Account name" mandatory= "True" test= "jdoe" />
<variable name= 'ldap_user_gn' type= "string" description= "Given Name" mandatory= "True" test= "John" />
<variable name= 'ldap_user_sn' type= "string" description= "Surname" mandatory= "True" test= "Doe" />
<variable name= 'ldap_user_password' type= "password" mandatory= "True" hidden= "True" />
2022-03-08 19:42:28 +01:00
</family>
2023-08-10 10:15:12 +02:00
<variable name= "families" description= "Families to create" type= "unix_user" multi= "True" help= "Users can be classified into families. This variable contains all the names of the families to be created." />
<family name= "family_" description= "Management of family " dynamic= "accounts.families" help= "Management of manually created users. Those users an classified in a family." >
2022-06-24 19:00:16 +02:00
<family name= "users_" description= "Gestion des utilisateurs de la famille " leadership= "True" >
<variable name= 'ldap_user_mail_' type= "mail" description= "Adresse courriel du compte de la famille " multi= "True" />
<variable name= 'ldap_user_aliases_' type= "mail" description= "Aliases du mail de la famille " multi= "True" />
<variable name= 'ldap_user_uid_' type= "unix_user" description= "Nom de compte de la famille " mandatory= "True" />
<variable name= 'ldap_user_sn_' type= "string" description= "Prénom de la famille " mandatory= "True" />
<variable name= 'ldap_user_gn_' type= "string" description= "Nom de famille de la famille " mandatory= "True" />
<variable name= 'ldap_user_password_' type= "password" description= "Mot de passe de la famille " mandatory= "True" hidden= "True" />
2022-04-28 21:48:16 +02:00
</family>
2022-03-08 19:42:28 +01:00
</family>
</variables>
<constraints >
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" type= 'variable' > accounts.users.ldap_user_mail</param>
<param name= "description" > ldap user</param>
<param name= "type" > cleartext</param>
2022-06-24 19:00:16 +02:00
<param name= "hide" type= "variable" > hide_secret</param>
2022-03-08 19:42:28 +01:00
<param name= "temporary" type= "boolean" > True</param>
<target > accounts.users.ldap_user_password</target>
</fill>
2022-04-28 21:48:16 +02:00
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" type= 'variable' > accounts.family_.users_.ldap_user_mail_</param>
<param name= "description" > ldap family user</param>
<param name= "type" > cleartext</param>
2022-06-24 19:00:16 +02:00
<param name= "hide" type= "variable" > hide_secret</param>
2022-04-28 21:48:16 +02:00
<param name= "temporary" type= "boolean" > True</param>
<target > accounts.family_.users_.ldap_user_password_</target>
</fill>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>