diff options
author | Igor Mammedov <niallain@gmail.com> | 2008-08-18 09:55:11 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-08-18 09:55:11 -0700 |
commit | 2597c97d3a274bdb96e9958a79aa70d84381a12a (patch) | |
tree | 5a4b37d777512114ba9f69a880049272b6030487 /source3/libsmb | |
parent | ee6c02f7c8bc92190b9f5474057f5885f29c2f8a (diff) | |
download | samba-2597c97d3a274bdb96e9958a79aa70d84381a12a.tar.gz samba-2597c97d3a274bdb96e9958a79aa70d84381a12a.tar.bz2 samba-2597c97d3a274bdb96e9958a79aa70d84381a12a.zip |
Fix length error in wrapping spnego blob
(This used to be commit 16ee95494ba495c5f5ff8779206f380db1067b2d)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clikrb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 5bb33b11d7..fa21ad3467 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -1910,7 +1910,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; |