[Kroupware] LDAP Adressbook schema

Dieter Kluenter dieter at dkluenter.de
Mon Jun 16 20:33:42 CEST 2003


Hi,

Wiktor Wodecki <wiktor.wodecki at net-m.de> writes:

> Hello folks,
>
> we are migrating more and more parts of our setup over to ldap.
> Therefore I'm looking for a ldap schema file which can cover various
> addressbook issues. I found some schemas (and I have seen you use them,
> too). However, I cannot find anything about the birthday of an user. I
> saw in your mailinglist[1] that you discussed the schema definition some
> time ago. Is there any documentation regarding the outcome? I coudn't
> find anything that would help me. I do not want to create my own
> definition, but rather use open standards, since we want to migrate
> fully away from microsoft-outlook, and kroupware is very interesting to
> us.

I have written a schema for use with various addressbooks and I'm just
preparing a website for my ldap and openldap related docs.
http://www.avci.de
This site will be available by the end of this month.

The following is an excerpt from my combiCalendar.schema to
demonstrate an birthday attribute
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
attributetype ( 1.3.6.1.4.1.14658.2.2.28
        NAME ( 'birthDate' 'dob' )
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} 
        )

attributetype ( 1.3.6.1.4.1.14658.2.2.29
        NAME 'anniversary'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} 
        )
--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

Please note that the syntax refers to UTF-8, if you want ascii change
to
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.--
attributetype ( 1.3.6.1.4.1.14658.2.2.51
        NAME 'birthDate' 'dob'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SustringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
        )   
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

You may extend an existing objectclass by this attributes or
you have to define an objectclass i.e.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
objectClass ( 1.3.6.1.4.1.14658.2.1.15
        NAME 'birthday'       
        AUXILIARY
        MUST ( birthdate )
        MAY ( anniversary )
        )
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

The OID 1.3.6.1.4.1.14658 is registered at IANA under my name.

The principal question ist, wether your clients support the attribute
birthdate or if they require a different attribute.

-Dieter

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter at schevolution.com
http://www.schevolution.com/tour



More information about the Kroupware mailing list