about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/modules/monorepo-gerrit.nix1
-rw-r--r--ops/nixos/modules/tvl-slapd/contents.ldif4
2 files changed, 3 insertions, 2 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 ...
diff --git a/ops/nixos/modules/tvl-slapd/contents.ldif b/ops/nixos/modules/tvl-slapd/contents.ldif
index be623d978be0..de297dc0119e 100644
--- a/ops/nixos/modules/tvl-slapd/contents.ldif
+++ b/ops/nixos/modules/tvl-slapd/contents.ldif
@@ -31,8 +31,8 @@ userPassword: {SSHA}OhWQkPJgH1rRJqYIaMUbbKC4iLEzvCev
 dn: cn=riking,ou=users,dc=tvl,dc=fyi
 objectClass: organizationalPerson
 objectClass: inetOrgPerson
-cn: Kane York
-sn: riking
+cn: riking
+sn: Kane York
 title: riking
 mail: rikingcoding@gmail.com
 userPassword: {SSHA}6rPxMOofHMGNTEYdyBOYbza7NT/RmiGz