Forums | Mahara Community

Support /
Problem with SimpleSAMLphp


Joan Forcada's profile picture
Posts: 70

28 June 2019, 1:27

I want to install the saml plugin but I can't do it.

Administration> extensions> connectors> saml

I attach a catch of the error. Can you help me?

 

CapturaSAML.JPG.1

Robert Lyon's profile picture
Posts: 757

28 June 2019, 8:43

Hi Joan,

There are a couple of things to check for that error message

1) in your htdocs/config.php file check that the ssphp options are set

It should be set to something like (for example for memcached):

$cfg->ssphpsessionhandler = 'memcached';

$cfg->memcacheservers = 'localhost:11211';

- see the htdocs/lib/config-defaults.php for more information

2) Check that the settings in the htdocs/config.php file are actually accessible (from command line via telnet for example)

3) Check that the SimpleSAMLphp plugin is setup correctly - if you have set up site via git repo you will also need to do the following:

- go to parent directory of htdocs (where Makefile file lives)

- run: make ssphp

Cheers

Robert

Joan Forcada's profile picture
Posts: 70

28 June 2019, 19:06

I have solved the problem with the connector configuration. The error was a bad write in the config.php file.

But now, i don't have active this option yet. i attach a image. I can't configure institution with SAML plugin.

 

CapturaSAMl1.JPG

Kristina Hoeppner's profile picture
Posts: 4729

30 June 2019, 19:44

Hi Joan,

The message you can see in the drop-down menu says what you would need to do next:

Install the SimpleSAMLPHP libraries and configure the memcache server for sessions.

Please see Robert's earlier post. He gives advice on what to do.

Cheers

Kristina

Joan Forcada's profile picture
Posts: 70

02 July 2019, 20:57

Hi Kristina,

 

Yes, I follow the Robert's post. But when I trying to follow this site: https://wiki.mahara.org/wiki/Plugins/Auth/Saml

I have a problem: " telnet: connect to address 127.0.0.1: Connection refused"

In the archive config.php I have a new parameters: 

$cfg->ssphpsessionhandler = 'memcached';
$cfg->memcacheservers = '127.0.0.1:11211';

 

Tell me something please!

Joan Forcada's profile picture
Posts: 70

02 July 2019, 22:10

It's okey. I have solved it. 

 

Thank you!

6 results