[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: RFC2739 calEntry schema



Kewl!  This is what I had hoped for when submitting what I had.. Thanks
Peter!
(I haven't tried it yet however.. Hehehe)

Terrelle

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Peter
Marschall
Sent: Saturday, November 09, 2002 7:38 AM
To: openldap-software@OpenLDAP.org
Subject: RFC2739 calEntry schema


Hi,

here is my try for the RFC2739 schema.

It is based on Terrelle Shaw's version with ideas by Tony Earnshaw and
AdamWilliams.

I changed various parts in the schema (the details are on top of the
file).

Although I agree with Tony that IA5String might be not the best idea for
an URI, i kept the syntax this way, since the RFC states it this way and
I do not know if changing it to Directory String might break
applications.

Any comments welcome
Peter

--------- 8< cut her >8--------- 
# RFC2739 calEntry schema for OpenLDAP 2.x 

# Version of RFC 2739 schema translated by Terrelle Shaw
(xytek@xytek.org) # Nov. 7, 2002 # Modifications by Peter Marschall
<peter.marschall@adpm.de> # Nov. 9, 2002

# Notes:
# * RFC2739 seems to be a bit sloppy about attribute type and
#   objectclass definitions syntax and also about attribute syntax
#   and matching rules.
#   (It even counts the attributes in the calEntry objectclass wrong ;-)
# * The following changes have been applied to correct the schema
#   - added description to each attributetype definition
#   - changed SYNTAX from 'IA5String' to corresponding OID
#     to make matching rules and syntax consistent
#   - replaced illegal keyword SUBSTRING by SUBSTR
#   - changed SUBSTR from caseIgnoreIA5Match to
caseIgnoreIA5SubstringsMatch
#   - removed illegal keyword MULTI-VALUE
#   - added keyword SINGLE-VALUE where appropriate
#   - removed USAGE since cwuserApplications is the default 
#   - added description to the objectclass defintion
#   - corrected typo in objectclass definition
#   - added the attributetypes defined but not used to the objectclass


# 2.4.4.1 calCalURI
attributetype ( 1.2.840.113556.1.4.478 
        NAME 'calCalURI' 
	DESC 'URI to a snapshot of the users entire default calendar'
        EQUALITY caseIgnoreIA5Match 
        SUBSTR caseIgnoreIA5SubstringsMatch 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.2 calFBURL
attributetype ( 1.2.840.113556.1.4.479
        NAME 'calFBURL'
	DESC 'URI to the users default free/busy time data'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.3 calCAPURI
attributetype ( 1.2.840.113556.1.4.480
        NAME 'calCAPURI'
	DESC 'URI used to communicate with the users calendar'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.4 calCalAdrURI
attributetype ( 1.2.840.113556.1.4.481
        NAME 'calCalAdrURI'
	DESC 'URI to which event requests should be sent for the user'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

# 2.4.4.5 calOtherCalURIs
attributetype ( 1.2.840.113556.1.4.482
        NAME 'calOtherCalURIs'
	DESC 'URIs to snapshots of non-default calendars belonging to
the user'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.6 calOtherFBURLs
attributetype ( 1.2.840.113556.1.4.483
        NAME 'calOtherFBURLs'
	DESC 'URIs to non-default free/busy data belonging to the user'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.7 calOtherCAPURIs
attributetype ( 1.2.840.113556.1.4.484
        NAME 'calOtherCAPURIs'
	DESC 'URIs to non-default calendars belonging to the user'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.4.8 calOtherCalAdrURIs
attributetype ( 1.2.840.113556.1.4.485
        NAME 'calOtherCalAdrURIs'
	DESC 'URIs of destinations for event requests to non-default
calendars'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# 2.4.3.1 calEntry
objectclass ( 1.2.840.113556.1.5.87
        NAME 'calEntry'
	DESC 'Calendering and free/busy information'
        SUP top AUXILIARY
        MAY ( calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $
		calOtherCAPURIs $ calOtherCalURIs $ calOtherFBURLs $ 
		calOtherCalAdrURIs ) )

# EOF
--------- 8< cut her >8--------- 

-- 
Peter Marschall     |   eMail: peter.marschall@mayn.de
Scheffelstraße 15   |          peter.marschall@is-energy.de
97072 Würzburg      |   Tel:   0931/14721
PGP:  D7 FF 20 FE E6 6B 31 74  D1 10 88 E0 3C FE 28 35