diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-08 12:58:46 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-18 01:03:37 +0000 |
commit | 12fd8274fff0bc9a3f098c3a481040ae6db999ee (patch) | |
tree | 6d6bbf22f88ea4ed7a247a075e7d992977848495 | |
parent | 84a7ae8e0c7730e03161d69b5ca55436cfc5b066 (diff) | |
download | samba-12fd8274fff0bc9a3f098c3a481040ae6db999ee.tar.gz |
s4:kdc: Make use of KDC_REQUEST_KV_PA_NAME constant
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/kdc/hdb-samba4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index 6720511756e..9e2469f5123 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -559,7 +559,7 @@ static krb5_error_code hdb_samba4_audit(krb5_context context, hdb_auth_status = heim_number_get_int(hdb_auth_status_obj); - pa_type_obj = heim_audit_getkv((heim_svc_req_desc)r, "pa"); + pa_type_obj = heim_audit_getkv((heim_svc_req_desc)r, KDC_REQUEST_KV_PA_NAME); if (pa_type_obj != NULL) { pa_type = heim_string_get_utf8(pa_type_obj); } |