This is a discussion on apache2 mod_auth_ldap with multiple ldap servers not working... within the Linux Web Servers forums, part of the Web Server and Related Forums category; Failing to get it working under 1.3.x I figure it's time to finally move to apache2. Well, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Failing to get it working under 1.3.x I figure it's time to finally move to apache2. Well, I can't get mod_auth_ldap to support multiple ldap servers. Our basedn includes spaces, ie "o=My Organization, c=US", so I already had problems with just using one server until I figured out I had to put the whole string in quotes. We also use a non standard port. The following string (one server) works fine: AuthLDAPURL "ldap://my.server.net:12345/o=My Organization, c=US?uid?sub?" But then adding a second server it won't work at all, specially that you have to quote everything under one set of quotes, or else the module complains that it only accepts one argument. Also, it's not clear if you need to specify the base for each server (but it doesn't make a difference). Basically, the same problem I had with Dave's auth_ldap for 1.3... AuthLDAPURL "ldap://my2.server.net:12345 ldap://my.sever.net:12345/o=My Organization, c=US?uid?sub?" The above hits the first server (my2.server.net) but the server being down, it fails to roll over to the next one. Any one gotten this to work under similar conditions (ie spaces in the base and/or nonstandard ports) ? Currently the module is compiled using Openldap libraries - haven't tried with iPlanet's yet, though for auth_ldap under 1.3 I had and didn't work either... TIA... |