fix(monorepo-gerrit): Extract SSH username from LDAP correctly

This commit is contained in:
Vincent Ambo 2020-06-10 23:04:05 +00:00
parent fba9d0b387
commit ea3cab8755
2 changed files with 3 additions and 2 deletions

View file

@ -25,6 +25,7 @@ in {
accountPattern = "(&(objectClass=organizationalPerson)(cn=\${username}))"; accountPattern = "(&(objectClass=organizationalPerson)(cn=\${username}))";
accountFullName = "cn"; accountFullName = "cn";
accountEmailAddress = "mail"; accountEmailAddress = "mail";
accountSshUserName = "cn";
groupBase = "ou=groups,dc=tvl,dc=fyi"; groupBase = "ou=groups,dc=tvl,dc=fyi";
# TODO(tazjin): Assuming this is what we'll be doing ... # TODO(tazjin): Assuming this is what we'll be doing ...

View file

@ -31,8 +31,8 @@ userPassword: {SSHA}OhWQkPJgH1rRJqYIaMUbbKC4iLEzvCev
dn: cn=riking,ou=users,dc=tvl,dc=fyi dn: cn=riking,ou=users,dc=tvl,dc=fyi
objectClass: organizationalPerson objectClass: organizationalPerson
objectClass: inetOrgPerson objectClass: inetOrgPerson
cn: Kane York cn: riking
sn: riking sn: Kane York
title: riking title: riking
mail: rikingcoding@gmail.com mail: rikingcoding@gmail.com
userPassword: {SSHA}6rPxMOofHMGNTEYdyBOYbza7NT/RmiGz userPassword: {SSHA}6rPxMOofHMGNTEYdyBOYbza7NT/RmiGz