[Kroupware] LDAP address book schema suggestion

Tobias Koenig kroupware@mail.kde.org
Sun, 29 Sep 2002 22:17:48 +0200


On Sun, Sep 29, 2002 at 12:17:44PM -0500, Miles Lott wrote:
Hi Miles,

> Here is a version of the schema originally written for
> phpGroupWare that I would now be using for my new
> project, GroupWhere. This has been modified to, hopefully,
> be closer to what Tobias outlined.
> 
> # $gw : gwcontact.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $
> 
> # REQUIRED
> attributetype ( 1.3.6.1.4.1.9610.100
> 	NAME 'gwContactTypeId'
> 	EQUALITY caseIgnoreMatch
> 	SUBSTR caseIgnoreSubstringsMatch
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16}
> 	SINGLE-VALUE )
> # REQUIRED
> attributetype ( 1.3.6.1.4.1.9610.101
> 	NAME 'gwContactCatId'
> 	EQUALITY caseIgnoreMatch
> 	SUBSTR caseIgnoreSubstringsMatch
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16})
> 
> # REQUIRED
> attributetype ( 1.3.6.1.4.1.9610.102
> 	NAME 'gwContactAccess'
> 	EQUALITY caseIgnoreMatch
> 	SUBSTR caseIgnoreSubstringsMatch
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
> 	SINGLE-VALUE )
What is the possible content of the above mentioned attributes?

> # BELOW ARE OPTIONAL
> attributetype ( 1.3.6.1.4.1.9610.105
> 	NAME 'gwMiddlename'
> 	SUP name )
> 
> attributetype ( 1.3.6.1.4.1.9610.106
> 	NAME 'gwPrefix'
> 	SUP name )
> 
> attributetype ( 1.3.6.1.4.1.9610.107
> 	NAME 'gwSuffix'
> 	SUP name )
I'm missing the display-name or formatted name. This attribute exists
in nearly all known person schemas.

> attributetype ( 1.3.6.1.4.1.9610.108
> 	NAME 'gwAudio'
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} )
We also need the logo and photo attributes.

> attributetype ( 1.3.6.1.4.1.9610.111
> 	NAME 'gwGeo'
>  	EQUALITY integerMatch
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
> 	SINGLE-VALUE )
How is the langitude and latitude encoded in a single value?

> attributetype ( 1.3.6.1.4.1.9610.113
> 	NAME 'gwPublicKey'
> 	EQUALITY caseIgnoreMatch
> 	SUBSTR caseIgnoreSubstringsMatch
> 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
Oh, I missed it in my schema, but libkabc supports it as well.

Ciao,
Tobias
-- 
In a world without walls and fences who
needs Windows and Gates???