flask-simpleldap
flask-simpleldap copied to clipboard
LDAP authentication extension for the Flask web framework
Support for using ldapi Unix socket connections. Build the connection URI differently to suit. Added a new configuration option for specifying the path to the socket. Don't mandate username and...
listing all available users in the ldap directory based on the filter defined in LDAP_USERS_OBJECT_FILTER The get_users method has two arguments fields and dn_only to customize the result. i.e. get_users(fields=['uid'])...
Bumps [python-ldap](https://github.com/python-ldap/python-ldap) from 3.2.0 to 3.4.0. Release notes Sourced from python-ldap's releases. 3.4.0 This release requires Python 3.6 or above, and is tested with Python 3.6 to 3.10. Python 2...
Hello, I got all authentication working, however, I am struggling a bit in populate username and password for next step in the main dash app, like accessing database. Can you...
When in context where wrapping of routes can not be used, one can call ldap.login_required(myfunc). One can not call ldap.group_required(myfync, ["my_groups"]]) since group_required does not support myfunc as argument. Am...
Follow up to #88: The [Synology LDAP server](https://www.synology.com/en-global/dsm/software_spec/ldap_server) does not return a user's DN in its response retrieved via `get_object_details()`. The user's DN can therefore not be extracted by setting...
Hi folks! I'm using Python 3.6.4 (x64) with Windows 10 (x64). When I try to install by command line "pip install flask-simpleldap" appears following message error: Building wheels for collected...
The group object filter was trying to use userPrincipleName, which causes a failure of the filter and no results are returned for any values given in the get_group_members function.
I came across this issue where the ldap.group_required doesn't work as decorator when it is listed in API which has a blueprint from flask-restplus. ``` from flask import Blueprint from...
Here's my code which I've copy/pasted from your sample: `import ldap as l from flask import Flask, g, request, session, redirect, url_for from flask_simpleldap import LDAP app = Flask(__name__) app.secret_key...