1 # Definitions for a schema to store CUPS printer information in LDAP
2 # OID Base is iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) me(5323) cupsSchema(22)
4 # Syntaxes are under 1.3.6.1.4.1.5323.22.0
5 # Attributes are under 1.3.6.1.4.1.5323.22.1
6 # Object Classes are under 1.3.6.1.4.1.5323.22.2
8 attributetype ( 1.3.6.1.4.1.5323.22.1.1
9 NAME 'printerDescription'
10 DESC 'Description of Printer'
11 EQUALITY caseExactIA5Match
13 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
15 attributetype ( 1.3.6.1.4.1.5323.22.1.2
17 DESC 'CUPS style URI for printer'
18 EQUALITY caseExactIA5Match
20 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
22 attributetype ( 1.3.6.1.4.1.5323.22.1.3
23 NAME 'printerLocation'
24 DESC 'Identifier string for Printer Location'
25 EQUALITY caseExactIA5Match
27 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
29 attributetype ( 1.3.6.1.4.1.5323.22.1.4
30 NAME 'printerMakeAndModel'
31 DESC 'String CUPS uses to figure out driver'
32 EQUALITY caseExactIA5Match
34 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
36 attributetype ( 1.3.6.1.4.1.5323.22.1.5
38 DESC 'Integer CUPS uses to figure out type'
41 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
43 objectclass ( 1.3.6.1.4.1.5323.22.2.1
47 MUST ( printerDescription $ printerURI $ printerLocation $ printerMakeAndModel $ printerType ) )