Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am configuring OpenLDAP on my Linux server, with the intention of using it with the SOGo groupware package, among other things.

In general, I assume it is inadvisable to have an LDAP user with the same name as a local user, or does it matter? If I login to the server as local user tohuw, is there an issue with having an LDAP user of the same name, assuming the uid is different?

Or, should I be importing that user somehow? In short, I am unclear on the best practices for introducing LDAP to an established Linux server. My user would have an email address in the SOGo system, and my understanding is that this would require an inetorgperson entry.

Thank you.

share|improve this question
In general, I assume it is inadvisable to have an LDAP user with the same name as a local user <-- Explain your assumption. For what reason is this true? If you can't give solid reasons chances are your assumption is invalid and should be rejected in favor of a more nuanced analysis... – voretaq7 May 29 '13 at 6:18
up vote 0 down vote accepted

Voretaq7 was quite correct. It was not clear to me that the objectClass posixAccount does not imply an actual entry in /etc/passwd. It is fine to have overlapping names in general, as LDAP and "files" are separate authentication sources. Obviously, it is possible to create conflicts, but in general, the mere existence of a duplicate name in LDAP and files is not a problem.

share|improve this answer

Your Answer


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.