aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-01 08:48:33 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-01 08:48:33 +0000
commitd1da7d875d6a6ec5b993629e432ef41dd68161a3 (patch)
treefc0964bacac9e9e6c8942e303f361942318d9d5d /epan
parent098facb0f7b86cc838cbf32d7e57ab1a4e2110d9 (diff)
MS KDC sends a PA_DATA with a magic salt containing an nt status code also for ERR_BADOPTION which can be seen in the constrained-delegation.zip capture on the wiki sample captures page.
svn path=/trunk/; revision=18055
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-kerberos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-kerberos.c b/epan/dissectors/packet-kerberos.c
index c2623b05f2..83a03d2c21 100644
--- a/epan/dissectors/packet-kerberos.c
+++ b/epan/dissectors/packet-kerberos.c
@@ -3863,10 +3863,10 @@ static int
dissect_krb5_e_data(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset)
{
switch(krb5_errorcode){
+ case KRB5_ET_KRB5KDC_ERR_BADOPTION:
case KRB5_ET_KRB5KDC_ERR_CLIENT_REVOKED:
/* ms windows kdc sends e-data of this type containing a "salt"
- * that contains the nt_status code when people try to log in
- * outside of the hours allowed.
+ * that contains the nt_status code for these error codes.
*/
offset=dissect_ber_octet_string_wcb(FALSE, pinfo, tree, tvb, offset, hf_krb_e_data, dissect_krb5_PA_DATA);
break;