Project

General

Profile

Actions

Patch #4065

closed

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

Added by Fabian Schlenz about 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
2009-10-21
Due date:
% Done:

100%

Estimated time:

Description

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.


Files

Redmine.pm.diff (679 Bytes) Redmine.pm.diff Fabian Schlenz, 2009-10-21 11:00
Actions

Also available in: Atom PDF