silenced a silly little compiler warning
[citadel.git] / citadel / openldap / citadel.schema
1 # $Id$
2
3 # (c) 2006 Art Cancro <ajc@uncensored.citadel.org>
4
5 # This file is distributed under the terms of the GNU General Public License v3.
6
7 # This schema depends on the core.schema, cosine.schema and the inetorgperson.schema
8 # as provided by third parties such as OpenLDAP.  It also depends on rfc2739 schema,
9 # which is included in the Citadel distribution.
10 #
11 # If you are using OpenLDAP, slapd.conf should declare schemas like this:
12 #
13 #  include /etc/openldap/schema/core.schema
14 #  include /etc/openldap/schema/cosine.schema
15 #  include /etc/openldap/schema/inetorgperson.schema
16 #  include /etc/openldap/schema/rfc2739.schema
17 #  include /etc/openldap/schema/citadel.schema
18
19
20 ##############################################################################
21 #
22 # Our OID tree so far looks like this:
23 #
24 # 1.3.6.1.4.1.25404                     citadel.org
25 # 1.3.6.1.4.1.25404.1                   Citadel server project - LDAP schema
26 # 1.3.6.1.4.1.25404.1.1                 Custom attributes
27 # 1.3.6.1.4.1.25404.1.2                 Custom object classes
28 #
29 ##############################################################################
30
31 ######################
32 # citadel attributes #
33 ######################
34
35 # alias used to provide alternative rfc822 email addresses for citadel users
36 attributetype ( 1.3.6.1.4.1.25404.1.1.1
37   NAME 'alias'
38   DESC 'RFC1274: RFC822 Mailbox'
39   EQUALITY caseIgnoreIA5Match
40   SUBSTR caseIgnoreIA5SubstringsMatch
41   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
42
43 # euid used to provide unique identifier for GAB entries
44 attributetype ( 1.3.6.1.4.1.25404.1.1.2
45   NAME 'euid'
46   DESC 'unique GAB entry'
47   EQUALITY caseExactMatch
48   SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{256} )
49
50 ##########################
51 # citadel object classes #
52 ##########################
53
54 # citadel account
55 # we use a STRUCTURAL in order to ease integration
56 # with existing inetOrgPerson objects
57
58 objectclass ( 1.3.6.1.4.1.25404.1.2.1
59   NAME 'citadelInetOrgPerson'
60   DESC 'Citadel Internet Organizational Person'
61   SUP inetOrgPerson
62   STRUCTURAL
63   MUST ( euid )
64   MAY ( c $
65       alias $
66       calFBURL )
67       )
68   )