Skip to main content

LDAP utilities for the Early Detection Research Network Directory

Project description

☎️ EDRN LDAP Sync

This package contains utilities for the dirctory service of the EDRN. There are three console scripts provided:

  • usersync — adds and removes users from the EDRN RDF feed for registered people
  • groupsync — adds and updates funded sites and collaborative groups from the EDRN RDF feeds for sites and committees
  • all-edrn-sync — keeps the All EDRN group up-to-date

🚗 Getting Started

Do something like the following:

$ python3 -m venv venv
$ venv/bin/pip install --quiet --upgrade setuptools pip wheel
$ venv/bin/pip install --editable .

and you should be good to go to run the three scripts mentioned above out of venv/bin.

🎥 Production Use

Just add a crontab entry like the following:

@daily /usr/local/edrn/edrn/ldap-sync-utils/bin/usersync --password PASSWORD --quiet
@daily /usr/local/edrn/edrn/ldap-sync-utils/bin/groupsync --password PASSWORD --quiet
@hourly /usr/local/edrn/edrn/ldap-sync-utils/bin/all-edrn-sync --password PASSWORD --quiet

replacing PASSWORD with the password of the manager account of the EDRN Directory Service.

📀 Software Environment

This is written in Python 3 and requires Python 3.7 or later (but probably not Python 4 or later).

👥 Contributing

You can start by looking at the open issues, forking the project, and submitting a pull request. You can also contact us by email with suggestions.

🔢 Versioning

We use the SemVer philosophy for versioning this software. For versions available, see the releases made on this project.

👩‍🎨 Creators

The principal developer is:

📃 License

The project is licensed under the Apache version 2 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jpl_edrn_ldap_sync-2.0.2.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

jpl.edrn.ldap.sync-2.0.2-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page