Re: Date/Birthday fields and LDAP schemas

Mark Banner <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
On 11/25/2008 11:04, Anton Bobrov wrote:
>
> Evolution project has this schema of their own
>
> http://svn.gnome.org/viewvc/evolution-data-server/trunk/addressbook/backends/ldap/evolutionperson.schema?view=markup

Thanks for the pointer, I've just done some digging and they seem to 
accept YYYYMMDD or YYYY-MM-DD into birthDate

> and there is also Sun Messaging Server and Calendar Server schema
>
> http://docs.sun.com/app/docs/doc/819-4437/anobm?a=view
> http://docs.sun.com/app/docs/doc/819-4437/6n6jckqrt?a=view

This is YYYYMMDD on field dateOfBirth

> these are the ones i know that define date of birth and similar
> additional data. worth having a look and supporting but neither
> is standard. Microsoft must have something similar of their own
> defined as well.

schac (as pointed to by Michael's email) also uses YYYYMMDD and calls it 
schacDateOfBirth.

Then remembering openLDAP has some schemas installed. I've also found:

apple.schema:

attributetype (
         1.3.6.1.4.1.63.1000.1.1.1.1.27
         NAME ( 'apple-birthday' )
         DESC 'Birthday'
         EQUALITY generalizedTimeMatch
         SUBSTR caseExactIA5SubstringsMatch
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE )

The microsoft schmeas only appear to have birthLocation. I also can't 
find anything searching on the web.

At the moment I'm very tempted to go with YYYYMMDD in a NumberString, 
and probably default to dateOfBirth, but allow birthDate and 
schacDateOfBirth by default.

Standard8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.