[EMAIL PROTECTED] wrote:
Hi,
I'm using the ldap_getfirstfilter/ldap_getnextfilter api and am seeing a
problem where the filter expression returned by ldap_getnextfilter is
corrupt. Given the following entries in my filter.conf file:
"@" " "
"(&(objectClass=person)(mail=%v))"
"matches email address"
"(&(objectClass=person)(mail=%v*))"
"start of email address"
If I enter 'jill@' as my search filter, ldap_getfirstfilter gives me the
following correct filter:
(&(objectClass=person)(mail=jill@))
Since that returns no matches, I call ldap_getnextfilter and get this
filter:
(&(objectClass=person)(mail=îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
Doesn't look right, does it? It's even missing the last two parentheses
:) The garbage returned is random, it changes with each search. I've
even seen a filter come back as
(&(objectClass=person)(|(givenName=givenName)))' -- again I was
searching for 'jill'.
I'm using the CSDK 5.08 from Sun, though I did diff getfilter.c from the
latest mozilla release (5.1.7) and there are no changes in that file.
Has anyone else seen this problem?
I don't really use those functions, but if you can verify that the bug
exists in the Mozilla 5.17 SDK, please file a bug at
http://bugzilla.mozilla.org - Directory - LDAP C SDK
Jeff Paquette direct: (508) 482-4130
email: [EMAIL PROTECTED]
NuGenesis Technologies Corp. web: http://www.nugenesis.com/
A subsidiary of Waters Technologies Corp. web: http://www.waters.com/
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap