Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2671

[core] sync_groups_on_login doesn't work with NT Domain

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: core.api
    • Labels:
      None

      Description

      When configuring Ldap with "nt_domain" and "sync_groups_on_login", hue goes through this piece of code in ldap_access.py:

      def get_connection_from_server(server=None):
      if server:
      return get_connection(desktop.conf.LDAP.LDAP_SERVERS.get()[server], search_bind_authentication=desktop.conf.LDAP.SEARCH_BIND_AUTHENTICATION.get())
      else:
      return get_connection(desktop.conf.LDAP, search_bind_authentication=desktop.conf.LDAP.SEARCH_BIND_AUTHENTICATION.get())

      However, since we aren't specifying LDAP_SERVERS, the return within "if server" throws a 500 error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cconner Chris Conner
                Reporter:
                cconner Chris Conner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: