File: printer.schema

package info (click to toggle)
cupsys 1.2.7-4%2Betch9
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,436 kB
  • ctags: 10,404
  • sloc: ansic: 97,130; cpp: 49,167; java: 6,199; sh: 4,723; makefile: 1,918; lisp: 232; perl: 145; python: 119; php: 28
file content (40 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Definitions for a schema to store CUPS printer information in LDAP
# OID Base is iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) me(5323) cupsSchema(22)

# Syntaxes are under 1.3.6.1.4.1.5323.22.0
# Attributes are under 1.3.6.1.4.1.5323.22.1
# Object Classes are under 1.3.6.1.4.1.5323.22.2

attributetype ( 1.3.6.1.4.1.5323.22.1.1
	NAME 'printerDescription'
	DESC 'Description of Printer'
	EQUALITY caseExactIA5Match
	SINGLE-VALUE
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.5323.22.1.2
	NAME 'printerURI'
	DESC 'CUPS style URI for printer'
	EQUALITY caseExactIA5Match
	SINGLE-VALUE
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.5323.22.1.3
	NAME 'printerLocation'
	DESC 'Identifier string for Printer Location'
	EQUALITY caseExactIA5Match
	SINGLE-VALUE
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.5323.22.1.4
	NAME 'printerMakeAndModel'
	DESC 'String CUPS uses to figure out driver'
	EQUALITY caseExactIA5Match
	SINGLE-VALUE
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

objectclass ( 1.3.6.1.4.1.5323.22.2.1
    NAME 'cupsPrinter'
	SUP top
	AUXILIARY
	MUST ( printerDescription $ printerURI $ printerLocation $ printerMakeAndModel) )