hsm.schema
changeset 50 882fec08957c
parent 49 d8b5f709a2a7
equal deleted inserted replaced
49:d8b5f709a2a7 50:882fec08957c
     1 # $Id$
       
     2 # $URL$
       
     3 # © Heiko Schlittermann
       
     4 #
       
     5 # 1.3.6.1.4.1.23297		schlittermann OID
       
     6 # ...
       
     7 # 1.3.6.1.4.1.23297.10.		other
       
     8 # 1.3.6.1.4.1.23297.10.1	- Hochschule Merseburg
       
     9 
       
    10 objectIdentifier schlittermannRoot 1.3.6.1.4.1.23297
       
    11 objectIdentifier hsmRoot schlittermannRoot:10.1
       
    12 objectIdentifier hsmAttribute hsmRoot:1
       
    13 objectIdentifier hsmObjectClass hsmRoot:2
       
    14 
       
    15 attributetype ( hsmAttribute:1 NAME 'hsmDateOfBirth' DESC 'Date of birth'
       
    16     EQUALITY generalizedTimeMatch
       
    17     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
       
    18     SINGLE-VALUE )
       
    19 
       
    20 attributetype ( hsmAttribute:2 NAME 'hsmPlaceOfBirth' DESC 'Place of birth'
       
    21     EQUALITY caseExactMatch
       
    22     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
       
    23     SINGLE-VALUE )
       
    24 
       
    25 attributetype (
       
    26     hsmAttribute:3 NAME 'hsmGender' DESC 'Gender'
       
    27     EQUALITY caseIgnoreMatch
       
    28     SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
       
    29     SINGLE-VALUE )
       
    30 
       
    31 attributetype (
       
    32     hsmAttribute:4 NAME 'hsmInitialPassword' DESC 'initial Password'
       
    33     EQUALITY octetStringMatch 
       
    34     SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} 
       
    35     SINGLE-VALUE )
       
    36 
       
    37 attributetype (
       
    38     hsmAttribute:5 NAME 'hsmDateOfCreation' DESC 'Date of Creation'
       
    39     EQUALITY generalizedTimeMatch
       
    40     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
       
    41     SINGLE-VALUE )
       
    42 
       
    43 attributetype (
       
    44     hsmAttribute:6 NAME 'hsmDateOfDeletion' DESC 'Date of deletion'
       
    45     EQUALITY generalizedTimeMatch
       
    46     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
       
    47     SINGLE-VALUE )
       
    48 
       
    49 attributetype (
       
    50     hsmAttribute:7 NAME 'hsmDateOfExpiration' DESC 'supposed date of expiration'
       
    51     EQUALITY generalizedTimeMatch
       
    52     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
       
    53     SINGLE-VALUE )
       
    54 
       
    55 attributetype (
       
    56     hsmAttribute:8 NAME 'hsmMailRejectText' DESC 'text for mail rejection'
       
    57     SUP info )
       
    58 
       
    59 attributetype (
       
    60     hsmAttribute:9 NAME 'hsmMailPrimaryAddress' DESC 'primary mail address'
       
    61     SUP mail
       
    62     SINGLE-VALUE )
       
    63 
       
    64 attributetype (
       
    65     hsmAttribute:10 NAME 'hsmNID' DESC 'employee / student / guest number'
       
    66     EQUALITY caseIgnoreMatch
       
    67     SUBSTR caseIgnoreSubstringsMatch
       
    68     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
       
    69 
       
    70 attributetype (
       
    71     hsmAttribute:11 NAME 'hsmMailHost' DESC 'SMTP/MTA for that recipient'
       
    72     EQUALITY caseIgnoreIA5Match
       
    73     SUBSTR caseIgnoreIA5SubstringsMatch
       
    74     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
       
    75     SINGLE-VALUE )
       
    76 
       
    77 attributetype (
       
    78     hsmAttribute:12 NAME 'hsmMailForwardingAddress' DESC 'forwarding information for this recipient'
       
    79     EQUALITY caseIgnoreIA5Match
       
    80     SUBSTR caseIgnoreIA5SubstringsMatch
       
    81     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
       
    82     SINGLE-VALUE )
       
    83 
       
    84 attributetype (
       
    85     hsmAttribute:13 NAME 'hsmMailMember' DESC 'member of an alias entry'
       
    86     EQUALITY caseIgnoreIA5Match
       
    87     SUBSTR caseIgnoreIA5SubstringsMatch
       
    88     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
       
    89 
       
    90 attributetype (
       
    91     hsmAttribute:14 NAME 'hsmMailGroupMember' DESC 'member of a mail group'
       
    92     EQUALITY caseIgnoreIA5Match
       
    93     SUBSTR caseIgnoreIA5SubstringsMatch
       
    94     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
       
    95 
       
    96 ####
       
    97 
       
    98 objectclass (
       
    99     hsmObjectClass:1  NAME 'hsmNaturalPerson' DESC 'natural person representation'
       
   100     SUP top
       
   101     AUXILIARY
       
   102     MAY ( hsmInitialPassword 
       
   103 	$ hsmGender
       
   104 	$ hsmNID
       
   105 	$ hsmDateOfBirth $ hsmPlaceOfBirth 
       
   106 	$ hsmDateOfCreation $ hsmDateOfDeletion $ hsmDateOfExpiration 
       
   107 	$ description ) )
       
   108 
       
   109 objectClass (
       
   110     hsmObjectClass:2 NAME 'hsmMailReject' DESC 'mail reject cause'
       
   111     SUP top
       
   112     STRUCTURAL
       
   113     MUST ( rfc822MailBox $ hsmDateOfCreation $ hsmDateOfDeletion $ hsmDateOfExpiration $ hsmMailRejectText $ description ) )
       
   114 
       
   115 objectClass (
       
   116     hsmObjectClass:3 NAME 'hsmMailRecipient' DESC 'mail attributes associated to person'
       
   117     SUP top
       
   118     AUXILIARY
       
   119     MAY ( hsmMailPrimaryAddress $ mail $ hsmMailHost $ hsmMailGroupMember $ hsmMailForwardingAddress $ description ) )
       
   120 
       
   121 objectClass (
       
   122     hsmObjectClass:4 NAME 'hsmMailAlias' DESC 'alias for email recipient'
       
   123     SUP top
       
   124     STRUCTURAL
       
   125     MUST ( mail )
       
   126     MAY ( hsmMailMember $ hsmMailHost $ hsmDateOfCreation $ hsmDateOfDeletion $ hsmDateOfExpiration $ description) )
       
   127 
       
   128 # vim:sts=4 sw=4 aw ai sm: