[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: backend-sql


It seems that your question is not directly connected to back-sql sepcifics.
If I got you right, you'd have just the same question with back-bdb. To
distinguish between cellular and regular phone numbers, you can:
1) store them to different attributes, eg phone and cellPhone or smth...
2) use some kind of substring matching to distinguish by prefix or smth...

I'm not shure I got your question right, is this what you asked about?

WBW, Dmitry

----- Original Message -----
From: "Dantong Yu" <dtyu@cse.Buffalo.EDU>
To: <openldap-software@OpenLDAP.org>
Sent: Tuesday, November 20, 2001 7:44 PM
Subject: backend-sql

> Dear All:
>  I posted the following message to development list, but
>  I was suggested that I post it here.
> Hello,
> I want to publish my mysql database through openldap. I
> am using back-mysql.  I do not know whether your new patch
> can solve my problem listed as follows:
> I found that the filter can be only applied to select the
> qualified objects. If an object has a multiple value types,
> this filter defined in ldapsearch can never be passed to
> the attribute selection.
> For example, a person have four telephone numbers:
> (Person is an object and the telephone numbers are
>  attributes) (In the relational database, there is a
> table storing the person information
> and there is another table storing the telephone number)
> Among these four numbers, two cell phone numbers and two
> regular phone numbers, how can I list the person who has the
>  cell phone and his cell phone numbers?
> But I do not want to list his regular phone numbers.
> The reason why I am asking for filtering attributes because
> I want to reduce the data volume in an object.
> Thank you very much.
> Dantong