Project

General

Profile

Feature #1936

LDAP Virtual Host Definition Storage Integration

Added by hazzadous over 8 years ago. Updated 9 months ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
mod_vhostdb
Target version:
Start date:
2009-03-16
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

Use LDAP queries for ServerName -> DocRoot resolution. Attached is a start in this direction, using mod_lvhost from launchpad as a base. Currently working in 1.4.20. Supports simple binds and SASL PLAIN. StartTLS, SASL EXTERNAL and GSSAPI to come. Was contemplating writing something similar to postfix's mappings functionality, i.e. allow things like simple_vhost = ldap:/etc/lighttpd/ldap_vhosts.conf mysql:/etc/lighttpd/mysql_vhosts.conf as per #1935. For now though this is it.

mod_lvhost.c (17.4 KB) mod_lvhost.c hazzadous, 2009-03-16 14:54
mod_lvhost.c (18.1 KB) mod_lvhost.c hazzadous, 2009-03-22 14:10

Associated revisions

Revision 2f83aac9 (diff)
Added by gstrauss 10 months ago

mod_vhostdb* (dbi,mysql,pgsql,ldap) (fixes #485, fixes #1936, fixes #2297)

mod_vhostdb - vhost docroot lookups

backends:

mod_vhostdb_dbi
mod_vhostdb_ldap
mod_vhostdb_mysql (now preferred over mod_mysql_vhost.c)
mod_vhostdb_pgsql

STATUS: experimental (testing and feedback appreciated)

x-ref:
"PostgreSQL virtual host support"
https://redmine.lighttpd.net/issues/485
"LDAP Virtual Host Definition Storage Integration"
https://redmine.lighttpd.net/issues/1936
"mod_dbi_vhost (patch included)"
https://redmine.lighttpd.net/issues/2297

History

#1

Updated by hazzadous over 8 years ago

  • Target version set to 1.4.20
#2

Updated by icy over 8 years ago

  • Target version changed from 1.4.20 to 1.4.23
#3

Updated by hazzadous over 8 years ago

Here's an updated version with reorganised cache code, and starttls support (although this is untested).

#4

Updated by stbuehler over 8 years ago

  • Tracker changed from Bug to Feature
#5

Updated by stbuehler over 8 years ago

  • Target version changed from 1.4.23 to 1.4.24
#6

Updated by stbuehler about 8 years ago

  • Target version changed from 1.4.24 to 1.4.x
#7

Updated by gstrauss over 1 year ago

  • Category set to 3rd party
#8

Updated by gstrauss 10 months ago

  • Category changed from 3rd party to mod_vhostdb
  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.46
#9

Updated by gstrauss 10 months ago

  • Priority changed from Normal to Low
#10

Updated by gstrauss 9 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom