Who could help me update MNet documentation?

Who could help me update MNet documentation?

Stuart Cording -
回帖数:3

Having struggled for several days to created a working MNet Hub as per the documentation here:

https://docs.moodle.org/30/en/MNet

I have failed to make a network where I can implement single sign-on.

If anyone is willing to help me, I would be prepared to re-write the documentation on MHub to make it easier for others to do this too.

The effect of other options and situations on MNet functionality are, for me at least, unclear.

Take the following situation for example:

I have an MNet hub set up and "Moodle-A" as a peer. If I have "Email-based self-registration" enabled and "MNet authentication" I would expect that registering a new user on Moodle-A would actually put their registration data on the MNet Hub. But it doesn't - the user only exists on the Moodle-A server.

Another situation:

I have an MNet Hub and Moodle-A and Moodle-B set up as peers. Mary is allowed to access Moodle-A and Moodle-B. John is only allowed to access Moodle-A. I don't see how MNet Hub allows me to authorise access in this manner.

Some of the documentation I found seems to imply that perhaps a course needs to be available on the peer Moodles before peer-specific access can be applied.

It is also unclear what, if any, other choices (such as location of the moodledata directory, MySQL database, etc.) might effect successful operation on MNet.

Drop me a line here if you are willing to help me tackle this - I am sure there will be plenty of users who would be happy to have a clearer explanation of MNet too.


Thanks!

回复Stuart Cording

Re: Who could help me update MNet documentation?

Simon Vart -

Hi,


We are working heavily with Mnet (we are extending Mnet basic feature with webservices), so maybe we could be of some help. Drop me a line if you want to exchange emails.


Regards

simon

回复Stuart Cording

Re: Who could help me update MNet documentation?

SVI eSolutions -

HI, 

Did anyone help you with this? I am also experiencing many problems.
I have followed the steps of the mnet documentation as much as I can.

I had to add the $CFG->opensslcnf = in my config page.

But when I try to save I always get the following if the dubugin is on :

Request for https://myfakemoodlesite.com returned unexpected result

  • line 138 of \mnet\lib.php: call to debugging()
  • line 115 of \admin\mnet\peers.php: call to mnet_get_public_key()

Lower in the page the current public key is empty.

If I print the error is seems to refer to curl error 51 : CURLE_PEER_FAILED_VERIFICATION

I'm not sure what else to try. Could the fact that both my moodles are on the same server be a problem? 

Or that they have the same secruity certificate?

Any suggestions?

 

回复SVI eSolutions

Re: Who could help me update MNet documentation?

Simon Vart -

Hi,

Could be a DNS resolution problem : one instance is calling the other with $res = xmlrpc_decode(curl_exec($ch));

So you should make sure that your domain could be resolve locally.