X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fopenldap%2Fcitadel.schema;h=682ff2cdf7e86b7ca0f40e944f9a897036594898;hb=e21b689461215d6012ff62d76c2da73d4ffeb33a;hp=007fe450ebdc9ae39832697f3dd4a45c4fcbb369;hpb=0043693795a799c4dd4151d9359d891fe39abb62;p=citadel.git diff --git a/citadel/openldap/citadel.schema b/citadel/openldap/citadel.schema index 007fe450e..682ff2cdf 100644 --- a/citadel/openldap/citadel.schema +++ b/citadel/openldap/citadel.schema @@ -1,16 +1,15 @@ -# $Id: citadel.schema,v 1.16 2005/12/27 13:04:53 martin Exp $ +# $Id$ -# (c) 2003, 2004 Tassilo Erlewein -# (c) 2003-2005 Martin Konold -# (c) 2003 Achim Frank # (c) 2006 Art Cancro -# This file is distributed under the terms of the GNU General Public License v2. +# This file is distributed under the terms of the GNU General Public License v3. -# This schema highly depends on the core.schema, cosine.schema and the inetorgperson.schema -# as provided by 3rd parties like OpenLDAP. +# This schema depends on the core.schema, cosine.schema and the inetorgperson.schema +# as provided by third parties such as OpenLDAP. It also depends on rfc2739 schema, +# which is included in the Citadel distribution. +# +# If you are using OpenLDAP, slapd.conf should declare schemas like this: # -# slapd.conf then looks like # include /etc/openldap/schema/core.schema # include /etc/openldap/schema/cosine.schema # include /etc/openldap/schema/inetorgperson.schema @@ -18,18 +17,36 @@ # include /etc/openldap/schema/citadel.schema +############################################################################## +# +# Our OID tree so far looks like this: +# +# 1.3.6.1.4.1.25404 citadel.org +# 1.3.6.1.4.1.25404.1 Citadel server project - LDAP schema +# 1.3.6.1.4.1.25404.1.1 Custom attributes +# 1.3.6.1.4.1.25404.1.2 Custom object classes +# +############################################################################## + ###################### # citadel attributes # ###################### # alias used to provide alternative rfc822 email addresses for citadel users -attributetype ( 1.3.6.1.4.1.19414.2.1.3 +attributetype ( 1.3.6.1.4.1.25404.1.1.1 NAME 'alias' DESC 'RFC1274: RFC822 Mailbox' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) +# euid used to provide unique identifier for GAB entries +attributetype ( 1.3.6.1.4.1.25404.1.1.2 + NAME 'euid' + DESC 'unique GAB entry' + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{256} ) + ########################## # citadel object classes # ########################## @@ -38,11 +55,12 @@ attributetype ( 1.3.6.1.4.1.19414.2.1.3 # we use a STRUCTURAL in order to ease integration # with existing inetOrgPerson objects -objectclass ( 1.3.6.1.4.1.19414.3.2.2 +objectclass ( 1.3.6.1.4.1.25404.1.2.1 NAME 'citadelInetOrgPerson' DESC 'Citadel Internet Organizational Person' SUP inetOrgPerson STRUCTURAL + MUST ( euid ) MAY ( c $ alias $ calFBURL )