aboutsummaryrefslogtreecommitdiff
path: root/4.1/kinit.rb
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2025-02-19 22:59:46 +0000
committerNat Lasseter <user@4574.co.uk>2025-02-19 22:59:46 +0000
commite532f817c53589de47ead76618677db1ddbb2e48 (patch)
tree5dfddef80feae4f9a77d0c79fd2b5c09f3c6a90f /4.1/kinit.rb
parente160be0ebd55a130d37129714d340726882aac07 (diff)
[4.1] Complete
Diffstat (limited to '4.1/kinit.rb')
-rwxr-xr-x4.1/kinit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/4.1/kinit.rb b/4.1/kinit.rb
index 5174839..aca0fa2 100755
--- a/4.1/kinit.rb
+++ b/4.1/kinit.rb
@@ -29,7 +29,7 @@ cipher.key = Digest::SHA2.digest(pw)
begin
ticket = cipher.update(eticket) + cipher.final
File.open(".keytab", ?w) do |f|
- f.puts "_TGS:#{ticket}"
+ f.puts "_TGS,#{ticket}"
end
rescue OpenSSL::Cipher::CipherError
puts "Invalid password?"