Github user karuturi commented on a diff in the pull request:
    --- Diff: 
server/src/com/cloud/api/auth/ ---
    @@ -166,7 +166,7 @@ public String authenticate(String command, Map<String, 
Object[]> params, HttpSes
                         throw new CloudAuthenticationException("Unable to find 
the domain from the path " + domain);
                     final UserAccount userAccount = 
_accountService.getActiveUserAccount(username[0], domainId);
    -                if (userAccount == null || 
!(User.Source.UNKNOWN.equals(userAccount.getSource()) || 
User.Source.LDAP.equals(userAccount.getSource()))) {
    +                if (userAccount != null && User.Source.SAML2 == 
userAccount.getSource()) {
    --- End diff --
    in case of LDAP, account will be created if it doesnt already exist.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to