Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-2073

Fetching user associations is fetching all groups from (AD) resource and then groups associated with the user

    XMLWordPrintable

    Details

      Description

      When editing user in midPoint 3.0, it takes too long. User has only one account on AD, with 4 groups associated.

      Based on CS log, midPoint is:

      1. fetching ALL groups in AD (ConnectorServer.exe Information: 0 : Setting search string to '(objectclass=Group)')
      2. this search eventually returns: ConnectorServer.exe Information: 0 : Search: found 927 results, took 00:00:09.060
      3. then midPoint is fetching one by one each group associated by the user (ConnectorServer.exe Information: 0 : Setting search string to '(&(objectclass=Group)(objectGUID=\87\BA\C4\C2\D3\FD\58\4D\AF\44\52\C8\17\BE\F6\A7))'; ConnectorServer.exe Information: 0 : Setting search string to '(&(objectclass=Group)(objectGUID=\2C\EA\45\47\B0\C3\20\4D\89\D5\7A\E0\B8\87\DD\14))'
      etc.

      The whole show takes 60 seconds to display user details.

        Attachments

          Activity

            People

            Assignee:
            vix Ivan Noris
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: