Removed some spurious copyright info from the openldap
[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 v2.
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 ##########################
44 # citadel object classes #
45 ##########################
46
47 # citadel account
48 # we use a STRUCTURAL in order to ease integration
49 # with existing inetOrgPerson objects
50
51 objectclass ( 1.3.6.1.4.1.25404.1.2.1
52   NAME 'citadelInetOrgPerson'
53   DESC 'Citadel Internet Organizational Person'
54   SUP inetOrgPerson
55   STRUCTURAL
56   MAY ( c $
57       alias $
58       calFBURL )
59       )
60   )