mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
637fd961bd
If an NTSTATUS code has been set in the KDC request structure, encode it as KERB-ERROR-DATA and add it to the KDC reply. hdb_samba4_set_ntstatus() adds the NTSTATUS code to the request structure. hdb_samba4_get_ntstatus() gets that status code back from the request structure. hdb_samba4_set_edata_from_ntstatus() encodes the status code and adds it to the reply. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>