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

johnbarclay’s picture

Status: Active » Closed (duplicate)

This 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.