mit-kdb: support MIT Kerberos 1.16 KDB API changes
authorAlexander Bokovoy <ab@samba.org>
Tue, 24 Oct 2017 09:01:39 +0000 (12:01 +0300)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 19 Jan 2018 00:36:22 +0000 (01:36 +0100)
commit7c1c8c68174ed484fe86a0d9e429daad3a47a57d
tree6121d9d2fae2cd837a62cd698b0f9ebfbc825a65
parent3be1e68ce69f7ab8ac2cac97920c0e7f65b5ed6f
mit-kdb: support MIT Kerberos 1.16 KDB API changes

MIT Kerberos 1.16 adds ability to audit local and remote addresses
during AS_REQ processing. As result, audit_as_req callback signature
was changed to include the addresses and KDB API version was increased.

Change mit-kdb code to properly expose audit_as_req signature KDC
expects in 1.16 version. Also update #ifdefs to account for the new
KDB API version.

This commit does not add actual audit of the local and remote IP
addresses, it only makes it possible to compile against MIT Kerberos
1.16.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jan 19 01:36:22 CET 2018 on sn-devel-144
source4/kdc/mit-kdb/kdb_samba.h
source4/kdc/mit-kdb/kdb_samba_policies.c
source4/kdc/mit-kdb/kdb_samba_principals.c