Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_auth_ldap, non-anon binding and openxchange support
The attached patch builds on your work in the following ways: 1. adds support for non-anonymous binding. Leaving the extra config variables empty results in an anonymous bind. I haven't fully tested this (I cannot test the anonymous case), but any problems should be apparent immediately. 2. adds support for httpd authentication. I use mod_auth_ldap to authenticate access to the site. This prevents the user having to login twice. 3. adds support for parts of the openxchange schema (http://www.openxchange.org). Only the parts I found useful are added. The openxchange.schema is not included as the user that enables this is expected to have already installed openxchange. darcs-hash:20060117111459-bb1f7-cc6f1f6e943f5c6ffa8f393f68c32500505dae67.gz
- Loading branch information
Daniel Tarbuck
committed
Jan 17, 2006
1 parent
c40429e
commit 77d53c7
Showing
13 changed files
with
380 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
# | |||
# Example .htaccess to use with mod_authldap | |||
# | |||
|
|||
AuthName "LDAPab" | |||
AuthType basic | |||
|
|||
AuthLDAPURL "ldap://ldap/ou=people,o=cosmocode,c=de?uid?one" | |||
|
|||
### LDAP Bind information | |||
#AuthLDAPBindDN cn=NonAnon,o=cosmocode,c=de | |||
#AuthLDAPBindPassword secret | |||
|
|||
### For LDAP group authentication | |||
#AuthLDAPGroupAttribute memberUid | |||
#AuthLDAPGroupAttributeIsDN off | |||
#require group cn=Users,ou=Groups,o=cosmocode,c=de | |||
|
|||
### Authorize users individually | |||
#require user myusername | |||
|
|||
### Authorize any authenticated user | |||
require valid-user | |||
|
|||
### Require SSL for access | |||
#SSLRequireSSL | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.