diff options
author | Chris Toshok <toshok@ximian.com> | 2001-02-07 06:24:04 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-02-07 06:24:04 +0800 |
commit | a0bd9e81cf909cf242753b172dd5aa2d9cf920a7 (patch) | |
tree | 26d315269d99996f12a4331b6dc003d3e9d71da6 /addressbook | |
parent | 5b9803f8c8dad828622f3d029d35358f0d8d2b27 (diff) | |
download | gsoc2013-evolution-a0bd9e81cf909cf242753b172dd5aa2d9cf920a7.tar.gz gsoc2013-evolution-a0bd9e81cf909cf242753b172dd5aa2d9cf920a7.tar.zst gsoc2013-evolution-a0bd9e81cf909cf242753b172dd5aa2d9cf920a7.zip |
new file. this will eventually form the suggested additions to an existing
2001-02-06 Chris Toshok <toshok@ximian.com>
* 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
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/backend/pas/evolveperson.schema | 109 |
2 files changed, 116 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 49d6d1af25..eb6ef77878 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,12 @@ 2001-02-06 Chris Toshok <toshok@ximian.com> + * 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 <toshok@ximian.com> + * backend/pas/pas-backend-ldap.c (pas_backend_ldap_init): don't need the = NULL's since we g_new0. (check_for_evolve_person): new function. 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 ) + ) |