Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@host ~]# klist -kte test_user.keytab_rc4
- Keytab name: FILE:test_user.keytab_rc4
- KVNO Timestamp Principal
- ---- ------------------- ------------------------------------------------------
- 0 09/01/2018 14:54:07 test_user@testdomain.dev (arcfour-hmac)
- [root@host]# kinit -V -kt test_user.keytab_rc4 test_user@testdomain.dev
- Using default cache: /tmp/krb5_1015
- Using principal: test_user@testdomain.dev
- Using keytab: test_user.keytab_rc4
- Authenticated to Kerberos v5
- [root@host ~]# klist
- Ticket cache: FILE:/tmp/krb5_1015
- Default principal: test_user@testdomain.dev
- Valid starting Expires Service principal
- 10/08/2018 09:10:40 10/08/2018 19:10:40 krbtgt/testdomain.dev@testdoman.dev
- renew until 10/15/2018 09:10:40
- [root@host ~]# kdestroy
- [root@host ~]# klist -kte test_user.keytab_aes256
- Keytab name: FILE:test_user.keytab_aes256
- KVNO Timestamp Principal
- ---- ------------------- ------------------------------------------------------
- 0 09/01/2018 14:57:07 test_user@testdomain.dev (aes256-cts-hmac-sha1-96)
- [root@host ~]# klist -kte test_user.keytab_rc4_aes256
- Keytab name: FILE:test_user.keytab_rc4_aes256
- KVNO Timestamp Principal
- ---- ------------------- ------------------------------------------------------
- 0 09/01/2018 14:57:07 test_user@testdomain.dev (arcfour-hmac)
- 0 09/01/2018 14:57:07 test_user@testdomain.dev (aes256-cts-hmac-sha1-96)
- [root@host ~]# kinit -V -kt test_user.keytab_rc4_aes256 test_user@testdomain.dev
- Using default cache: /tmp/krb5_1015
- Using principal: test_user@testdomain.dev
- Using keytab: test_user.keytab_rc4_aes256
- kinit: Preauthentication failed while getting initial credentials
- [root@host ~]# ktutil
- ktutil: add_entry -password -p test_user@testdomain.dev -k 0 -e arcfour-hmac
- Password for test_user@testdomain.dev:
- ktutil: wkt test_user.keytab_rc4
Add Comment
Please, Sign In to add comment