]> git.sur5r.net Git - contagged/blob - doc/ldapab.schema
Added country to ldapab.schema. Closes #1
[contagged] / doc / ldapab.schema
1 # LDAP 2 Schema
2 #
3 # This is a schema extension for the LDAPab Addressbook by
4 # CosmoCode GmbH www.cosmocode.de
5 #
6 # CosmoCode owns the following MIB Block:
7 # iso.org.dod.internet.private.enterprise.16331.*
8 #
9 # CosmoCode currently uses the following OID hierachy to organize the IDs:
10 #
11 # defined in cosmo4ML.schema
12 # 1.3.6.1.4.1.16331.1           formel CMS (cosmo4ML prefix)
13 # 1.3.6.1.4.1.16331.1.1           SNMP (not used)
14 # 1.3.6.1.4.1.16331.1.2           LDAP
15 # 1.3.6.1.4.1.16331.1.2.1           AttributeTypes
16 # 1.3.6.1.4.1.16331.1.2.2           ObjectClasses
17 #
18 # defined in ldapab.schema:
19 # 1.3.6.1.4.1.16331.2           LDAPab
20 # 1.3.6.1.4.1.16331.2.1           SNMP (not used)
21 # 1.3.6.1.4.1.16331.2.2           LDAP
22 # 1.3.6.1.4.1.16331.2.2.1           AttributeTypes
23 # 1.3.6.1.4.1.16331.2.2.2           ObjectClasses
24
25
26 # OID macros for ease of use:
27 objectIdentifier cosmocodeOID 1.3.6.1.4.1.16331
28 objectIdentifier LDAPab       cosmocodeOID:2.2
29
30
31 attributetype ( 1.3.6.1.4.1.16331.2.2.1.1 NAME 'anniversary'
32                 DESC 'Holds Marriage dates etc.'
33                 EQUALITY caseIgnoreMatch
34                 ORDERING caseIgnoreOrderingMatch
35                 SUBSTR caseIgnoreSubstringsMatch
36                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
37                 SINGLE-VALUE )
38
39 attributetype ( 1.3.6.1.4.1.16331.2.2.1.2 NAME 'marker'
40                 DESC 'For tagging support'
41                 EQUALITY caseIgnoreMatch
42                 ORDERING caseIgnoreOrderingMatch
43                 SUBSTR caseIgnoreSubstringsMatch
44                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
45                )
46
47 attributetype ( 1.3.6.1.4.1.16331.2.2.1.3 NAME 'birthday'
48                 DESC 'Date of birth'
49                 EQUALITY caseIgnoreMatch
50                 ORDERING caseIgnoreOrderingMatch
51                 SUBSTR caseIgnoreSubstringsMatch
52                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
53                 SINGLE-VALUE )
54
55 attributetype ( 1.3.6.1.4.1.16331.2.2.1.51 NAME 'custom1'
56                 DESC 'Thunderbird compatible custom field 1'
57                 EQUALITY caseIgnoreMatch
58                 ORDERING caseIgnoreOrderingMatch
59                 SUBSTR caseIgnoreSubstringsMatch
60                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
61               )
62
63 attributetype ( 1.3.6.1.4.1.16331.2.2.1.52 NAME 'custom2'
64                 DESC 'Thunderbird compatible custom field 2'
65                 EQUALITY caseIgnoreMatch
66                 ORDERING caseIgnoreOrderingMatch
67                 SUBSTR caseIgnoreSubstringsMatch
68                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
69               )
70
71 attributetype ( 1.3.6.1.4.1.16331.2.2.1.53 NAME 'custom3'
72                 DESC 'Thunderbird compatible custom field 3'
73                 EQUALITY caseIgnoreMatch
74                 ORDERING caseIgnoreOrderingMatch
75                 SUBSTR caseIgnoreSubstringsMatch
76                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
77               )
78
79 attributetype ( 1.3.6.1.4.1.16331.2.2.1.54 NAME 'custom4'
80                 DESC 'Thunderbird compatible custom field 4'
81                 EQUALITY caseIgnoreMatch
82                 ORDERING caseIgnoreOrderingMatch
83                 SUBSTR caseIgnoreSubstringsMatch
84                 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
85               )
86
87
88 # The c attribute is defined in core.schema!
89 objectclass ( 1.3.6.1.4.1.16331.2.2.2.1 NAME 'contactPerson'
90           DESC 'Contact - Addressbook entry'
91               AUXILIARY
92               MAY  ( anniversary $ marker $ birthday $ custom1 $
93                      custom2 $ custom3 $ custom4 $ c)
94             )
95
96