Hi Claudio,
Within Moodle I have installed three 'blocks' - GMail, Google Apps and Google User Sync. The Google User Sync is configured with my admin username / password and domain URL for Google Apps. You then set a cron interval for how often Moodle to Google synchronization should take place. The other 2 blocks are just to display information on the Moodle homepage.
Within Moodle there is also a 'Google Authentication' section which I have configured. This includes the domain name, RSA Key file upload and SSL Signing Certificate upload.
I have enabled single sign on feature in the Google Apps control panel and also enabled API access. Also uploaded the SSL Signing Certificate to Moodle as required.
As mentioned in my first post, we currently authenticate Moodle users using Active Directory and LDAP.
I have just changed a setting under 'LDAP Server Settings' in Moodle to Not Hide Passwords, meaning the encrypted password is stored in the Moodle Database (With this setting set to 'Hide Passwords', it meant that the entry in the database was 'Not Cached', causing the error earlier). This has now solved the Invalid Password error. However I am not receiving the following error:
Synchronization haulted: Google Apps error: Unable to Connect to
ssl://www.google.com:443. Error #102575976: Unable to find the socket transport
"ssl" - did you forget to enable it when you configured PHP? Execution took
0.223913 seconds.
So I have now gone from one problem to another, although progress none the least!
Thanks,
Shaun