I have set up everything on the simple_ldap module and enabled SSO. When I look at the status report page, it say:

You must set the session_inc variable to Simple LDAP SSO's session include file.

I visit the configuration form and I do not see any setting relating to this. I'm new to Drupal so I'm not sure where to go from here. Thanks.

Comments

blc’s picture

This variable is set by the module's install hook. The only reason that error would show up in the status report is if something overwrote that variable after simple_ldap_sso was enabled. However, that should also trigger the admin interface to show a setting for it, so I'm not sure why that would happen.

Can you try disabling, and then re-enabling the simple_ldap_sso module?

jeffbrownOFMQ’s picture

Thank you for the response.

I disabled the simple_ldap_sso module on the modules tab, saved the configuration, enabled it, and saved again. The error is still present in the status report. The error was not there when the module was disabled. Is there another method I should for disabling/enabling the module? As I said, I am new to drupal, so I do not quite know all the ins and outs of it yet. We are building an Intranet site for internal use only, so we would like to have our users auto authenticated when they visit it.

What settings does the session_inc correspond to on the SSO settings tab? Is there a way I can go and set it manually in a config file?

Any other suggestions are greatly appreciated.

blc’s picture

I'm not sure why it's not setting the variable, but you can manually set it in settings.php with this

$conf['session_inc'] = 'sites/all/modules/simple_ldap/simple_ldap_sso/simple_ldap_sso.session.inc';

jeffbrownOFMQ’s picture

I copied/pasted your code into my settings.php file (I had to change the path slightly to match where my simple_ldap_sso folder was). When I did this, I could not access my page. Removing the line fixed the error.

I ended up going with another module (webserver_auth). However, I will keep an eye on any future developments on this module and may try to implement it again in the future. Thank you for your suggestions.

blc’s picture

Status: Active » Closed (cannot reproduce)
farthur’s picture

Version: 7.x-1.0-beta2 » 7.x-1.4
Status: Closed (cannot reproduce) » Active

Exactly the same problem here...
Impossible to remove the error
"You must set the session_inc variable to Simple LDAP SSO’s session include file"
How to set the session_inc variable to Simple LDAP SSO’s session include file?
have tried adding $conf['session_inc'] = '/pathto/simple_ldap_sso.session.inc';
no error but no changes... even with reinstalling the sso module...

Any idea?

John Franklin’s picture

Component: Miscellaneous » Simple LDAP SSO
Issue summary: View changes

Moving this to the SSO module.