Emmanuel Lecharny wrote:
Alex Karasulu a écrit :

I am expecting a proposal on how we can implement this feature.  :)

Alex

Well, I don't know to much about famillies, but I think that we might workaround the problem of first email, second email, etc by using attribute descriptions options :

mail;primary: [EMAIL PROTECTED]
mail;office: [EMAIL PROTECTED]

Interesting idea for that. We probably can use special tags for things like that like the lang tag but this would be built in instead of user configured. Like for example ou;lang-en or ou;lang-fr etc.

That's perhaps the difference.

Searching for a primary email is then very easy, supposing that the client accept such attribute description options (btw, they are really close to what we can do with languages). The filter would be :
(mail;primary=*)

Looking for all email is equally easy :
(mail=*)

It seems to be simple, not depending on anything else that basic ldap features, and quite logical to me.

wdyt ?

I think doing this tag feature thing is ok if it's just one thing but it's hard coded and not too flexible. Maybe I'm missing something too.

Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
	MSN: [EMAIL PROTECTED]
	Yahoo!: alexkarasulu=0D=0A=
	IRC: aok=0D=0A=
	PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
	
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard

Reply via email to