hsm.schema
changeset 5 aa15f1d11236
parent 4 737b708e19e4
child 6 7ab3fda40907
equal deleted inserted replaced
4:737b708e19e4 5:aa15f1d11236
    32     hsmAttribute:4 NAME 'hsmInitialPassword' DESC 'initial Password'
    32     hsmAttribute:4 NAME 'hsmInitialPassword' DESC 'initial Password'
    33     SUP userPassword
    33     SUP userPassword
    34     SINGLE-VALUE )
    34     SINGLE-VALUE )
    35 
    35 
    36 attributetype (
    36 attributetype (
    37     hsmAttribute:5 NAME 'hsmDateCreated' DESC 'Date of Creation'
    37     hsmAttribute:5 NAME 'hsmDateOfCreation' DESC 'Date of Creation'
    38     EQUALITY generalizedTimeMatch
    38     EQUALITY generalizedTimeMatch
    39     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
    39     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
    40     SINGLE-VALUE )
    40     SINGLE-VALUE )
    41 
    41 
    42 attributetype (
    42 attributetype (
    43     hsmAttribute:6 NAME 'hsmDateDeleted' DESC 'Date of deletion'
    43     hsmAttribute:6 NAME 'hsmDateOfDeletion' DESC 'Date of deletion'
    44     EQUALITY generalizedTimeMatch
    44     EQUALITY generalizedTimeMatch
    45     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
    45     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
    46     SINGLE-VALUE )
    46     SINGLE-VALUE )
    47 
    47 
    48 attributetype (
    48 attributetype (
    49     hsmAttribute:7 NAME 'hsmMailRejectText' DESC 'text for mail rejection'
    49     hsmAttribute:7 NAME 'hsmDateOfExpiration' DESC 'supposed date of expiration'
       
    50     EQUALITY generalizedTimeMatch
       
    51     SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 
       
    52     SINGLE-VALUE )
       
    53 
       
    54 attributetype (
       
    55     hsmAttribute:8 NAME 'hsmMailRejectText' DESC 'text for mail rejection'
    50     SUP info )
    56     SUP info )
    51 
    57 
    52 attributetype (
    58 attributetype (
    53     hsmAttribute:8 NAME 'hsmMailPrimaryAddress' DESC 'primary mail address'
    59     hsmAttribute:9 NAME 'hsmMailPrimaryAddress' DESC 'primary mail address'
    54     SUP mail
    60     SUP mail
    55     SINGLE-VALUE )
    61     SINGLE-VALUE )
    56 
    62 
    57 attributetype (
    63 attributetype (
    58     hsmAttribute:9 NAME 'hsmMailAcceptAddress' DESC 'acceptable mail address'
    64     hsmAttribute:10 NAME 'hsmNID' DESC 'employee / student / guest number'
    59     SUP mail )
    65     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
       
    66 )
    60 
    67 
    61 
    68 
    62 ####
    69 ####
    63 
    70 
    64 objectclass (
    71 objectclass (
    65     hsmObjectClass:1  NAME 'hsmNaturalPerson' DESC 'natural person representation'
    72     hsmObjectClass:1  NAME 'hsmNaturalPerson' DESC 'natural person representation'
    66     SUP top
    73     SUP top
    67     AUXILIARY
    74     AUXILIARY
    68     MUST ( hsmGender )
    75     MUST ( hsmGender )
    69     MAY ( hsmInitialPassword 
    76     MAY ( hsmInitialPassword 
       
    77 	$ hsmNID
    70 	$ hsmDateOfBirth $ hsmPlaceOfBirth 
    78 	$ hsmDateOfBirth $ hsmPlaceOfBirth 
    71 	$ hsmDateCreated $ hsmDateDeleted ) )
    79 	$ hsmDateCreated $ hsmDateDeleted ) )
    72 
    80 
    73 objectClass (
    81 objectClass (
    74     hsmObjectClass:2 NAME 'hsmMailReject' DESC 'mail reject cause'
    82     hsmObjectClass:2 NAME 'hsmMailReject' DESC 'mail reject cause'
    76     STRUCTURAL
    84     STRUCTURAL
    77     MUST ( rfc822MailBox $ hsmDateCreated $ hsmMailRejectText ) )
    85     MUST ( rfc822MailBox $ hsmDateCreated $ hsmMailRejectText ) )
    78 
    86 
    79 
    87 
    80 objectClass (
    88 objectClass (
    81     hsmObjectClass:3 NAME 'hsmMailObject' DESC 'mail attributes associated to person'
    89     hsmObjectClass:3 NAME 'hsmMailRecipient' DESC 'mail attributes associated to person'
    82     SUP top
    90     SUP top
    83     MAY ( hsmMailPrimaryAddress $ hsmMailAcceptAddress ) )
    91     MAY ( hsmMailPrimaryAddress $ mail $ mailHost $ mailRoutingAddress ) )
    84 
    92 
    85 
    93 
    86 # vim:sts=4 sw=4 aw ai sm:
    94 # vim:sts=4 sw=4 aw ai sm: