Guest User

Untitled

a guest
Oct 9th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. [root@host ~]# klist -kte test_user.keytab_rc4
  2. Keytab name: FILE:test_user.keytab_rc4
  3. KVNO Timestamp Principal
  4. ---- ------------------- ------------------------------------------------------
  5. 0 09/01/2018 14:54:07 test_user@testdomain.dev (arcfour-hmac)
  6. [root@host]# kinit -V -kt test_user.keytab_rc4 test_user@testdomain.dev
  7. Using default cache: /tmp/krb5_1015
  8. Using principal: test_user@testdomain.dev
  9. Using keytab: test_user.keytab_rc4
  10. Authenticated to Kerberos v5
  11. [root@host ~]# klist
  12. Ticket cache: FILE:/tmp/krb5_1015
  13. Default principal: test_user@testdomain.dev
  14.  
  15. Valid starting Expires Service principal
  16. 10/08/2018 09:10:40 10/08/2018 19:10:40 krbtgt/testdomain.dev@testdoman.dev
  17. renew until 10/15/2018 09:10:40
  18. [root@host ~]# kdestroy
  19.  
  20. [root@host ~]# klist -kte test_user.keytab_aes256
  21. Keytab name: FILE:test_user.keytab_aes256
  22. KVNO Timestamp Principal
  23. ---- ------------------- ------------------------------------------------------
  24. 0 09/01/2018 14:57:07 test_user@testdomain.dev (aes256-cts-hmac-sha1-96)
  25.  
  26. [root@host ~]# klist -kte test_user.keytab_rc4_aes256
  27. Keytab name: FILE:test_user.keytab_rc4_aes256
  28. KVNO Timestamp Principal
  29. ---- ------------------- ------------------------------------------------------
  30. 0 09/01/2018 14:57:07 test_user@testdomain.dev (arcfour-hmac)
  31. 0 09/01/2018 14:57:07 test_user@testdomain.dev (aes256-cts-hmac-sha1-96)
  32. [root@host ~]# kinit -V -kt test_user.keytab_rc4_aes256 test_user@testdomain.dev
  33. Using default cache: /tmp/krb5_1015
  34. Using principal: test_user@testdomain.dev
  35. Using keytab: test_user.keytab_rc4_aes256
  36. kinit: Preauthentication failed while getting initial credentials
  37.  
  38. [root@host ~]# ktutil
  39. ktutil: add_entry -password -p test_user@testdomain.dev -k 0 -e arcfour-hmac
  40. Password for test_user@testdomain.dev:
  41. ktutil: wkt test_user.keytab_rc4
Add Comment
Please, Sign In to add comment