Ticket #464 (new enhancement)

Opened 3 years ago

Last modified 1 year ago

mulitple ldap hostnames

Reported by: bkw@weisshuhn.de Assigned to: jan
Priority: low Milestone:
Component: mod_auth Version: 1.4.8
Severity: minor Keywords: ldap
Cc: Blocking:
Need Feedback: 0

Description

For failover it would be nice to be able to enumerate more than one ldap server name, like most other clients allow.

Attachments

Change History

(follow-up: ↓ 3 ) 02/10/2006 01:43:09 PM changed by bkw

Ahem... it seems this is already possible. I just tried:

 "auth.backend.ldap.hostname = "bogus.example.com real.ldap.server.com"

and it worked!

Not sure if this will also handle failover after connecting, but I'll do some testing . We should document this, probably...

02/10/2006 01:54:36 PM changed by bkw

OK, it seems to work like this (lighttpd-1.4.10 + cgi-patch):

  • During startup the first working ldap server is chosen.
  • If that server should go down, no failover takes place
  • moreover, even if the ldap server comes back, lighty needs a restart to reconnect. Not sure how this relates to Ticket #294 and the LDAP reconnect patch...

Should I open a new ticket?

(in reply to: ↑ 1 ) 08/18/2007 01:12:38 PM changed by deepunix

  • blocking changed.
  • pending changed.

because it's a standard feature of ldap library, see ldap_init(3).

Replying to bkw:

Ahem... it seems this is already possible. I just tried: {{{ "auth.backend.ldap.hostname = "bogus.example.com real.ldap.server.com" }}} and it worked!


Add/Change #464 (mulitple ldap hostnames)




Change Properties