SOURCES: trac-lighttpd.conf - simple ldap auth sample
glen
glen at pld-linux.org
Mon May 26 17:40:44 CEST 2008
Author: glen Date: Mon May 26 15:40:44 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- simple ldap auth sample
---- Files affected:
SOURCES:
trac-lighttpd.conf (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/trac-lighttpd.conf
diff -u SOURCES/trac-lighttpd.conf:1.3 SOURCES/trac-lighttpd.conf:1.4
--- SOURCES/trac-lighttpd.conf:1.3 Thu Mar 27 11:59:32 2008
+++ SOURCES/trac-lighttpd.conf Mon May 26 17:40:38 2008
@@ -10,8 +10,6 @@
)
$HTTP["url"] =~ "^/trac/([^/]+/)?login" {
- auth.backend = "htpasswd"
- auth.backend.htpasswd.userfile = "/etc/webapps/trac/htpasswd"
auth.require = (
"/" => (
"method" => "basic",
@@ -19,6 +17,16 @@
"require" => "valid-user"
)
)
+
+ auth.backend = "htpasswd"
+
+ # htpasswd config
+ auth.backend.htpasswd.userfile = "/etc/webapps/trac/htpasswd"
+
+ # ldap config
+ auth.backend.ldap.hostname = "localhost"
+ auth.backend.ldap.base-dn = "ou=People,dc=example,dc=org"
+ auth.backend.ldap.filter = "(uid=$)"
}
$HTTP["url"] =~ "^/trac/([^/]+/)?chrome/" {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/trac-lighttpd.conf?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list