I am using map file to map users for Open-Ondemand along with PAM module.
The below user has his AD username different from HPC LDAP username.
The issue is as follows:
We have a user who logged in using his AD credentials with PAM authentication.
When he logged in, he got a message that his home directory is missing, which is true since his home directory exists with LDAP username.
So I updated the map file, with his HPC username, and ran these commands:
systemctl try-restart httpd24-httpd.service httpd24-htcacheclean.service
However, the next time that he logs in - he still gets the same message that his home directory has been missing.
Also, I see in the logs that his PUNs are being created with his AD username and not his LDAP username.
Does OOD keep a cache somewhere, where it remembers how it authenticated a user as? If it is - Is it possible to clean this history so that it starts as new?
I also had a second scenario, where I had to change the uidNumber of a user, after the user authenticated and used the services with previous uidNumber - which did create lot of issues.
I do not have a way to replicate this scenario as of now.
However, I can replicate the first scenario if necessary.
I have enabled debugging, and I will update soon on what I will see in the logs, with respect to who this user is being mapped to…