{"id":847,"date":"2014-01-14T15:53:24","date_gmt":"2014-01-14T19:53:24","guid":{"rendered":"http:\/\/blog.uvm.edu\/ctl-projects\/?p=749"},"modified":"2014-01-14T15:53:24","modified_gmt":"2014-01-14T19:53:24","slug":"drupal-for-sociology-2","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/waw\/2014\/01\/14\/drupal-for-sociology-2\/","title":{"rendered":"Drupal for Sociology"},"content":{"rendered":"<p>Granted soceval.w3.uvm.edu from SAA. Obtained account on webdb database server.<\/p>\n<p>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.<\/p>\n<p>LDAP integration and SSO:<\/p>\n<p>Start at\u00a0<a href=\"https:\/\/drupal.org\/project\/ldap\">https:\/\/drupal.org\/project\/ldap<\/a><\/p>\n<div>get\u00a07.x-2.0-beta8\u00a0<a href=\"http:\/\/ftp.drupal.org\/files\/projects\/ldap-7.x-2.0-beta8.tar.gz\">http:\/\/ftp.drupal.org\/files\/projects\/ldap-7.x-2.0-beta8.tar.gz<\/a><\/div>\n<div>Requires ctools\u00a0<a href=\"https:\/\/drupal.org\/project\/ctools\">https:\/\/drupal.org\/project\/ctools<\/a><\/div>\n<div>requires Entity API\u00a0<a href=\"https:\/\/drupal.org\/project\/entity\">https:\/\/drupal.org\/project\/entity<\/a><\/div>\n<div><\/div>\n<div>Enable above and LDAP\u2026<\/div>\n<div><\/div>\n<div>LDAP Authentication<\/div>\n<div>LDAP Authorization<\/div>\n<div>LDAP Authorization &#8211; Drupal Roles<\/div>\n<div>LDAP Servers<\/div>\n<div>LDAP SSO<\/div>\n<div>LDAP User Module<\/div>\n<div><\/div>\n<div>Configure Server<\/div>\n<div><\/div>\n<div><\/div>\n<div><a href=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-13-at-3.56.54-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-773\" alt=\"Screen Shot 2014-01-13 at 3.56.54 PM\" src=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-13-at-3.56.54-PM-1024x643.png\" width=\"595\" height=\"373\" \/><\/a><\/div>\n<div><span style=\"line-height: 1.5em\"><a href=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-13-at-3.57.12-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-772\" alt=\"Screen Shot 2014-01-13 at 3.57.12 PM\" src=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-13-at-3.57.12-PM-1024x557.png\" width=\"595\" height=\"323\" \/><\/a><\/span><\/div>\n<div><\/div>\n<div><span style=\"line-height: 1.5em\">Configure Authentication, Authorization, SSO<\/span><\/div>\n<div><\/div>\n<div>Here\u2019s where it falls off tracks: LDAP authentication works, but I can\u2019t get any LDAP attribute to Drupal role mapping to work \u2014 looks like it wants to use ldap groups, not user attributes.<\/div>\n<div><\/div>\n<div>And SSO doesn\u2019t work. Can\u2019t seem to apply WebAuth to\u00a0<a href=\"https:\/\/soceval.w3.uvm.edu\/sociology\/user\/login\/sso\">https:\/\/soceval.w3.uvm.edu\/sociology\/user\/login\/sso<\/a>\u00a0using .htaccess<\/div>\n<div><\/div>\n<div>Needed to create dummy directory sociology\/users\/login\/sso and place .htaccess there.<\/div>\n<div><\/div>\n<div>I took out WebAuth stuff from root .htacccess, and added the rewrite statement<\/div>\n<div><\/div>\n<div>\u00a0RewriteRule user\/.* index.php [L]<\/div>\n<div><\/div>\n<div>put this in user\/login\/sso\/.htaccessAuthType WebAuth<br \/>\nRequire valid-user<br \/>\nWebAuthOptional Offturned off &#8220;automated\/seamless single sign-on\u201d in LDAP AuthenticationUnder Structure=&gt; Blocks Moved User Login Block from sidebar to disabled<\/p>\n<p>Under Structure-&gt; Menu added Login with path user\/login\/sso<\/p>\n<p>And like magic,\u00a0<a href=\"http:\/\/soceval.w3.uvm.edu\/sociology\/\">http:\/\/soceval.w3.uvm.edu\/sociology\/<\/a><\/p>\n<\/div>\n<div><\/div>\n<div>LDAP mapping to Drupal rolles still pending. Going to try Organic Groups<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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: &hellip; <a href=\"https:\/\/blog.uvm.edu\/waw\/2014\/01\/14\/drupal-for-sociology-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41826],"tags":[42758,41855,42762],"class_list":["post-847","post","type-post","status-publish","format-standard","hentry","category-wes","tag-boffins","tag-drupal","tag-faculty-projects"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/comments?post=847"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/847\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/media?parent=847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/categories?post=847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/tags?post=847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}