Thread:Extension talk:LDAP Authentication/User-name mapping for different user types (2)

Hi there,

I'm working on a mediawiki project with LDAP authentication where I only have read-only rights and can't introduce groups to the directory. The directory knows two types of accounts (in this example called X and Y). Basically the authentication and user-name mapping works fine for people that only have one type of account. But many people in our organisation have both types of accounts (see example below). In that case the user-name mapping fails because there is more than one user with the same cn. The reason for me trying to map the user-names is that the uid should not be visible to the other users (that's also the reason why the Realnames extension is not very useful in my case). The best solution for me would be to have the wiki-username like John Doe (Type X) for one and John Doe (Type Y) for the the other account.

Any ideas how this can be done?

Greets, Michael

Type X

Type Y