You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/webapps/kpimanager/app/views.py", line 40, in login
if not User.try_login(form.username.data, form.password.data):
File "/webapps/kpimanager/app/models.py", line 42, in try_login
auth_user = LdapUser.query.filter('name:'+username).first()
File "/platform/python-2.7/lib/python2.7/site-packages/flask_ldapconn/query.py", line 70, in first
for entry in iter(self):
File "/platform/python-2.7/lib/python2.7/site-packages/flask_ldapconn/query.py", line 23, in iter
ldapentry = new_cls(dn=entry.entry_get_dn(),
AttributeError: 'NoneType' object has no attribute 'entry_get_dn'
The text was updated successfully, but these errors were encountered:
Hi,
i'm getting following error when i try to query ActiveDirectory ldap. Code is working with openldap without any problem.
auth_user = LdapUser.query.filter('name:'+username).first()
File "/webapps/kpimanager/app/views.py", line 40, in login
if not User.try_login(form.username.data, form.password.data):
File "/webapps/kpimanager/app/models.py", line 42, in try_login
auth_user = LdapUser.query.filter('name:'+username).first()
File "/platform/python-2.7/lib/python2.7/site-packages/flask_ldapconn/query.py", line 70, in first
for entry in iter(self):
File "/platform/python-2.7/lib/python2.7/site-packages/flask_ldapconn/query.py", line 23, in iter
ldapentry = new_cls(dn=entry.entry_get_dn(),
AttributeError: 'NoneType' object has no attribute 'entry_get_dn'
The text was updated successfully, but these errors were encountered: