L
L
lexwer2018-02-14 11:25:35
LDAP
lexwer, 2018-02-14 11:25:35

Redmine ldap AD login in Cyrillic is it possible to do?

if the login is in Latin, then everything works, but it doesn’t work with Cyrillic. AD Windows server 2012, redmine 3.4.4, mysql UTF-8, utf8-general_ci, + nginx + passenger;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lexwer, 2018-02-14
@lexwer

I found the solution, corrected the sources:
(redmine 3.4.4)
in the file /redmine/app/models/user.rb
correct line 111:
this is:
validates_format_of :login, :with => /\A[a-z0-9_\[email protected] \.]*\z/i
replace with this:
validates_format_of :login, :with => /[a-zA-YaeЁa-zA-Z0-9_\[email protected]\.]*/i

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question