Jump to content

Topic on Extension talk:LDAPUserInfo

Display name vs User Account Name - LDAP

3
69.204.38.38 (talkcontribs)

I'm just finishing up my LDAPAuthentication2 Stack setup (thanks so much to @Osnard). I'm able to login just fine as an LDAP user. I have the Group Restrictions working through authorization. I am using a json file for my LDAP connection. In that file, I have set both the "realnameattribute": "cn" within the conenction info and:

     "userinfo": {

        "attributes-map": {

           "realname": "cn"

        }

     },


However, every time I login, my username is displayed in the top right corner and in the history rather than my real name? Apache Studio is telling me that my CN is set to my real name... Any suggestions here?

Rosenblitt (talkcontribs)

Didn't mean to post this anonymously... forgot to login first...

Osnard (talkcontribs)

Is the realname properly set on "Special:Preferences"? Does it show up in the output of LDAPProvider/maintenance/ShowUserInfo.php. be aware that this is case sensitive, so if the ShowUserInfo.php lists "CN" but you have configured "cn" it might probably not work.

Reply to "Display name vs User Account Name - LDAP"