Drupal for Sociology

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

Enable above and LDAP…
LDAP Authentication
LDAP Authorization
LDAP Authorization – Drupal Roles
LDAP Servers
LDAP SSO
LDAP User Module
Configure Server
Screen Shot 2014-01-13 at 3.56.54 PM
Screen Shot 2014-01-13 at 3.57.12 PM
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

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

About Wesley Wright

Born on a mountain top near New York City, Craziest state in the land of the pretty. Raised in the woods so's he knew every tree, Killed him a bear when he was only three.
This entry was posted in Wes and tagged , , . Bookmark the permalink.