View Issue Details

IDProjectCategoryView StatusLast Update
0022655mantisbtldappublic2017-12-14 16:47
ReportergfalvesAssigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformServerOSWindows OS Version2016
Product Version2.2.3 
Target VersionFixed in Version 
Summary0022655: Login via LDAP is not working, error with special characters [APPLICATION ERROR 0000401]
Description

Good Morning!
I use MantisBt with AD integration from my organization, but the accounts here have special characters like: [á é í ç ~ ^] When I login with an account that has these characters the following error is displayed.
Could you help me?
We are users here in Brazil.

TagsNo tags attached.

Activities

gfalves

gfalves

2017-04-03 09:44

reporter  

erro login.png (33,844 bytes)
erro login.png (33,844 bytes)
Conta acento.png (1,782 bytes)
Conta acento.png (1,782 bytes)
Mr.Bricodage

Mr.Bricodage

2017-04-03 11:59

reporter   ~0056353

See 0020809, I didn't test it but could be related

gfalves

gfalves

2017-12-07 10:38

reporter   ~0058349

Mr Bricodage thanks , but that case treats when it has (at least french accents) are present in password value, but my situation is with accents in realname. (LDAP username)

I believe that I have to change the UFT8 decode, in some field, unfortunately I just do not know where to make this change?

Mr.Bricodage

Mr.Bricodage

2017-12-14 16:47

reporter   ~0058395

try in core\ldap_api.php to modify
function ldap_realname_from_username( $p_username ){
[...]
$t_realname = ldap_get_field_from_username( $p_username, $t_ldap_realname_field );

to

$t_realname = utf8_decode( ldap_get_field_from_username( $p_username, $t_ldap_realname_field ) );

Issue History

Date Modified Username Field Change
2017-04-03 09:44 gfalves New Issue
2017-04-03 09:44 gfalves File Added: erro login.png
2017-04-03 09:44 gfalves File Added: Conta acento.png
2017-04-03 11:59 Mr.Bricodage Note Added: 0056353
2017-12-07 10:38 gfalves Note Added: 0058349
2017-12-14 16:47 Mr.Bricodage Note Added: 0058395