View Issue Details

IDProjectCategoryView StatusLast Update
0020769mantisbtldappublic2021-01-17 06:12
ReporterMr.Bricodage Assigned Todregad  
Status closedResolutionno change required 
Product Version1.2.19 
Summary0020769: New functionnality : LDAP fallback server OR round robin

My company use 2 sync ADs that can be acceded to auth users.
Today, the first server was inaccessible, and I have to switch in config file to the second server as fallback.

What do you think about a fallback server functionnality to allow mantis to switch to the backup server when first ldap server doesn't answer ?

Round robin could be a solution for my use case, but is code effort too important in this case?

Steps To Reproduce


Additional Information

Ticket 0009954 mix fallback server functionnality and multiple LDAP servers with different information in each LDAP server.

TagsNo tags attached.


related to 0009954 closeddregad More than one ldap-server 




2021-01-06 13:32

reporter   ~0064943

I think this might work already because Mantis uses ldap_connect(), which is documented to take a space-separated list of servers:

But I don't have 2 servers, so can't test.



2021-01-06 18:26

developer   ~0064947

Last edited: 2021-01-06 18:30

The possibility to specify multiple, space-delimited LDAP URIs was added to the ldap_connect() documentation about 5 years ago [1]. I don't know when this was implemented in the code, or in which PHP version this actually became available, though.

Anyway, that feature should satisfy this issue's requirements, so I'm closing it as no change required.

This will be better documented when PR is merged.