Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/ktutil
- addent -password -p acoder@EXAMPLE.COM -k 1 -e rc4-hmac
- addent -password -p acoder@EXAMPLE.COM -k 1 -e aes256-cts
- wkt /etc/krb5.keytab
- [acoder@clientbox]# klist -kte
- Keytab name: FILE:/etc/krb5.keytab
- KVNO Timestamp Principal
- ---- ----------------- --------------------------------------------------------
- 1 09/16/15 16:24:32 acoder@EXAMPLE.COM (arcfour-hmac)
- 1 09/16/15 16:25:46 acoder@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
- #OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...
- #====== ======= =============== =============== ===============================
- create user debug:* negate /bin/keyctl negate %k 30 %S
- create user debug:loop:* * |/bin/cat
- create user debug:* * /usr/share/keyutils/request-key-debug.sh %k %d %c %S
- negate * * * /bin/keyctl negate %k 30 %S
- create cifs.spnego * * /usr/sbin/cifs.upcall %k
- create dns_resolver * * /usr/sbin/cifs.upcall %k
- # klist | grep "Ticket cache:"
- Ticket cache: FILE:/tmp/krb5cc_0
- mount error(126): Required key not available
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- Sep 16 16:33:44 clientbox kernel: CIFS VFS: Error -2 during NTLM authentication
- Sep 16 16:33:44 clientbox kernel: CIFS VFS: Send error in SessSetup = -2
- Sep 16 16:33:44 clientbox kernel: CIFS VFS: cifs_mount failed w/return code = -2
- Sep 16 16:33:49 clientbox kernel: CIFS VFS: Send error in SessSetup = -126
- Sep 16 16:33:49 clientbox kernel: CIFS VFS: cifs_mount failed w/return code = -126
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement