[Closed] Populating joomla passwords by moodle?

More
14 years 6 months ago - 14 years 6 months ago #1 by ralph
Hi,
I have a running joomla 1.5 with moodle 1.9.16. The SSO is implemented via a moodleauth_1.5 component. Only existing students should have access rights to moodle and joomla. The process of user maintenance is as follows: Via Bulk upload all users are uploaded with fixed userids, a dummy (not existing) mail-account and a start-password the user knows. So, moodle is the “master”, registered users change their password and update their mail address in moodle, the password is then updated in joomla. With his start-password everybody can login to joomla right in the beginning.

I would like to switch to joomdle 0.7 because of the marvellous features to present moodle content in joomla.

Now my question: as far as I understood and tested (windows / xampp), joomdle is based on the leading role of joomla. This means, after uploading user data to moodle and synchronizing userids in joomla with Joomdle Component “Users” , the password information is not forwarded from moodle to joomla, the fields are empty (?!), even after “add user to joomla”, I get the error message of not existing account when I log in to joomla.
“setting random passwords that are emailed to the users” (for password confirmation?!) would go to Nirvana because correct mail-addresses are not existing at this moment. I need to startup with moodle passwords in joomla!

Is this understanding correct? Is there a chance to keep the current process running (self-registration can not be implemented); e.g. update password in joomla on SQL-level? Any other idea?

Thanks for your help!
Ralph
Last edit: 14 years 6 months ago by Chris.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #2 by Chris
Replied by Chris on topic Re: Populating joomla passwords by moodle?
Unfortunately, what you are trying to do is not possible due to Moodle's password Hash / Encryption.

Once possible approach might be to perform a batch upload into Joomla and then sync across to Moodle (passwords are not written in Moodle as Joomla becomes the master) using Joomdle.

Since you know the passwords (not encrypted) than you can write the passwords into the joomla user table so they can log in immediately. When the user / student first logs in, redirect them to complete the user profile including email address and proceed when completed & validated.

Same process I believe you were doing just using the other door.

Here is a link to some joomla bulk user imports allowing you to write the passwords
extensions.joomla.org/extensions/migrati...sers-import-a-export

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #3 by ralph
Replied by ralph on topic Re: Populating joomla passwords by moodle?
Thanks a lot! I will try to follow that approach to do the bulk imports to joomla inmstead of moodle, I am really optimistic! :)

Ralph

Please Log in or Create an account to join the conversation.