diff options
author | andreas <andreas@immerda.ch> | 2008-04-29 10:14:55 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2008-04-29 10:14:55 +0000 |
commit | 589f4f5e2d816807db0493f6ad36c31b8be2f87d (patch) | |
tree | c2563d283be20594b6dd5a595d947765e0b22ce6 /files/modules.d/Gentoo/46_mod_ldap.conf | |
parent | 15b347f668a6429501c5f14faed8546b1af006cb (diff) |
${operatingsystem} = Gentoo not gentoo
Diffstat (limited to 'files/modules.d/Gentoo/46_mod_ldap.conf')
-rw-r--r-- | files/modules.d/Gentoo/46_mod_ldap.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/files/modules.d/Gentoo/46_mod_ldap.conf b/files/modules.d/Gentoo/46_mod_ldap.conf new file mode 100644 index 0000000..837bc6e --- /dev/null +++ b/files/modules.d/Gentoo/46_mod_ldap.conf @@ -0,0 +1,29 @@ +# Examples below are taken from the online documentation +# Refer to: +# http://localhost/manual/mod/mod_ldap.html +# http://localhost/manual/mod/mod_auth_ldap.html +<IfDefine LDAP> +<IfModule ldap_module> +LDAPSharedCacheSize 200000 +LDAPCacheEntries 1024 +LDAPCacheTTL 600 +LDAPOpCacheEntries 1024 +LDAPOpCacheTTL 600 + +<Location /ldap-status> + SetHandler ldap-status + Order deny,allow + Deny from all + Allow from 127.0.0.1 +</Location> +</IfModule> +</IfDefine> + +<IfDefine AUTHNZ_LDAP> +<IfModule authnz_ldap_module> + #AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*) + #require valid-user +</IfModule> +</IfDefine> + +# vim: ts=4 filetype=apache |