You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.[Microsoft Technet Introduction to Kerberos](https://technet.microsoft.com/en-us/library/cc772815(v=ws.10).aspx)
20
21
1.[Kabakov14], Kabakov,
21
22
[Securing Hadoop environments with Kerberos and active directory](https://developer.ibm.com/hadoop/blog/2014/09/03/securing-hadoop-environments-kerberos-active-directory/),
22
23
IBM, 2014
@@ -26,4 +27,3 @@
26
27
1.[Cloudera15] Cloudera,
27
28
[Integrating Hadoop Security with Active Directory](http://www.cloudera.com/content/cloudera/en/documentation/core/v5-3-x/topics/cdh_sg_hadoop_security_active_directory_integrate.html),
28
29
2015
29
-
1.[Coluris01], Colouris et al, *Distributed System Concepts and Design*, 2001
Copy file name to clipboardExpand all lines: sections/errors.md
+53-13Lines changed: 53 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,8 +55,9 @@ Switch to openjdk or go to your JVM supplier (Oracle, IBM) and download the JCE
55
55
56
56
This may appear in a stack trace starting with something like:
57
57
58
-
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
59
-
58
+
```
59
+
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
60
+
```
60
61
61
62
It's very common, and essentially means "you weren't authenticated"
62
63
@@ -70,11 +71,13 @@ Possible causes:
70
71
71
72
## Clock skew too great
72
73
73
-
GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)) . . . Caused by: javax.security.auth.login.LoginException: Clock skew too great
74
+
```
75
+
GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null)) . . . Caused by: javax.security.auth.login.LoginException: Clock skew too great
74
76
75
-
GSSException: No valid credentials provided (Mechanism level: Clock skew too great (37) - PROCESS_TGS
77
+
GSSException: No valid credentials provided (Mechanism level: Clock skew too great (37) - PROCESS_TGS
76
78
77
-
kinit: krb5_get_init_creds: time skew (343) larger than max (300)
79
+
kinit: krb5_get_init_creds: time skew (343) larger than max (300)
80
+
```
78
81
79
82
This comes from the clocks on the machines being too far out of sync.
80
83
@@ -104,12 +107,14 @@ Rarely seen. Switching kerberos to use TCP rather than UDP makes it go away
104
107
105
108
In `krb5.conf`:
106
109
107
-
[libdefaults]
108
-
udp_preference_limit = 1
110
+
```
111
+
[libdefaults]
112
+
udp_preference_limit = 1
113
+
```
109
114
110
115
## `GSSException: No valid credentials provided (Mechanism level: Connection reset)'
111
116
112
-
We've seen this triggered in Hadoop tests after the MiniKDC through an exception; it's thread
117
+
We've seen this triggered in Hadoop tests after the MiniKDC through an exception; its thread
113
118
exited and hence the Kerberos client got a connection error.
114
119
115
120
When you see this assume network connectivity problems, or something up at the KDC itself.
@@ -123,7 +128,9 @@ See the comments above about DNS for some more possibilities.
123
128
124
129
## During SPNEGO Auth: Defective token detected
125
130
126
-
GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
131
+
```
132
+
GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
133
+
```
127
134
128
135
The token supplied by the client is not accepted by the server.
0 commit comments