From a0bd9e81cf909cf242753b172dd5aa2d9cf920a7 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 6 Feb 2001 22:24:04 +0000 Subject: new file. this will eventually form the suggested additions to an existing 2001-02-06 Chris Toshok * backend/pas/evolveperson.schema: new file. this will eventually form the suggested additions to an existing openldap server that, along with support for inetorgperson, will allow people to store all evolution attributes in ldap. svn path=/trunk/; revision=8028 --- addressbook/ChangeLog | 7 ++ addressbook/backend/pas/evolveperson.schema | 109 ++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 addressbook/backend/pas/evolveperson.schema diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 49d6d1af25..eb6ef77878 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2001-02-06 Chris Toshok + + * backend/pas/evolveperson.schema: new file. this will eventually + form the suggested additions to an existing openldap server that, + along with support for inetorgperson, will allow people to store + all evolution attributes in ldap. + 2001-02-06 Chris Toshok * backend/pas/pas-backend-ldap.c (pas_backend_ldap_init): don't diff --git a/addressbook/backend/pas/evolveperson.schema b/addressbook/backend/pas/evolveperson.schema new file mode 100644 index 0000000000..b23e97cd15 --- /dev/null +++ b/addressbook/backend/pas/evolveperson.schema @@ -0,0 +1,109 @@ +# +# Depends upon +# Definition of an X.500 Attribute Type and an Object Class to Hold +# Uniform Resource Identifiers (URIs) [RFC2079] +# (core.schema) +# +# A Summary of the X.500(96) User Schema for use with LDAPv3 [RFC2256] +# (core.schema) +# +# The COSINE and Internet X.500 Schema [RFC1274] (cosine.schema) +# +# The Internet Organizational Person Schema (inetorgperson) + +# primaryPhone +attributetype ( 666.666.666.1 + NAME 'primaryPhone' + DESC 'preferred phone number used to contact a person' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE ) + +# carPhone +attributetype ( 666.666.666.2 + NAME 'carPhone' + DESC 'car phone telephone number of the person' + EQUALITY telephoneNumberMatch + SUBSTR telephoneNumberSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + SINGLE-VALUE ) + +attributetype ( 666.666.666.3 + NAME ( 'homeFacsimileTelephoneNumber' 'homeFax' ) + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 ) + +attributetype ( 666.666.666.4 + NAME 'otherPhone' + EQUALITY telephoneNumberMatch + SUBSTR telephoneNumberSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) + +attributetype ( 666.666.666.5 + NAME 'businessRole' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) + +attributetype ( 666.666.666.6 + NAME 'managerName' + SUP name ) + +attributetype ( 666.666.666.7 + NAME 'assistantName' + SUP name ) + +# spouseName +# single valued (/me smirks) +attributetype ( 666.666.666.8 + NAME 'spouseName' + SUP name + SINGLE-VALUE ) + +attributetype ( 666.666.666.9 + NAME 'otherPostalAddress' + EQUALITY caseIgnoreListMatch + SUBSTR caseIgnoreListSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) + +attributetype ( 666.666.666.10 + NAME ( 'mailer' 'mua' ) + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32} ) + +attributetype ( 666.666.666.11 + NAME ( 'birthDate' 'dob' ) + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) + +attributetype ( 666.666.666.12 + NAME 'anniversary' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) + +attributetype ( 666.666.666.13 + NAME 'note' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) + +# inetOrgPerson +# The inetOrgPerson represents people who are associated with an +# organization in some way. It is a structural class and is derived +# from the organizationalPerson which is defined in X.521 [X521]. +objectclass ( 666.666.666.14 + NAME 'evolvePerson' + DESC 'Objectclass geared to Evolution Usage' + SUP inetOrgPerson + STRUCTURAL + MAY ( + primaryPhone $ carPhone $ homeFacsimileTelephoneNumber $ + otherPhone $ businessRole $ managerName $ assistantName $ + otherPostalAddress $ mailer $ birthDate $ anniversary $ spouseName $ + note ) + ) -- cgit