• Status Unconfirmed
  • Percent Complete
  • Task Type Information
  • Category Backend/Core → Authentication
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 1.0-rc9
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray
Opened by mogam2000 - 15.05.2019
Last edited by peterdd - 04.09.2019

FS#2551 - LDAP/AD integration


Please advise if there are known issues when integrating Flyspray with Active Directory using LDAP.

Project Manager

LDAP integration is currently not tested.

There is some code for it within Flyspray, but the configuration must be done in the function doing the ldap login.

It is also unknown if it works together with normal login and oauth2 logins.

If someone provides a docker or Vagrantfile for a typical ldap demo server I can try to take a look, but I‘m totally noob of LDAP and do not use it. this is a task for people who still use LDAP in their company and have experience with it.

I wish I had more info for you, but can point out some issues. It does work with very few changes to FlySpray files. The function needs correct information for the environment and will work well unencrypted (ill advised), then adding a tls section is a pain.
There must have been a substantial change in the openssl libraries in the last few years and it has caused issues through the PHP/openldap installation. My bet is that the way the openldap TLS is being called, needs to be updated for newer versions of OpenSSL. The install needs several manual steps to set the CRT file location and to add older binaries for libcrypto and libssl.

Works using PHP 7.3.6 and version 1.1.0j of the openssl binaries from

Bug info about openssl:

Project Manager

I fiddled a bit and the Flyspray Github master branch has now support for LDAP configuration by flyspray.conf.php

Also a Vagrantfile which setup apache2, slapd and Flyspray master branch is now available which I plugged together for testing - and waiting for improvement by experienced ldap admins/users. :-D

A few things I wrote also in FS#1487


Available keyboard shortcuts


Task Details

Task Editing