I'm trying to domain join my AWS redhat linux machine to Azure AD. I've made all the required configuration following this document.
Error Message
sshd[18242]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.101.xx.xx [email protected]
sshd[18242]: pam_sss(sshd:account): Access denied for user [email protected]: 6 (Permission denied)
sshd[18213]: error: PAM: User account has expired for [email protected] from 10.101.xx.xx
My ec2 windows machine was successfully domain joined and I'm able to login using my username.
Can someone please help me what configuration I might be missing here?
Hope you granted the 'AAD DC Administrators' group sudo privileges on the RHEL VM, please make sure you use any of member account that is part 'AAD DC Administrators' group for join domain.