mit-kdb: support MIT Kerberos 1.16 KDB API changes

Enterprise / Samba - Alexander Bokovoy [samba.org] - 19 January 2018 00:36 EST

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.

7c1c8c68174 mit-kdb: support MIT Kerberos 1.16 KDB API changes
source4/kdc/mit-kdb/kdb_samba.h | 13 ++++++++-
source4/kdc/mit-kdb/kdb_samba_policies.c | 42 +++++++++++++++++++++---------
source4/kdc/mit-kdb/kdb_samba_principals.c | 2 +-
3 files changed, 42 insertions(+), 15 deletions(-)

Upstream: gitweb.samba.org


  • Share