summaryrefslogtreecommitdiff
path: root/source3/libads/krb5_errs.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-06 18:56:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:47 -0500
commit8ff276fcb02111664c727178296590d97eb09319 (patch)
tree2ddfb38a52122966c3d9ece4d85f7aca6e00fcaf /source3/libads/krb5_errs.c
parent4b7123bba7181070a13280f8dd99b256ae4b4679 (diff)
downloadsamba-8ff276fcb02111664c727178296590d97eb09319.tar.gz
samba-8ff276fcb02111664c727178296590d97eb09319.tar.bz2
samba-8ff276fcb02111664c727178296590d97eb09319.zip
r22701: Fix the krb5_nt_status error table and add the "no DCs found" mapping
(This used to be commit 2ab617fbbffbd6bf98ee02150f62b87a2610531f)
Diffstat (limited to 'source3/libads/krb5_errs.c')
-rw-r--r--source3/libads/krb5_errs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c
index c153bee96e..8216fefb64 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 {