Granted soceval.w3.uvm.edu from SAA. Obtained account on webdb database server.
Attempted Drupal 7.25 install. Various failings due to SELinux file permissions. Had to unpack tar file directly into www-root. Who knew. after that, install was smooth.
LDAP integration and SSO:
Start at https://drupal.org/project/ldap
get 7.x-2.0-beta8 http://ftp.drupal.org/files/projects/ldap-7.x-2.0-beta8.tar.gz
Requires ctools https://drupal.org/project/ctools
requires Entity API https://drupal.org/project/entity
Enable above and LDAP…
LDAP Authentication
LDAP Authorization
LDAP Authorization – Drupal Roles
LDAP Servers
LDAP SSO
LDAP User Module
Configure Server
Configure Authentication, Authorization, SSO
Here’s where it falls off tracks: LDAP authentication works, but I can’t get any LDAP attribute to Drupal role mapping to work — looks like it wants to use ldap groups, not user attributes.
And SSO doesn’t work. Can’t seem to apply WebAuth to https://soceval.w3.uvm.edu/sociology/user/login/sso using .htaccess
Needed to create dummy directory sociology/users/login/sso and place .htaccess there.
I took out WebAuth stuff from root .htacccess, and added the rewrite statement
RewriteRule user/.* index.php [L]
put this in user/login/sso/.htaccessAuthType WebAuth
Require valid-user
WebAuthOptional Offturned off “automated/seamless single sign-on” in LDAP AuthenticationUnder Structure=> Blocks Moved User Login Block from sidebar to disabled
Require valid-user
WebAuthOptional Offturned off “automated/seamless single sign-on” in LDAP AuthenticationUnder Structure=> Blocks Moved User Login Block from sidebar to disabled
Under Structure-> Menu added Login with path user/login/sso
And like magic, http://soceval.w3.uvm.edu/sociology/
LDAP mapping to Drupal rolles still pending. Going to try Organic Groups