Vote #65885
完了Redmine.pm doesn't work with LDAPS and a non-standard port
100%
説明
To quote from the docs of Authen::Simple::LDAP:
port: Connection port, default to 389. May be overriden by host if host is a URI.
So, using a LDAP server with Secure Connections (which force an URI to be used), the used port has to be appended to the URI. Currently it isn't and the port setting is ignored, which makes it impossible to authenticate at the SVN server in this case.
This patch resolves this issue by simply appending the port to the URI.
journals
You might want to have a look at the patches attached to #3358 (works wonders for us ;-) ), or "any other ticket relating to redmine.pm":http://www.redmine.org/search/index/redmine?q=redmine.pm&scope=&all_words=1&issues=1&submit=OK
--------------------------------------------------------------------------------
Eric, JB: looks sound to me, could one of you commit this?
The explanation is here http://cpansearch.perl.org/src/CHANSEN/Authen-Simple-LDAP-0.2/README under _methods_ > _ports_: "May be overriden by host if host is a URI.", i.e. when using @ldaps@, the host is given as a URI, which causes the perl thing to ignore the @port@ setting.
--------------------------------------------------------------------------------
Applied in r4309, thans Fabian and sorry for the lag.
--------------------------------------------------------------------------------
Merged into 1.0-stable for release in 1.0.3
--------------------------------------------------------------------------------