1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r22701: Fix the krb5_nt_status error table and add the "no DCs found" mapping

(This used to be commit 2ab617fbbf)
This commit is contained in:
Gerald Carter 2007-05-06 18:56:43 +00:00 committed by Gerald (Jerry) Carter
parent 4b7123bba7
commit 8ff276fcb0

View File

@ -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 {