[turba] First shot at a new ldap schema.

eculp at encontacto.net eculp at encontacto.net
Thu Mar 13 18:26:42 PST 2003


I'm attaching a first shot at a new schema for ldap.  Would those
who are using ldap take a look please because I'm pretty sure that I
don't know what I'm doing:-).  I'll list a couple of my concerns.

There are currently 35 dynamically generated prefs by the make_schema.php
script taking OID values from  1.3.6.1.4.1.13040.1.2.4.1 to 
1.3.6.1.4.1.13040.1.2.4.35  

I started a new sequence with 201 for pgppublickey - 202 for smimepublickey 
these have a SYNTAX  1.3.6.1.4.1.1466.115.121.1.15{1024} that I think is UTF8. 
Does that sound right or should it be binary?  EQUALITY is caseIgnoreMatch

- 203 is assigned for turbaMembers and 204 is for turbaType.  If the OID
  sequence is ok they should be ok.

- I added 205 for freeBusyUrl.  I set it up as ascii string (26) and 
  caseIgnoreIA5Match.  I've never used this.  I assume that it is for
  meetings.  Amith is this working for you?

Please let me know what changes should be made and how we might want to
maintain this in the future as new applications are added.  

Thanks Amith for getting this rolling and Adam for his guidance and
his awesome 400+ page ldap3.pdf.

ed

P.S. I can't really test this in production until I change to openldap
     2.1.12 over the weekend.  I've got a lot of cleaning up to do first.

-------------------------------------------------

-------------- next part --------------
#
# Horde LDAP V3 schema definition
#
# The offical horde OID assigned by IANA is 13040.
#
# This schema depends on:
#   - core.schema
#

attributetype ( 1.3.6.1.4.1.13040.1.2.4.1
	NAME 'hordePrefs'
	DESC 'Horde Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.2
	NAME 'problemPrefs'
	DESC 'Problem Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.3
	NAME 'impPrefs'
	DESC 'Imp Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.4
	NAME 'ingoPrefs'
	DESC 'Ingo Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.5
	NAME 'samPrefs'
	DESC 'Sam Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.6
	NAME 'trollPrefs'
	DESC 'Troll Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.7
	NAME 'agoraPrefs'
	DESC 'Agora Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.8
	NAME 'mimpPrefs'
	DESC 'Mimp Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.9
	NAME 'turbaPrefs'
	DESC 'Turba Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.10
	NAME 'momentPrefs'
	DESC 'Moment Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.11
	NAME 'kronolithPrefs'
	DESC 'Kronolith Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.12
	NAME 'mnemoPrefs'
	DESC 'Mnemo Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.13
	NAME 'nagPrefs'
	DESC 'Nag Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.14
	NAME 'geniePrefs'
	DESC 'Genie Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.15
	NAME 'treanPrefs'
	DESC 'Trean Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.16
	NAME 'gollemPrefs'
	DESC 'Gollem Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.17
	NAME 'nicPrefs'
	DESC 'Nic Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.18
	NAME 'jetaPrefs'
	DESC 'Jeta Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.19
	NAME 'odinPrefs'
	DESC 'Odin Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.20
	NAME 'choraPrefs'
	DESC 'Chora Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.21
	NAME 'whupsPrefs'
	DESC 'Whups Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.22
	NAME 'jonahPrefs'
	DESC 'Jonah Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.23
	NAME 'klutzPrefs'
	DESC 'Klutz Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.24
	NAME 'oratorPrefs'
	DESC 'Orator Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.25
	NAME 'hermesPrefs'
	DESC 'Hermes Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.26
	NAME 'junoPrefs'
	DESC 'Juno Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.27
	NAME 'accountsPrefs'
	DESC 'Accounts Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.28
	NAME 'forwardsPrefs'
	DESC 'Forwards Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.29
	NAME 'passwdPrefs'
	DESC 'Passwd Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.30
	NAME 'vacationPrefs'
	DESC 'Vacation Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.31
	NAME 'giapetoPrefs'
	DESC 'Giapeto Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.32
	NAME 'midasPrefs'
	DESC 'Midas Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.33
	NAME 'ulaformPrefs'
	DESC 'Ulaform Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.34
	NAME 'scryPrefs'
	DESC 'Scry Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.35
	NAME 'logoutPrefs'
	DESC 'Logout Preferences'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.201
	NAME 'pgppublickey'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
	
attributetype ( 1.3.6.1.4.1.13040.1.2.4.202
	NAME 'smimepublickey'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
	
attributetype ( 1.3.6.1.4.1.13040.1.2.4.203
        NAME 'turbaMembers'
        DESC 'Members of a Turba Group'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4000} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.204
        NAME 'turbaType'
        DESC 'Distinguishes between a Contact object and a Group object'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{8} )

attributetype ( 1.3.6.1.4.1.13040.1.2.4.205
        NAME 'freeBusyUrl'
        DESC 'FreeBusyURL'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )

objectclass ( 1.3.6.1.4.1.13040.1.2.4.1001
	NAME 'hordePerson'
	DESC 'Horde Preferences'
	SUP person
	MAY ( mail $ hordePrefs $  problemPrefs $  impPrefs $ 
		ingoPrefs $  samPrefs $  trollPrefs $ 
		agoraPrefs $  mimpPrefs $  turbaPrefs $ 
		momentPrefs $  kronolithPrefs $  mnemoPrefs $ 
		nagPrefs $  geniePrefs $  treanPrefs $ 
		gollemPrefs $  nicPrefs $  jetaPrefs $ 
		odinPrefs $  choraPrefs $  whupsPrefs $ 
		jonahPrefs $  klutzPrefs $  oratorPrefs $ 
		hermesPrefs $  junoPrefs $  accountsPrefs $ 
		forwardsPrefs $  passwdPrefs $  vacationPrefs $ 
		giapetoPrefs $  midasPrefs $  ulaformPrefs $ 
		scryPrefs $  logoutPrefs $ pgppublickey $
		smimepublickey $ turbaMembers $ turbaType $
                freebusyurl
	) )


More information about the turba mailing list