2022-03-08 19:42:28 +01:00
|
|
|
<?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">
|
2022-06-24 19:00:16 +02:00
|
|
|
<variable name="password_" description="Remote password" auto_save="False" hidden="True" type="password" mandatory="True" provider="client_password"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<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>
|
2022-06-24 19:00:16 +02:00
|
|
|
<param name="hide" type="variable">hide_secret</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<target>accounts.remote_.password_</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|
|
|
|
|