View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0020769||mantisbt||ldap||public||2016-03-29 05:36||2021-01-17 06:12|
|Status||closed||Resolution||no change required|
|Summary||0020769: New functionnality : LDAP fallback server OR round robin|
My company use 2 sync ADs that can be acceded to auth users.
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|
Ticket 0009954 mix fallback server functionnality and multiple LDAP servers with different information in each LDAP server.
|Tags||No tags attached.|
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.
The possibility to specify multiple, space-delimited LDAP URIs was added to the ldap_connect() documentation about 5 years ago . 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 https://github.com/mantisbt/mantisbt/pull/1727 is merged.