This article describes few reasons for the error "Incorrect credentials" and how to troubleshoot them
a) Below error indicates that the user might be typing incorrect credentials or typing sAMAccountName instead of UserPrincipalName (vice versa).
,<X1_NETWORKING>,ERROR (2),"request with id 5 failed with httpResponse code 401 and errorMessage : Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed:
unauthorized (401)"
b) Below error indicates that the user account might be disabled in the Active Directory or the service account used in XenMobile’s LDAP configuration is disabled.
" ",<MDM>,ERROR (2),"handleServerError response 401 with title and detail text Secure Hub Please check your credentials. You may have mistyped them.",Active,com.apple.main-thread,c07,Worx
c) Below error indicates that the user account might be disabled in the XenMobile
| 6F37B731FE87489C | WARN | http-nio-10080-exec-16 | com.citrix.xms.oca.imil.service.impl.AuthenticationServiceImpl | User is locked. Try again after few minutes.
WARN | http-nio-10080-exec-16 | com.sparus.nps.DefaultAuthenticationImpl | Authentication failed for 'user@citrix.local': com.citrix.xms.oca.imil.exception.IMILException: User is locked. Try again after few minutes.
d) In a multi-domain environment, below error indicates that the user is entering sAMAccountName instead of UserPrincipalName. | 567babf76f74acb0 | INFO | http-nio-10080-exec-18 |
com.citrix.cg.bo.GenericUserMgr | GC context is enabled for domain citrix.local
| 567babf76f74acb0 | WARN | http-nio-10080-exec-18 | com.sparus.nps.DefaultAuthenticationImpl | Authentication failed for 'user1': The user user1 does not exist.
org.apache.jetspeed.security.SecurityException: The user user1 does not exist.
e) Below error in the XenMobile debug logs indicates that there could be communication issue between the LDAP (Port 389/636) and the Global Catalog (Port 3268/3269).
WARN | http-nio-10080-exec-11 | com.sparus.nps.DefaultAuthenticationImpl | Authentication failed for 'user1@citrixnew.local': com.citrix.xms.oca.imil.exception.IMILException: com.citrix.xms.oca.imil.exception.IMILException: Could not refreshUser