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

Re: function 'test_filter' cant handle 'begins with' filters



"Kurt D. Zeilenga" wrote:

> >Can anyone see why this is not working when testing the resulting
entry
> >with (f.e.)
> >&(uid=123*)(....all objectclass stuff....)?
>
> You might try a proper filter: ie:
>  (&(uid=123*)(....all objectclass stuff....))

The first filter is:
(&(uid=12345)(|(objectclass=TOP)(objectclass=PERSON)(......))

it finds the database struct and converts it to a proper corresponding
entry
and test_filter(...) accepts it
Entry structure
    ....
    uid = 12345
    other constant values in entry

The second filter is:
(&(uid=123*)(|(objectclass=TOP)(objectclass=PERSON)(......))

And my database package finds the same struct and converts it too the
exact
same entry as in first case BUT test_filter(....) doesnt accept it.
Something
broken for the "begins with" operator in test_function?


--
sincerely

Mikael Grehn

--
mvh/sincerely

Mikael Grehn
M.Sc
Systems Engineer
Envilogg Datateknik AB
Tel: +46 (0)18 ? 135918
Fax: +46 (0)18 ? 125968
Email: mikael@envilogg.se