bharath0208 edited a comment on issue #8980: Can't contact LDAP server
URL: 
https://github.com/apache/incubator-superset/issues/8980#issuecomment-576751206
 
 
   @PeterCahn @dpgaspar 
   
   Thanks peter I have added this value already when AUTH_LDAP_BIND_USER is set 
to True. I fixed this error by adding this property in my deployment YAML file. 
   
       **spec:
         hostAliases:
           - ip: "8888888888888"
             hostnames:
               - "google.com"**
   
   I see the authentication is going through now but I am getting the below 
error.  Any help can be highly appreciated.
   
   ```  
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2446, in 
wsgi_app
       response = self.full_dispatch_request()
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1951, in 
full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1820, in 
handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 39, 
in reraise
       raise value
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1949, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1935, in 
dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/local/lib/python3.6/site-packages/superset/views/core.py", line 
2806, in welcome
       "common": common_bootstrap_payload(),
     File "/usr/local/lib/python3.6/site-packages/superset/views/base.py", line 
258, in common_bootstrap_payload
       "menu_data": menu_data(),
     File "/usr/local/lib/python3.6/site-packages/superset/views/base.py", line 
200, in menu_data
       menu = appbuilder.menu.get_data()
     File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/menu.py", 
line 62, in get_data
       allowed_menus = current_app.appbuilder.sm.get_user_menu_access(
   AttributeError: 'SupersetSecurityManager' object has no attribute 
'get_user_menu_access'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to