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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jpl_edrn_ldap_sync-2.0.2.tar.gz.

File metadata

  • Download URL: jpl_edrn_ldap_sync-2.0.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.11.8

File hashes

Hashes for jpl_edrn_ldap_sync-2.0.2.tar.gz
Algorithm Hash digest
SHA256 4d74cb6b72fd29c5610bb0a3b10767d059215c87d2fac56a1237fd0f09ddc7b8
MD5 e144af754a26bbfcffe7c46b14f9fc14
BLAKE2b-256 6cdca28f9a173aab6f6276184ca04c3d95811808dcf8ebe1be590c0697618a33

See more details on using hashes here.

File details

Details for the file jpl.edrn.ldap.sync-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: jpl.edrn.ldap.sync-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.11.8

File hashes

Hashes for jpl.edrn.ldap.sync-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2baf70f4c947fff14daa58ff9f51fc1de00b521c0c031de6867ec88296f82bf8
MD5 a71f134c7ba6a1b907583e861b26d213
BLAKE2b-256 80076e27e558cb03621c703df63ae56ba30bc8e25fd9d0b69a509547d97b07c6

See more details on using hashes here.

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