LDAP-UX Client Services B.04.15 Administrator's Guide
6.5.4.1 A Sample RFC3712.xml File
A sample rfc3712.xml file below defines two attribute types, printer-name and
printer-aliases, followed by one object class, printerLPR, as specified in RFC3712:
Line 1: <?xml
version="1.0" encoding="UTF-8"?> Line 2: <!DOCTYPE schemaDefinition
SYSTEM "/etc/opt/ldapux/schema/schema.dtd"> Line 3: LINE 4: <schemaDefinition>
Line 5: Line 6: <schemaName>rfc3712</schemaName> Line 7:
<schemaDescription>Printer Services Schema</schemaDescription>
Line 8: <schemaSource>RFC3712</schemaSource> Line 9: Line 10:
<attributeTypeDefinition> LINe 11: <oid>1.3.18.0.2.4.1135</oid>
Line 12: <name>printer-name</name> Line 13: <desc>A
site-specific administrative name of this printer</desc> Line 14:
<equality>caseIgnoreMatch</equality> Line 15: <substr>caseIgnoreSubstringsMatch</substr>
Line 16: <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
Line 17: <length>127<length> LIne 18: <singleValued/>
Line 19: </attributeTypeDefinition> Line 20: Line 21: <attributeTypeDefinition>
LINe 22: <oid>1.3.18.0.2.4.1108</oid> Line 23: <name>printer-aliases</name>
Line 24: <desc>Names in addition to the printer-name</desc>
Line 25: <equality>caseIgnoreMatch</equality> Line 26:
<substr>caseIgnoreSubstringsMatch</substr> Line 27:
<syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax> Line 28:
<length>127<length> Line 29: </attributeTypeDefinition>
Line 30: inee 31: <objectClassDefinition> LINe 32: <oid>1.3.18.0.2.6.253</oid>
Line 33: <name>printerLPR</name> Line 34: <desc>LPR
information</desc> Line 35: <type>AUXILIARY</type>
Line 36: <must>printer-name</must> Line 37: <may>printer-aliases</may>
Line 38: </objectClassDefinition> Line 39: Line 40: </schemaDefinition>
NOTE: Line 1–2 are required in every schema definition file. Attribute type and object class
definitions closely follow the format specified in RFC 2252. Values specified for all XML tags
except the <dsSpecific> tag must not be quoted. Only the description field (enclosed by
<desc>...</desc> tags) can contain spaces.
210 Command and Tool Reference