View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023390||mantisbt||ldap||public||2017-09-22 05:58||2020-11-25 14:20|
|Status||closed||Resolution||no change required|
|Summary||0023390: Unable to auth user through SOAP API if special char in LDAP realname|
LDAP Realname content (CN) in my company AD sometimes contains special French chars. I haven't access to AD to modify this information. For example, the char
This is a "little" problem when displaying data in Mantis GUI ( Gérard is displayed G? ) and a big problem when using SOAP to log in (exception Exception with message "SOAP-ERROR: Encoding: string 'G\xe9...' is not a valid utf-8 string - thrown by method : mc_login"),
To partially fix this problem, I modified ldap_api.php, function ldap_realname_from_username on row 186
The result is now G?rard in Mantis GUI ( better than G? ) and we can log in through SOAP API.
|Tags||No tags attached.|
based on note 0020809:0059069, I'll try ASAP
Confirmed, by replacing utf-8 decode() by iconv() , special chars are now well displayed
There was a similar issue 0027420
The final solution was to set
Can you confirm that this works for you?
Without feedback, assuming the solution to set