2019-12-08 01:42:33 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-12-10 07:00:13 -05:00
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
|
elementFormDefault="qualified"
|
2019-12-09 07:16:33 -05:00
|
|
|
attributeFormDefault="unqualified">
|
|
|
|
|
2019-12-09 08:29:38 -05:00
|
|
|
<xs:include schemaLocation="./linux.xsd"/>
|
|
|
|
<xs:include schemaLocation="./std.xsd"/>
|
|
|
|
<xs:include schemaLocation="./unix.xsd"/>
|
2019-12-08 01:42:33 -05:00
|
|
|
|
2019-12-10 07:00:13 -05:00
|
|
|
<xs:simpleType name="t_bsd_passwd_hashtypes">
|
|
|
|
<xs:union memberTypes="t_linux_passwd_hashtypes">
|
2019-12-08 01:42:33 -05:00
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction>
|
|
|
|
<!-- <xs:enumeration value="des"/> -->
|
|
|
|
<!-- bcrypt/blowfish are the same. -->
|
|
|
|
<xs:enumeration value="bcrypt"/>
|
|
|
|
<xs:enumeration value="blowfish"/>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:union>
|
|
|
|
</xs:simpleType>
|
|
|
|
|
2019-12-10 07:00:13 -05:00
|
|
|
<xs:simpleType name="t_bsd_shadowhash">
|
|
|
|
<xs:union memberTypes="t_linux_shadowhash">
|
2019-12-08 01:42:33 -05:00
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction>
|
|
|
|
<!-- Blowfish/bcrypt -->
|
2019-12-10 07:00:13 -05:00
|
|
|
<xs:pattern value="\s*($2[abxy]?)?($[0-9]+)$[a-zA-Z0-9./]{53}\s*"/>
|
2019-12-08 01:42:33 -05:00
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:union>
|
|
|
|
</xs:simpleType>
|
|
|
|
|
|
|
|
</xs:schema>
|