Hi, we have setup a installation for our university with SSO. We register the willing users with a python script addUser.py and give them a generated passwd. For using Google Apps with a Webbrowser SSO works fine - users are using their SSO once a day authetificated for all services at university or for Google Apps.
But some want tu use mobiles ore other special application, so they need also the google account/passwd. This is running with the generated passwd well but naturally users want to change this password. I dont find an example for changing password via python API. I have tried ... user_entry=service.RetrieveUser(user_name) user_entry.login.password=user_password) service.UpdateUser(user_name, user_entry) and got an error in UpdateUser call ... Then I found the passwd has to be in SHA-1 and tries next user_entry=service.RetrieveUser(user_name) user_entry.login.password=sha.new(user_password).hexdigest() service.UpdateUser(user_name, user_entry) This call work well, but the setting passwd fails. To correct this I can use the adopted php-demo but this is not the soluition for us. Can anybody help? What I miss is a collection of small scripts like addUser.py, changePassword.py, changeUserName.py, etc. We could give our working scripts into such a collection ... Regards Guenther --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
