Code sync
[external/cups.git] / debian / printer.schema
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)
3
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
7
8 attributetype ( 1.3.6.1.4.1.5323.22.1.1
9         NAME 'printerDescription'
10         DESC 'Description of Printer'
11         EQUALITY caseExactIA5Match
12         SINGLE-VALUE
13         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
14
15 attributetype ( 1.3.6.1.4.1.5323.22.1.2
16         NAME 'printerURI'
17         DESC 'CUPS style URI for printer'
18         EQUALITY caseExactIA5Match
19         SINGLE-VALUE
20         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
21
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
26         SINGLE-VALUE
27         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
28
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
33         SINGLE-VALUE
34         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
35
36 attributetype ( 1.3.6.1.4.1.5323.22.1.5
37         NAME 'printerType'
38         DESC 'Integer CUPS uses to figure out type'
39         EQUALITY integerMatch
40         SINGLE-VALUE
41         SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
42
43 objectclass ( 1.3.6.1.4.1.5323.22.2.1
44     NAME 'cupsPrinter'
45         SUP top
46         AUXILIARY
47         MUST ( printerDescription $ printerURI $ printerLocation $ printerMakeAndModel $ printerType ) )