apache2 mod_auth_ldap with multiple ldap servers not working...

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, ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2005
suave@poseidon.rider.edu
 
Posts: n/a
Default apache2 mod_auth_ldap with multiple ldap servers not working...


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...

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0