The Samba-Bugzilla – Attachment 3545 Details for
Bug 5745
Kerberos authentication with (lib)smbclient is broken in 3.2.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 980 bytes, created by
Jeremy Allison
on 2008-09-09 18:13:36 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-09-09 18:13:36 UTC
Size:
980 bytes
patch
obsolete
>diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c >index a7ca24f..66dd5f6 100644 >--- a/source/libsmb/clikrb5.c >+++ b/source/libsmb/clikrb5.c >@@ -743,16 +743,21 @@ static krb5_error_code ads_krb5_mk_req(krb5_context context, > ccache, > &in_data ); > if (retval) { >- DEBUG( 1, ("ads_krb5_get_fwd_ticket failed (%s)\n", error_message( retval ) ) ); >- goto cleanup_creds; >- } >+ DEBUG( 3, ("ads_krb5_get_fwd_ticket failed (%s)\n", error_message( retval ) ) ); > >- if (retval) { >- DEBUG( 1, ("krb5_auth_con_set_req_cksumtype failed (%s)\n", >- error_message( retval ) ) ); >- goto cleanup_creds; >- } >+ /* >+ * This is not fatal. Delete the *auth_context and continue >+ * with krb5_mk_req_extended to get a non-forwardable ticket. >+ */ > >+ if (in_data.data) { >+ free( in_data.data ); >+ in_data.data = NULL; >+ in_data.length = 0; >+ } >+ krb5_auth_con_free(context, *auth_context); >+ *auth_context = NULL; >+ } > } > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5745
: 3545