Idira Identity: User failed login with connector log: ErrorCode = 1329, Logon failure: user not allowed to log on to this computer
Symptom
User is not able to login to portal with general error message:
Authentication (login or challenge) has failed. Please try again or contact your system administrator.
It will show normal with the reason username password was validated incorrectly, while checking from connector logs we are seeing ErrorCode = 1329
[DEBUG] ADHelper: ValidateUserHelper SamAccount name(xxxxx)
[DEBUG] ADHelper: ValidateUserHelper(xxxxx , ad.local)
[|DEBUG] ADHelper: xxxxx login returned an error: ErrorCode = 1329, Error = This user isn't allowed to sign in to this computer
[ERROR] ADHelper: Validating user: xxxxx Failed, Full Error = System.ComponentModel.Win32Exception (0x80004005): This user isn't allowed to sign in to this computer
at Idaptive.Cloud.Core.ProxyLib.ADHelper.ValidateUserHelper(SearchResult userSearchResult, UserAuthenticationResult result, Boolean includeGroups, String password)
Environment
20.7;21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12
Cause
This ErrorCode = 1329, is referring to local rights.
This user needs to log on with local rights to be allowed access.
Therefore the user login has been validated wrong since at the connector's end before getting back to cloud for the next challenge. Even though it is showing as Answered UP incorrectly.
Resolution
Customer should check and can do this Using local security policy (only applies to the machine) or GPO (applies to all machines for the policy)
>> GPO:
Computer Configuration -> Windows -> Security -> Local policies -> User right assignment -> Allow log on locally
>> Local Policy:
Local policies -> User right assignment -> Allow log on locally
Further reference:
https://4sysops.com/archives/deny-and-allow-workstation-logons-with-group-policy/