git.samba.org
/
jerry
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da62a3
)
r22701: Fix the krb5_nt_status error table and add the "no DCs found" mapping
author
Gerald Carter
<jerry@samba.org>
Sun, 6 May 2007 18:56:43 +0000
(18:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:21:47 +0000
(12:21 -0500)
source/libads/krb5_errs.c
patch
|
blob
|
history
diff --git
a/source/libads/krb5_errs.c
b/source/libads/krb5_errs.c
index c153bee96e6ddebfe9e5ce146324bbf8507fa516..8216fefb64f51d1830ffc5b537af96c714ba06ee 100644
(file)
--- a/
source/libads/krb5_errs.c
+++ b/
source/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 {