dataset/seed/applicationservice/2022.03.08/server/extras/accounts/00_accounts.xml
2022-03-08 19:42:28 +01:00

20 lines
925 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<variable name="remotes" description="Remote clients needing an account" type="domainname" multi="True" provider="clients"/>
<family name="remote_" description="Account for " dynamic="accounts.remotes">
<variable name="password_" description="Remote password" auto_save="True" hidden="True" type="password" mandatory="True" provider="client_password"/>
<variable name="remote_ip_" description="Remote IP" type="ip" hidden="True" provider="client_ip"/>
</family>
</variables>
<constraints>
<fill name="get_password">
<param name="server_name" type="variable">domain_name_eth0</param>
<param name="username" type="suffix"/>
<param name="description">remote</param>
<param name="type">cleartext</param>
<target>accounts.remote_.password_</target>
</fill>
</constraints>
</rougail>