r13599: krb5 error codes are defined as long. Also for the other direction.
authorLars Müller <lmuelle@samba.org>
Tue, 21 Feb 2006 17:48:20 +0000 (17:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:18 +0000 (11:10 -0500)
(This used to be commit 7b8ea1499124d1e1efe325339419a66ab8885b38)

source3/libads/krb5_errs.c

index f926024b7226420b9984fa02f63583ef2f950906..027759643680b6952ada1607b3eaf90ba58a47a3 100644 (file)
@@ -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},