Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
1. I can't find where $auth_conf is defined, so this code is probably incorrect
setcookie("seamless_login_attempted", 'true', time() + (int)$auth_conf->cookieExpire, base_path(), "");
2. I guess there's a problem with availability of some functions. It looks related to drupal_goto()
Fatal error: Call to undefined function drupal_get_path_alias() in \includes\common.inc on line 2148
I have Locale module enabled and inclusion of path.inc in ldap_sso_boot() gets me another error — undefined $language_url->language in path.inc.
I had to turn off "Turn on automated single sign-on" in LDAP Auth settings to sort this out.
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentedThis is really a duplicate of #1328750: LDAP SSO: drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL) is excessive. Which is an issue basically attempting to limit the amount of code and bootstrapping in hook_boot so LDAP SSO doesn't create problems with other modules. All the bugs are fallout from this.
I've really made a mess of this and am currently working on simpletests for LDAP SSO.