I'm managed to set up LDAP in PAM (linux). A problem I have is that many users have different user names in LDAP than on the local machine... Is there a way to map those user names (e.g. local name->LDAP name) or do I need to rename the user account on the local machine to get LDAP to work?
They shouldn't have local accounts at all. I thought that was the whole point of LDAP.
You can either rename their home directories to match their LDAP names, or specify their home directory path in LDAP's