A user is always getting a temporary profile in Windows
The user hat been deleted earlier as he left for a sabbatical. When returning the user account has been re-created. When logging in the login succeeds but the user always only gets a temporary profile.
Very likely the windows SIDs have been changed so the permissions on ht eprofile folder do not matc. Therefore Windos can not load the profil,
Move the users’s profile and after first successful logging copy the needed files manually to the freshly generate user profile dir:
root@ucs:~ # mv /home/johndoe /home/johndoe.old