about summary refs log tree commit diff
path: root/ops/nixos/modules/monorepo-gerrit.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-06-10T23·04+0000
committerVincent Ambo <tazjin@google.com>2020-06-11T21·13+0000
commitea3cab8755efd8f1d66644997a9b34963e5c5cd4 (patch)
treeb76ef84c0539b46515c7fd76a5b278760525296e /ops/nixos/modules/monorepo-gerrit.nix
parentfba9d0b387d7be3c5c88bf6f604885b5f0296a85 (diff)
fix(monorepo-gerrit): Extract SSH username from LDAP correctly r/906
Diffstat (limited to 'ops/nixos/modules/monorepo-gerrit.nix')
-rw-r--r--ops/nixos/modules/monorepo-gerrit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix
index 52a96990c975..c0a06caee92c 100644
--- a/ops/nixos/modules/monorepo-gerrit.nix
+++ b/ops/nixos/modules/monorepo-gerrit.nix
@@ -25,6 +25,7 @@ in {
         accountPattern = "(&(objectClass=organizationalPerson)(cn=\${username}))";
         accountFullName = "cn";
         accountEmailAddress = "mail";
+        accountSshUserName = "cn";
         groupBase = "ou=groups,dc=tvl,dc=fyi";
 
         # TODO(tazjin): Assuming this is what we'll be doing ...