
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
This Python module allows you to synchronise Postgres login roles with users in an LDAP directory.
In order to use it, you will need to create a config.ini file containing the site-specific configuration you require. See config.ini.example for a complete list of all the available configuration options. This file should be copied to create your own configuration.
Once configured, simply run pgldapsync like so:
python pgldapsync.py /path/to/config.ini
In order to test the configuration (and dump the SQL that would be executed to stdout), run it like this:
python pgldapsync.py --dry-run /path/to/config.ini
Assuming you have the virtualenv package installed:
venv pgldapsync
source pgldapsync/bin/activate.sh
pip install -r requirements.txt
Adapt the first command as required for your environment/Python version.
To create a package (wheel), run the following in your virtual environment:
python setup.py sdist bdist_wheel --universal
Copyright 2018 - 2021, EnterpriseDB Corporation
FAQs
Synchronise LDAP users to Postgres
We found that pgldapsync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.