プロジェクト

全般

プロフィール

Vote #65885

完了

Redmine.pm doesn't work with LDAPS and a non-standard port

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2009/10/21
期日:
進捗率:

100%

予定工数:
category_id:
3
version_id:
25
issue_org_id:
4065
author_id:
8913
assigned_to_id:
1188
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン1.0.3_25 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0