kdc: Check authdata in ticket rather than in request body
This matches Windows behaviour and the RFC6113 specification. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Luke Howard

parent
313caed18a
commit
0ea840ebfc
@@ -1199,12 +1199,12 @@ next_kvno:
|
|||||||
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY; /* ? */
|
ret = KRB5KRB_AP_ERR_BAD_INTEGRITY; /* ? */
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = validate_fast_ad(r, *auth_data);
|
|
||||||
if (ret)
|
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = validate_fast_ad(r, (*ticket)->ticket.authorization_data);
|
||||||
|
if (ret)
|
||||||
|
goto out;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check for FAST request
|
* Check for FAST request
|
||||||
|
Reference in New Issue
Block a user