The Samba-Bugzilla – Attachment 4425 Details for
Bug 6272
Unable to browse a windows XP share from a Windows2k8 server in a samba4 domain
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal in order to fix the pb
patch_w2k8_xp_pb (text/plain), 1.52 KB, created by
Matthieu Patou
on 2009-07-15 11:01:48 UTC
(
hide
)
Description:
Patch proposal in order to fix the pb
Filename:
MIME Type:
Creator:
Matthieu Patou
Created:
2009-07-15 11:01:48 UTC
Size:
1.52 KB
patch
obsolete
>diff --git a/source4/heimdal/kdc/krb5tgs.c b/source4/heimdal/kdc/krb5tgs.c >index 59104da..eb35fac 100644 >--- a/source4/heimdal/kdc/krb5tgs.c >+++ b/source4/heimdal/kdc/krb5tgs.c >@@ -793,15 +793,30 @@ tgs_make_reply(krb5_context context, > et.flags.hw_authent = tgt->flags.hw_authent; > et.flags.anonymous = tgt->flags.anonymous; > et.flags.ok_as_delegate = server->entry.flags.ok_as_delegate; >+ if(rspac->length) { >+ /* >+ * No not need to filter out the any PAC from the >+ * auth_data since it's signed by the KDC. >+ */ >+ ret = _kdc_tkt_add_if_relevant_ad(context, &et, >+ KRB5_AUTHDATA_WIN2K_PAC, >+ rspac); >+ if (ret) >+ goto out; >+ } > > if (auth_data) { >+ int i = 0; > /* XXX Check enc-authorization-data */ >- et.authorization_data = calloc(1, sizeof(*et.authorization_data)); > if (et.authorization_data == NULL) { > ret = ENOMEM; > goto out; > } >- ret = copy_AuthorizationData(auth_data, et.authorization_data); >+ for(i=0;i<auth_data->len;i++) { >+ ret = add_AuthorizationData(et.authorization_data,&auth_data->val[i]); >+ if (ret) >+ goto out; >+ } > if (ret) > goto out; > >@@ -820,17 +835,6 @@ tgs_make_reply(krb5_context context, > } > } > >- if(rspac->length) { >- /* >- * No not need to filter out the any PAC from the >- * auth_data since it's signed by the KDC. >- */ >- ret = _kdc_tkt_add_if_relevant_ad(context, &et, >- KRB5_AUTHDATA_WIN2K_PAC, >- rspac); >- if (ret) >- goto out; >- } > > ret = krb5_copy_keyblock_contents(context, sessionkey, &et.key); > if (ret)
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 6272
:
4187
|
4425