home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / cups / examples / printer.schema < prev    next >
Encoding:
Text File  |  2009-06-18  |  1.2 KB  |  41 lines

  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. objectclass ( 1.3.6.1.4.1.5323.22.2.1
  37.     NAME 'cupsPrinter'
  38.     SUP top
  39.     AUXILIARY
  40.     MUST ( printerDescription $ printerURI $ printerLocation $ printerMakeAndModel) )
  41.