|
To enable your web pages to use LDAP authentication , please follow the listed steps:
- create a file named .htaccess in the directory you want to protect
- inside it insert something like this :
There are a few other variations :
- To let all users with an LDAP account , use : require valid-user
- To authenticate users by name, rather username , use : require user "John Doe"
- To authenticate users from a group test , use : require group test
- To filter users based on an LDAP attribute(e.g. to restrict to users that are allowed to login into b1), use :
AuthAuthoritative Off require ldap-attribute host="b1.cs.kent.edu"
If the group authentication above does not work, then try adding the following directives to your .htaccess file:
AuthAuthoritative Off
require filter "(KSUStatus=sys)"
Valid groups for "KSUStatus are:
- faculty
-
- staff
- sys
- grad
- ugrad
- lowlevel
Note:
Authentication on webpages(classes).cs.kent.edu is a little different, only the following is needed :
- AuthName "My LDAP Authentication"
- AuthType Basic
- AuthLDAPURL "ldap://ldap1.cs.kent.edu ldap2.cs.kent.edu/dc=cs, dc=kent, dc=edu"
- require user username
If you have suggestions on this document, please email them at systems@cs.kent.edu.
|