chore(ops/nixos/modules): Add riking to slapd

This commit is contained in:
Kane York 2020-06-10 14:57:15 -07:00 committed by Vincent Ambo
parent 35df1b94fc
commit 6d4cae9359
2 changed files with 14 additions and 0 deletions

View file

@ -27,3 +27,12 @@ sn: tazjin
title: tazjin
mail: mail@tazj.in
userPassword: {SSHA}67H341jRfAFBDz/R9+T3fHQiPfjwTbpQ
dn: cn=riking,ou=users,dc=tvl,dc=fyi
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Kane York
sn: riking
title: riking
mail: rikingcoding@gmail.com
userPassword: {SSHA}6rPxMOofHMGNTEYdyBOYbza7NT/RmiGz

View file

@ -0,0 +1,5 @@
require 'securerandom'
passwd = SecureRandom.urlsafe_base64(15)
puts "your password: [[#{passwd}]]"