hello,
hue is installed using tarball and now trying to synchronize users with ldap group. i am able to synchronize group and able to add all users into hue. however when user is trying to login, they are getting Error 500 ({"auth": false})
in error log, i can see hue is trying to add this user again and db and getting duplicate error
TypeError: 'AnonymousUser' object is not iterable
[14/Jul/2021 23:05:04 -0700] forms ERROR LDAP auth error: (1062, "Duplicate entry 'chalkeg' for key 'username'")
in hue.ini
[[ldap]]
base_dn="DC=<MY_COMPANY>,DC=COM"
ldap_url=ldaps://<company_ldap_host>:636
bind_dn="<valid_bind_dn>"
bind_password=<password>
ldap_username_pattern="sAMAccountName=<username>,DC=<my_company>,DC=COM"
search_bind_authentication=true
sync_groups_on_login=true
create_users_on_login=false
* ignore <> values as they are correct and username is getting resolved.