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 | edccfc91928c323f18febb7b90e41e0ddbfd8c7c (patch) | |
tree | 6c248659e046489cf13780effb9c82564010d95c /source3/libads/krb5_errs.c | |
parent | 3cb9ce7668c72c14e602986e5764ab5194a9ce10 (diff) | |
download | samba-edccfc91928c323f18febb7b90e41e0ddbfd8c7c.tar.gz samba-edccfc91928c323f18febb7b90e41e0ddbfd8c7c.tar.bz2 samba-edccfc91928c323f18febb7b90e41e0ddbfd8c7c.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.
(This used to be commit c426340fc79a6b446033433b8de599130adffe28)
Diffstat (limited to 'source3/libads/krb5_errs.c')
-rw-r--r-- | source3/libads/krb5_errs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c index 89cfc2d143..c153bee96e 100644 --- a/source3/libads/krb5_errs.c +++ b/source3/libads/krb5_errs.c @@ -59,6 +59,8 @@ static const struct { {KRB5_CC_NOTFOUND, NT_STATUS_NO_SUCH_FILE}, {KRB5_FCC_NOFILE, NT_STATUS_NO_SUCH_FILE}, {KRB5KDC_ERR_NONE, NT_STATUS_OK}, + {KRB5_RC_MALLOC, NT_STATUS_NO_MEMORY}, + {ENOMEM, NT_STATUS_NO_MEMORY}, {0, NT_STATUS_OK} }; |