Keyhole symbol leads to text only Web siteKSU Department of Computer Science: Home   Kent State University: Home
Slogan: Stretching Computing Boundaries Through Research
Home   Graduate Program   Undergraduate Program   Faculty   Research   Resources   Student Life  
Systems Home
Announcements
System Status
Policies
Forms
Staff Schedule
Available Services
Email Configuration
Printer Information
Machine Information
Apache + LDAP
Backups
Lab Information
Wireless
Available Software/Links
Problem Reporting
FAQ
     
 
Apache LDAP authentication

To enable your web pages to use LDAP authentication , please follow the listed steps:

  1. create a file named .htaccess in the directory you want to protect
  2. inside it insert something like this :
    • AuthName "My LDAP Authentication"
    • AuthType Basic
    • LDAP_Server ldap1.cs.kent.edu    # here you can substitute ldap1 with ldap2; 
                                    # the ldap hosts can also be put on the same line for redundancy
    • LDAP_Port 389
    • Base_DN "dc=cs,dc=kent,dc=edu"
    • UID_attr uid
    • require user username1, username2, username3
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.

 

Dr. Michael Rothstein
Dr. Rothstein is the coach of the Kent State programming team for the ACM Scholastic Programming Contest. >> more

   
 
Kent State University, Department of Computer Science, Kent, Ohio, 44242-0001
Questions Email for General Questions Email for Questions about the Undergraduate Program Email for Questions about the Graduate Program Email the Webmaster Phone: 330-672-9980, Fax: 330-672-7824

Kent State University, Department of Computer Science, Kent, OH 44242-0001
Phone: 330-672-9980, Fax: 330-672-7824