Wrong LDAP user ID is mapped into Slurm account management service

Solution 1:

The solution turned out to be in the getent passwd.

I changed the following configuration in sssd:

$ cat /etc/sssd/sssd.conf
[domain/local.lan]
enumerate = true

I removed the users and added them again, and it worked.