Giter Club home page Giter Club logo

google-apps-sync's Introduction

google-apps-sync

================================ Synchronization tool between LDAP/Active Directory and Google APPS

Utility google-apps-sync is a command line tool that allows administrators synchronize between Active Directory or LDAP as source and Google Apps as destination.

This script was created at Brno University of Technology as alternative to Google GADS synchronization tool. Compared to the GADS tool, this script is open source, more flexible, faster and perhaps has less errors.

Important notice

In the case of use outside the Brno University of Technology, it will be necessary to make minor adjustments in the code.

Implemented functions

Currently this script can do this:

  • synchronization of users (add, change, remove)
  • synchronizing of groups (add, change, remove)
  • synchronizing of group members (add, remove)
  • synchronizing of profile photos (add, change, remove)
  • synchronizing of user aliases (add, remove)

All datasets are cached for defined period in JSON files.

The script requires a correctly filled attributes in Active Directory, especially mail, emplyeeID, gidNumber and for orgunits also attribute adminDescription. For more informations see source code.

Installation

git clone https://github.com/kreuzwieser/google-apps-sync.git

Configuration

  1. change settings in file config/GoogleAppSyncSettings.pm
  2. create new service ID (as service): https://console.developers.google.com
  3. download JSON key file, which was generated from https://console.developers.google.com to config file config/ouath2service.json
  4. enable API in admin console at https://admin.google.com and add permission to all required scopes:

For better step-by-step documentation about API see GAM wiki: https://github.com/jay0lee/GAM/wiki. GAM is a command line tool that allows administrators to manage many aspects of their Google Apps Account.

google-apps-sync's People

Contributors

kreuzwieser avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.