Page MenuHomePhabricator

Change LDAP cn to something more useful
Closed, ResolvedPublic

Description

Gerrit says my "Real Name" is "Cscott". Pshaw. My "Real Name" is "C. Scott Ananian" (which LDAP agrees is my "display name").

Could I get my LDAP cn changed to "C. Scott Ananian"?

Event Timeline

(03:51:59 PM) cscott-free: new gerrit: username: cscott, Full Name: Cscott
(03:52:08 PM) cscott-free: ^ how do i change the full name reported by new-gerrit?
(03:57:05 PM) greg-g: cscott: pretty sure that's from LDAP
(03:58:59 PM) ostriches: Yep
(03:59:14 PM) ostriches: (it should've always been that way too)
(03:59:16 PM) cscott-free: ldaplist says my ldap display name is "C. Scott Ananian"
(03:59:29 PM) ostriches: Sadly we don't use the display name.
(03:59:33 PM) ostriches: We use the cn.
(03:59:37 PM) cscott-free: i have 'sn' and 'cn' set to 'Cscott'
(03:59:40 PM) cscott-free: how do i change that?
(04:00:02 PM) ostriches: cscott: We can change the cn.
(04:00:38 PM) cscott-free: ostriches: do i have to perform an arcane ritual involving "be bold" mugs in order to do so?
(04:00:53 PM) ostriches: ostriches: You have to file a task and assign it to me :p
(04:01:00 PM) ostriches: Is that arcane enough?
(04:01:08 PM) cscott-free: "consult a wizard"
(04:02:44 PM) ostriches: cscott: Fwiw, it means that you'll be using your CN to login to most things. We don't use sn's except as your actual shell name.
(04:02:59 PM) Krenair: we use uid as shell name
(04:03:12 PM) cscott-free: ostriches: gerrit says my username is "cscott" (no caps) but my "real name" is "Cscott"
(04:03:20 PM) cscott-free: ostriches: are those both using the cn?
(04:03:46 PM) ostriches: accountFullName = cn
(04:04:14 PM) cscott-free: what else uses the cn as login?
(04:04:29 PM) Krenair: Phab
(04:04:38 PM) Krenair: every misc service using HTTP basic auth
(04:04:52 PM) cscott-free: Krenair: i use MW OAuth to log into phab
(04:04:53 PM) ostriches: ldap.laccountSshUserName defaults to uid.
(04:05:14 PM) Krenair: Jenkins
(04:05:26 PM) Krenair: cscott, okay but you can use LDAP
(04:06:04 PM) cscott-free: oh, the "arcane" part is mapping ostriches -> demon so you can file the phab task
(04:06:12 PM) Krenair: :D
(04:06:15 PM) cscott-free: maybe i shouldn't have disclosed the secret in publick
(04:06:16 PM) ostriches: :P
(04:06:27 PM) ostriches: NOW I NEED A NEW NICK GAWSH

That is a duplicate of a similar request made by Daniel Zahn and I wrote a detailed reply with all the technical mess: T113792#1676462 I am pretty sure I had a similar task filled years ago and others might as well.

Maybe repurpose T113792 to be a generic request about overhauling the accounts names?

This is not a duplicate. I prefer tasks for tracking each rename request.

Renames have nothing to do with what is done by Git, that was set when you set your user.name. And they're immutable.

Changing display names in Gerrit is totally possible (albeit messy right now).

demon triaged this task as Medium priority.Jul 28 2016, 6:12 PM