##
## cyrus-fd.schema - Needed by Fusion Directory for managing cyrus servers
##

# attributes

attributetype ( 1.3.6.1.4.1.38414.14.1.2 NAME 'fdCyrusConnect'
  DESC 'FusionDirectory - PHP connect string for Cyrus server'
  EQUALITY caseExactIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.38414.14.1.3 NAME 'fdCyrusAdmin'
  DESC 'FusionDirectory - Cyrus admin account'
  EQUALITY caseExactIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.38414.14.1.4 NAME 'fdCyrusPassword'
  DESC 'FusionDirectory - Cyrus admin password'
  EQUALITY caseExactIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.38414.14.1.5 NAME 'fdCyrusSieveServer'
  DESC 'FusionDirectory - Cyrus sieve server address or name'
  EQUALITY caseExactIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  SINGLE-VALUE)

# cyrus imapd access control list acls work with users and groups
attributetype ( 1.3.6.1.4.1.38414.14.1.6 NAME 'fdCyrusAcl'
  DESC 'FusionDirectory - Cyrus acl for folders'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

# Objectclasses
objectclass (1.3.6.1.4.1.38414.14.2.1 NAME 'fdCyrusServer' SUP top AUXILIARY
  DESC 'FusionDirectory - Cyrus server description'
  MUST ( cn $ fdCyrusConnect $ fdCyrusAdmin $ fdCyrusPassword )
  MAY  ( fdCyrusSieveServer ))
