From 8ff276fcb02111664c727178296590d97eb09319 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sun, 6 May 2007 18:56:43 +0000 Subject: r22701: Fix the krb5_nt_status error table and add the "no DCs found" mapping (This used to be commit 2ab617fbbffbd6bf98ee02150f62b87a2610531f) --- source3/libads/krb5_errs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c index c153bee96e6..8216fefb64f 100644 --- a/source3/libads/krb5_errs.c +++ b/source3/libads/krb5_errs.c @@ -58,10 +58,12 @@ static const struct { #endif {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} + {KRB5_REALM_CANT_RESOLVE, NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND}, + + /* Must be last entry */ + {KRB5KDC_ERR_NONE, NT_STATUS_OK} }; static const struct { -- cgit v1.2.1