Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/privacyidea/privacyidea-ldap-proxy
:evergreen_tree: LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA
https://github.com/privacyidea/privacyidea-ldap-proxy
2fa authentication ldap-proxy python two-factor
Last synced: 3 months ago
JSON representation
:evergreen_tree: LDAP Proxy to intercept LDAP binds and authenticate against privacyIDEA
- Host: GitHub
- URL: https://github.com/privacyidea/privacyidea-ldap-proxy
- Owner: privacyidea
- License: agpl-3.0
- Created: 2017-01-27T13:25:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T08:25:11.000Z (over 1 year ago)
- Last Synced: 2024-04-24T06:22:54.258Z (10 months ago)
- Topics: 2fa, authentication, ldap-proxy, python, two-factor
- Language: Python
- Homepage:
- Size: 179 KB
- Stars: 19
- Watchers: 7
- Forks: 13
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
README
privacyidea-ldap-proxy
======================`ldap-proxy` is implemented as a [twistd plugin](http://twistedmatrix.com/documents/current/core/howto/tap.html).
Installation
------------It is recommended to install ldap-proxy inside a virtualenv.
virtualenv2 venv
. ./venv/bin/activate
pip install -r requirements.txt
pip install .If you wish to develop ldap-proxy, you could instead install it in "editable mode" using
pip install -e .
Configuration
-------------`ldap-proxy` is configured via a configuration file. See `example-proxy.ini` as an example.
Running
-------ldap-proxy can be run in the foreground as follows:
twistd -n ldap-proxy -c config.ini
twistd can be used to configure, e.g., logging and daemonizing. Refer to its
[documentation](https://twistedmatrix.com/documents/current/core/howto/basics.html) for more information.`deploy/` contains an exemplary systemd service file.
Testing
-------Unit tests are implemented using [Trial](http://twistedmatrix.com/documents/current/core/howto/trial.html), which
is part of Twisted. They can be run using:trial pi_ldapproxy.test
There are also a number of client-side scenarios implemented in the `scenarios/` directory.