samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13599 - branches/SAMBA_3_0/source/libads trunk/source

Subject: svn commit: samba r13599 - branches/SAMBA_3_0/source/libads trunk/source/libads
From:
Date: Tue, 21 Feb 2006 17:48:20 +0000 GMT
Author: lmuelle
Date: 2006-02-21 17:48:20 +0000 (Tue, 21 Feb 2006)
New Revision: 13599

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13599

Log:
krb5 error codes are defined as long.  Also for the other direction.

Modified:
   branches/SAMBA_3_0/source/libads/krb5_errs.c
   trunk/source/libads/krb5_errs.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/krb5_errs.c
===================================================================
--- branches/SAMBA_3_0/source/libads/krb5_errs.c        2006-02-21 17:35:52 UTC 
(rev 13598)
+++ branches/SAMBA_3_0/source/libads/krb5_errs.c        2006-02-21 17:48:20 UTC 
(rev 13599)
@@ -58,7 +58,7 @@
 
 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},

Modified: trunk/source/libads/krb5_errs.c
===================================================================
--- trunk/source/libads/krb5_errs.c     2006-02-21 17:35:52 UTC (rev 13598)
+++ trunk/source/libads/krb5_errs.c     2006-02-21 17:48:20 UTC (rev 13599)
@@ -58,7 +58,7 @@
 
 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},

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13599 - branches/SAMBA_3_0/source/libads trunk/source/libads, lmuelle <=