Skip to content

A Python script that pull information from an Active Directory or LDAP servers and imports the changes to the MailRoute Control Panel.

License

Notifications You must be signed in to change notification settings

MailRoute/AD-LDAP-Sync-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AD-LDAP-Sync-Script

A Python script that pull information from an Active Directory or LDAP servers and imports the changes to the MailRoute Control Panel.

Requirements

  • python-ldap

License

Apache 2.0 License. See LICENSE for details.

Data format

If you want to write your own data provider you just need to post jsoned data at "https://admin.mailroute.net/api/v1/ldapsync/remote_data/?domain=your_domain" with the following format:

[
    {'email': 'email1', 'aliases': ['alias1', 'alias2']},
    {'email': 'email2', 'aliases': ['alias3', 'alias3']},
]

Basic authorisation is used. Set "Authorization" header with following data:

ApiKey api_username:api_key

About

A Python script that pull information from an Active Directory or LDAP servers and imports the changes to the MailRoute Control Panel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages