Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

LDAP-49 : Fix for Com4jException thrown by external users provider #12

Merged
merged 1 commit into from
Nov 25, 2015

Conversation

sulabh-msft
Copy link
Contributor

  1. AdConnectionHelper now connects to domain LDAP servers instead of
    forest GC ( Global Catalog) servers to get the users details.
  2. More logging is added in AdConnectionHelper and
    WindowsAuthenticationHelper
  3. More exception handling is added in AdConnectionHelper to
    catch exceptions thrown by Com4j.
  4. Unit tests are also updated.

Manual Testing of scenarios ( Compat mode and and non-compat mode
windows authentication )

  1. Test on corpnet in which GC servers are available.
  2. Testing on private active directory setup in which
    a. Two domains in same forest and AD global catalog is not present
    in both the domains. Windows auth for users from both domain to
    SonarQube server in one of the domain.
    b. Two domains in the same forest and AD global catalog is present
    for one of the domains. Windows auth for users from both domain to
    SonarQube server in one of the domain.
    c. Two domains ( sub-tree of third domain). Windows auth for users from
    both domain to SonarQube server in one of the domain.

1. AdConnectionHelper now connects to domain LDAP servers instead of
   forest GC ( Global Catalog) servers to get the users details.
2. More logging is added in AdConnectionHelper and
   WindowsAuthenticationHelper
3. More exception handling is added in AdConnectionHelper to
   catch exceptions thrown by Com4j.
4. Unit tests are also updated.

Manual Testing of scenarios ( Compat mode and and non-compat mode
windows authentication )
1. Test on corpnet in which GC servers are available.
2. Testing on private active directory setup in which
a. Two domains in same forest and AD global catalog is not present
  in both the domains. Windows auth for users from both domain to
  SonarQube server in one of the domain.
b. Two domains in the same forest and AD global catalog is present
   for one of the domains. Windows auth for users from both domain to
   SonarQube server in one of the domain.
c. Two domains ( sub-tree of third domain). Windows auth for users from
   both domain to SonarQube server in one of the domain.
@sulabh-msft sulabh-msft added bug and removed bug labels Nov 24, 2015
@simonbrandhof
Copy link
Contributor

Looks good to me.

sulabh-msft added a commit that referenced this pull request Nov 25, 2015
LDAP-49 : Fix for Com4jException thrown by external users provider
@sulabh-msft sulabh-msft merged commit 42315b0 into master Nov 25, 2015
@sulabh-msft sulabh-msft deleted the ldap49fix branch November 25, 2015 09:37
@sulabh-msft sulabh-msft removed their assignment May 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants