Closed Bug 180899 Opened 22 years ago Closed 15 years ago

LDAP autocomplete doesn't work because LDAP data isn't UFT8

Categories

(MailNews Core :: LDAP Integration, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 77381

People

(Reporter: bugzilla, Unassigned)

Details

I'm trying to use LDAP autocomplete against my Exchange server but it doesn't work when the entries it's trying to find contains danish chars. It only finds entries without danish chars. This is really really annoying. 0[441200]: nsLDAPOperation::SearchExt(): called with aBaseDn = ''; aFilter = '(|(cn=mar**)(mail=mar**)(sn=mar**))', aAttrCounts = 2, aSizeLimit = 100 I'm trying to find: Malene Grønlund Nielsen <mago@tdcinternet.dk> I'm seeing: 0[441200]: ###!!! ASSERTION: not a UTF8 string: 'Error', file ../../dist/include/string\nsString2.h, line 669 0[441200]: ###!!! ASSERTION: Input wasn't UTF8 or incorrect length was calculated: 'Error', file d:/moz_source/gmake/mozilla/string/obsolete/nsString2.cpp, line 1442 0[441200]: ###!!! ASSERTION: Not a UTF-8 string. This code should only be used for converting from known UTF-8 strings.: 'Error', file d:/moz_source/gmake/mozilla/string/obsolete/nsString2.cpp, line 1407
the LDAP directory seems to return this: "cn=MAGO,cn=Brugere,ou=td-inet-opa,o=td-inet" "Malene Grønlund Nielsen" if I do a: (|(cn=mago**)(mail=mago**)(sn=mago**)) and show attribute: cn Is the problem the: "Malene Grønlund Nielsen" string? Supported LDAP version is 3
QA Contact: yulian → gchan
dupe of bug 77381 ?
Product: MailNews → Core
Assignee: srilatha → nobody
QA Contact: grylchan → ldap-integration
Product: Core → MailNews Core
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.