Fix length error in wrapping spnego blob. Karoling this needs to be in 3.2.2 (sorry).
authorIgor Mammedov <niallain@gmail.com>
Mon, 18 Aug 2008 16:55:44 +0000 (09:55 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 18 Aug 2008 16:55:44 +0000 (09:55 -0700)
source/libsmb/clikrb5.c

index d30cc54cce6b9397cdf4b912e6eebe77b084f428..a7ca24f7a2ecb22cd3b3979234a5b8f649e52661 100644 (file)
@@ -1870,7 +1870,7 @@ static krb5_error_code ads_krb5_get_fwd_ticket( krb5_context context,
        }
 
        /* We now have a service ticket, now turn it into an AP-REQ. */
-       authenticator->length = ntohs(fwdData.length + GSSAPI_CHECKSUM_SIZE);
+       authenticator->length = fwdData.length + GSSAPI_CHECKSUM_SIZE;
 
        /* Caller should call free() when they're done with this. */
        authenticator->data = (char *)pChksum;