<Preset><V col="ckey" val="VoucherIDChars"/><V col="cval" val="10"/></Preset>
</Table>
- <!-- // ////////////////////
- // Machine Interface Stuff
- -->
- <Table name="host" backup="yes">
- <Column name="hostname" type="string:64" primarykey="yes"/>
- <!-- if hostkey is NULL it is a special host (_any, _anon, _online) -->
- <Column name="hostkey" type="string" />
-
- <Preset><V col="hostname" code='translate("SpecialHost","_any")'/></Preset>
- <Preset><V col="hostname" code='translate("SpecialHost","_anon")'/></Preset>
- <Preset><V col="hostname" code='translate("SpecialHost","_online")'/></Preset>
- </Table>
-
- <Table name="users" backup="yes">
- <Column name="uname" type="string:64" primarykey="yes"/>
- <Column name="passwd" type="string" notnull="yes"/>
- <!-- more detailed data that can be displayed to admins -->
- <Column name="description" type="text"/>
- </Table>
-
- <Table name="userrole" backup="yes">
- <Column name="uname" type="string:64" notnull="yes" foreignkey="users:uname" index="yes" primarykey="yes"/>
- <Column name="role" type="string:32" notnull="yes" primarykey="yes"/>
- </Table>
-
- <Table name="userhosts" backup="yes">
- <Column name="uname" type="string:64" notnull="yes" foreignkey="users:uname" index="yes" primarykey="yes"/>
- <Column name="host" type="string:64" notnull="yes" foreignkey="host:hostname" primarykey="yes"/>
- </Table>
-
- <Table name="session">
- <Column name="sessionid" type="string:64" primarykey="yes"/>
- <!-- if empty: not authenticated -->
- <Column name="user" type="string:64"/>
- <!-- used during authentication; emptied after authentication: -->
- <Column name="hchallenge" type="string:64"/>
- <Column name="uchallenge" type="string:64"/>
- <!-- unix timestamp at which to delete this session -->
- <Column name="timeout" type="int64" notnull="yes"/>
- </Table>
<Table name="template" backup="yes">
<Column name="filename" type="string" primarykey="yes"/>
- see COPYING.AGPL for details
-->
<Wolf>
+ <Table name="host" backup="yes">
+ <Column name="hostname" type="string:64" primarykey="yes"/>
+ <!-- if hostkey is NULL it is a special host (_any, _anon, _online) -->
+ <Column name="hostkey" type="string" />
+
+ <Preset><V col="hostname" code='translate("SpecialHost","_any")'/></Preset>
+ <Preset><V col="hostname" code='translate("SpecialHost","_anon")'/></Preset>
+ <Preset><V col="hostname" code='translate("SpecialHost","_online")'/></Preset>
+ </Table>
+
+ <Table name="users" backup="yes">
+ <Column name="uname" type="string:64" primarykey="yes"/>
+ <Column name="passwd" type="string" notnull="yes"/>
+ <!-- more detailed data that can be displayed to admins -->
+ <Column name="description" type="text"/>
+ </Table>
+
+ <Table name="userrole" backup="yes">
+ <Column name="uname" type="string:64" notnull="yes" foreignkey="users:uname" index="yes" primarykey="yes"/>
+ <Column name="role" type="string:32" notnull="yes" primarykey="yes"/>
+ </Table>
+
+ <Table name="userhosts" backup="yes">
+ <Column name="uname" type="string:64" notnull="yes" foreignkey="users:uname" index="yes" primarykey="yes"/>
+ <Column name="host" type="string:64" notnull="yes" foreignkey="host:hostname" primarykey="yes"/>
+ </Table>
+
+ <Table name="session">
+ <Column name="sessionid" type="string:64" primarykey="yes"/>
+ <!-- if empty: not authenticated -->
+ <Column name="user" type="string:64"/>
+ <!-- used during authentication; emptied after authentication: -->
+ <Column name="hchallenge" type="string:64"/>
+ <Column name="uchallenge" type="string:64"/>
+ <!-- unix timestamp at which to delete this session -->
+ <Column name="timeout" type="int64" notnull="yes"/>
+ </Table>
+
<Class name="User">
<Property name="name" column="uname" type="astring"/>
<Property name="password" column="passwd" type="string"/>
<Property name="description" type="string"/>
-
</Class>
</Wolf>
\ No newline at end of file