aboutsummaryrefslogtreecommitdiff
path: root/4.1/kinit.rb
diff options
context:
space:
mode:
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?"