summaryrefslogtreecommitdiff
path: root/source3/libads/krb5_errs.c
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-02-21 17:48:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:18 -0500
commit0eb50d9016d130217df3d56b9c666468f7cff58b (patch)
tree04e3a03894a7eca46834098efc00e45dcc9f565f /source3/libads/krb5_errs.c
parent8176d4c9fe67701c7f2a71d6911961e16d843e1a (diff)
downloadsamba-0eb50d9016d130217df3d56b9c666468f7cff58b.tar.gz
samba-0eb50d9016d130217df3d56b9c666468f7cff58b.tar.bz2
samba-0eb50d9016d130217df3d56b9c666468f7cff58b.zip
r13599: krb5 error codes are defined as long. Also for the other direction.
(This used to be commit 7b8ea1499124d1e1efe325339419a66ab8885b38)
Diffstat (limited to 'source3/libads/krb5_errs.c')
-rw-r--r--source3/libads/krb5_errs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c
index f926024b72..0277596436 100644
--- a/source3/libads/krb5_errs.c
+++ b/source3/libads/krb5_errs.c
@@ -58,7 +58,7 @@ static const struct {
static const struct {
NTSTATUS ntstatus;
- int krb5_code;
+ long krb5_code;
} nt_status_to_krb5_map[] = {
{NT_STATUS_LOGON_FAILURE, KRB5KDC_ERR_PREAUTH_FAILED},
{NT_STATUS_NO_LOGON_SERVERS, KRB5_KDC_UNREACH},