diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-09-27 14:45:36 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2022-10-21 03:57:33 +0000 |
commit | ed35f40d756712345d889d08cc2f2818524df0e6 (patch) | |
tree | 2c6d48d9d7a221d1bed6954d137f28998025f247 /lib/krb5_wrap | |
parent | 50cbdecf2e276e5f87b9c2d95fd3ca86d11a08e2 (diff) | |
download | samba-ed35f40d756712345d889d08cc2f2818524df0e6.tar.gz |
krb5: Add compatability for krb5_const_pac type
This allows this type to be used in Samba in the future for
both Kerberos implementations
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib/krb5_wrap')
-rw-r--r-- | lib/krb5_wrap/krb5_samba.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 2bb04ba5a46..d082ed43f03 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -134,6 +134,10 @@ typedef struct { #define KRB5_ERROR_CODE(k) ((k)->error) #endif /* HAVE_E_DATA_POINTER_IN_KRB5_ERROR */ +#ifndef HAVE_KRB5_CONST_PAC +typedef krb5_pac krb5_const_pac; +#endif + krb5_error_code smb_krb5_parse_name(krb5_context context, const char *name, /* in unix charset */ krb5_principal *principal); |