Page MenuHomePhabricator

Rename LDAP CN to 'Ori'
Closed, ResolvedPublic

Description

I'd like to change my LDAP CN to 'Ori', so it's (a) consistent with my shell, irc, gerrit and phabricator usernames, and (b) doesn't advertise my full last name.

Event Timeline

Renamed on wikitech via Special:RenameUser

The user "Ori.livneh" has been renamed to "Ori".

T282631.ldif
dn: uid=ori,ou=people,dc=wikimedia,dc=org
changetype: modify
replace: cn
cn: Ori
$ ldapmodify -x -D 'uid=novaadmin,ou=people,dc=wikimedia,dc=org' -W -f T282631.ldif
Enter LDAP Password:
modifying entry "uid=ori,ou=people,dc=wikimedia,dc=org"

$ ldap uid=ori cn
dn: uid=ori,ou=people,dc=wikimedia,dc=org
cn: Ori

@thcipriani Do you know if anything needs to be poked in Gerrit for a CN change? I can see that @ori's former CN value is displayed when I look him up via an owner: search.

@thcipriani Do you know if anything needs to be poked in Gerrit for a CN change? I can see that @ori's former CN value is displayed when I look him up via an owner: search.

Looks like https://wikitech.wikimedia.org/wiki/LDAP/Renaming_users/Gerrit is the other bit of magic needed.

ori claimed this task.

Looks like https://wikitech.wikimedia.org/wiki/LDAP/Renaming_users/Gerrit is the other bit of magic needed.

I followed the instructions on that page and it seems to have worked. I did skip the last part ($ ssh -p 29418 gerrit.wikimedia.org -- gerrit index start accounts --force), but it seems to have not been needed.

Thank you, @bd808 !