28806
DISCUSSIONS
102200
MEMBERS
3161
ARTICLES
Created on 10-26-2018 07:25 AM - edited 09-16-2022 06:50 AM
Hello my dear gods of the Big Data!
I'm having the following problems:
Problem #1 - all users are login in as superusers. How is this possible? I have a 5.12 cluster and this isn't happening. On a the new one (CDH 6), Hue is giving this permission to everyone. What am I missing?
Problem #2 - LDAP configuration. Hue isn't using my filters!?
LDAP Configuration:
Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini
[desktop]
[[ldap]]
sync_groups_on_login=true
debug_level=255
trace_level=9
Authentication Backend (LdapBackend ldap_url) - ldap://stuff1.stuff2.stuff3:389
LDAP Username Pattern (ldap_username_pattern) - empty
Use Search Bind Authentication (search_bind_authentication) - True
Create LDAP users on login (create_users_on_login) - True
[26/Oct/2018 14:57:52 +0100] DEBUG search_s('dc=stuff1,dc=stuff2,dc=stuff3', 2, '(&(sAMAccountName=%(user)s)(objectclass=*))') returned 1 objects: cn=myuser,ou=stuff5,dc=stuff1,dc=stuff2,dc=stuff3 [26/Oct/2018 14:57:52 +0100] DEBUG Populating Django user myuser [26/Oct/2018 14:57:53 +0100] WARNING 123.123.123.123 myuser - "POST /hue/accounts/login HTTP/1.1"-- Successful login for user: myuser
(&(sAMAccountName=%(user)s)(objectclass=*))
Instead of what I've set above???
Thanks everyone!