Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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.

share|improve this answer
    
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. –  Arun Persaud Oct 29 '10 at 21:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.