Problems logging into MacOS using Active Directory user not working, but SSH works fine
I found a solution by deleting the user and creating a new user with the same name through the command line. I've no idea why the problem happened, but all other solutions didn't work.