Coder Social home page Coder Social logo

azureadconnect_ldap's Introduction

Install notes

If you are using samba 4 see : https://github.com/sfonteneau/AzureADConnect_Samba4

  • apt-get install python3-pip git
  • cd /tmp
  • git https://github.com/sfonteneau/AzureADConnect_Ldap.git
  • mv AzureADConnect_Ldap /opt/sync-azure
  • cd /opt/sync-azure/
  • pip3 install -r requirements.txt
  • git submodule update --progress --init -- "AADInternals_python"
  • cd /opt/sync-azure/AADInternals_python
  • pip3 install -r requirements.txt
  • git submodule update --progress --init -- "python_wcfbin"
  • mkdir /etc/azureconf/
  • cd /opt/sync-azure
  • cp -f azure.conf.exemple /etc/azureconf/azure.conf
  • cp -f mapping.json.exemple /etc/azureconf/mapping.json
  • Configure /etc/azureconf/azure.conf
  • Edit /etc/azureconf/mapping.json if need

You can try like this:

python3 /opt/sync-azure/run_sync.py

The script sends all users and groups a first time and then only sends what has been modified since the last send during the next launch.

Warning

  • Please note that this project uses Microsoft APIs not officially documented. Microsoft may break compatibility at any time

  • mail is used for the email address

  • "password writeback" not supported

  • User and group management only

sourceanchor

The default sourceanchor for user and group in azure.conf.exemple is the uidNumber/guidNumber

If "sourceanchor" changes, it will initiate object deletions and then object recreations. You must therefore choose your sourceanchor well and not change it

A dry_run mode allows you to run the script without making any changes

password

The password sent to azure ad is an "NTLM hash", if you are using an openldap with samba3 schema then that hash is the sambaNTPassword

As far as I know , there is currently no other type of hash supported by microsoft, the other alternative is the plaintext password...

azureadconnect_ldap's People

Contributors

sfonteneau avatar rave-net 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.