diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-15 19:18:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:37 -0500 |
commit | c426340fc79a6b446033433b8de599130adffe28 (patch) | |
tree | 39c096e5c2cca424bf0a093a9db05ac0619739d7 /source/include/includes.h | |
parent | bd9439cc7d80e172feab72229b553028e134de05 (diff) | |
download | samba-c426340fc79a6b446033433b8de599130adffe28.tar.gz samba-c426340fc79a6b446033433b8de599130adffe28.tar.xz samba-c426340fc79a6b446033433b8de599130adffe28.zip |
r21845: Refactor the sessionsetupX code a little to allow us
to return a NT_STATUS_TIME_DIFFERENCE_AT_DC error to
a client when there's clock skew. Will help people
debug this. Prepare us for being able to return the
correct sessionsetupX "NT_STATUS_MORE_PROCESSING_REQUIRED"
error with associated krb5 clock skew error to allow
clients to re-sync time with us when we're eventually
able to be a KDC.
Jeremy.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index c71acd38663..5b81cfbfab4 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -1181,6 +1181,11 @@ void smb_krb5_get_init_creds_opt_free(krb5_context context, krb5_get_init_creds_opt *opt); krb5_error_code smb_krb5_get_init_creds_opt_alloc(krb5_context context, krb5_get_init_creds_opt **opt); +krb5_error_code smb_krb5_mk_error(krb5_context context, + krb5_error_code error_code, + const krb5_principal server, + krb5_data *reply); + #endif /* HAVE_KRB5 */ |