Skip to content

andersruneson/script_modify_password_googleapps_and_office365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Script modify password googleapps and office365

Place the "script" and "password" to the / folder .

Installation

Google Apps

1.Install python-pip

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

7.Edit /script/GAPS/gaps.conf

Office 365

1.Create your domaine in "windows azure"

2.git clone git://github.com/Azure/azure-sdk-for-python.git

3.cd azure-sdk-for-python

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published