2

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?

1 Answer 1

2

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 homeDirectory attribute. Hopefully you've already got their uidNumbers set correctly in LDAP otherwise file permissions won't match up.

1
  • I only use LDAP for password verification (LDAP is used here mostly for our email system, so no homeDirectory AFAIK). It works great if the local user has the same login name as on LDAP (no problem with uidNumber)... just would like to not have to rename the user accounts. Oct 29, 2010 at 21:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .