Script modify password googleapps and office365
Place the "script" and "password" to the / folder .
2.Create a project in Google Developer Console and ad Admin SDK permission
3.Create a JSON config for you project in Google Developer Console
4.Download the json config from the Google Developer Console to your samba machine and replace json
5.If you are having issues with Google Permissions - you might need to add domain-wide authority to your service Delegate domain-wide authority to your service account
6.pip install --upgrade google-api-python-client
1.Create your domaine in "windows azure"
2.git clone git://github.com/Azure/azure-sdk-for-python.git
4.python setup.py install
5.Replace username and password in /script/office/officepassword.py and replace your domain
Add this crontab for re-try send passwords again:
*/5 * * * * /usr/bin/python /script/try_again_O365.py
*/5 * * * * /usr/bin/python /script/try_again_google.py
/script/posthock.sh the script can be added to self-service-password (http://ltb-project.org/wiki/documentation/self-service-password)