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

Re: Fwd: Filter problem



Daniel,

The drivers aren't supposed to be case sensitive, does an error occurr
when this happens?  LDAP filters won't cause errors because they are
trated as one block by the code.  I'm shocked that they returned
anything.

Marc Boorshtein
On Thu, 2003-08-28 at 01:51, Daniel Merino wrote:
> Thank you very much. I had tried this, but my problem was that I typed 
> "and" instead of "AND" and the driver is case sensitive, so I tried the 
> RFC 2254 filters. And that filters dont work well but dont give any error.
> 
> I will write to the list you told me, when I have more problems.
> Thanks.
> 
> Marc Boorshtein wrote:
> 
> >Daniel,
> >
> >I am not sure what you mean by using "filters" the JDBC LDAP driver
> >doean't use ldap style filters, it instead uses SQL style "where"
> >conditions.  For instance:
> >
> >(&(cn=John)(sn=Goodman)) --> cn=John AND sn=Goodman
> >(&(sn=Goodman)(cn=John)) --> sn=Goodman AND cn=John
> >(|(sn=Goodman)(cn=John)(niu=2253)) --> sn=Goodman OR cn=John OR niu-2253
> >
> >I hope this helps.  In the futere please direct all requests to
> >openldap-software@OpenLDAP.org .
> >
> >Marc Boorshtein
> >
> >  
> >
-- 
Marc Boorshtein, Software Engineer
Octet String Inc.
Phone: +1-847-466-1884
Email: marc.boorshtein@octetstring.com