The Samba-Bugzilla – Attachment 8205 Details for
Bug 9388
Compatibility with newer versions of system heimdal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for new heimdal API
25_zentyal_heimdal_api_changes (text/plain), 1.40 KB, created by
Samuel Cabrero
on 2012-11-16 00:33:06 UTC
(
hide
)
Description:
Patch for new heimdal API
Filename:
MIME Type:
Creator:
Samuel Cabrero
Created:
2012-11-16 00:33:06 UTC
Size:
1.40 KB
patch
obsolete
>Index: samba/source4/kdc/wdc-samba4.c >=================================================================== >--- samba.orig/source4/kdc/wdc-samba4.c 2012-11-15 18:35:29.000000000 +0100 >+++ samba/source4/kdc/wdc-samba4.c 2012-11-16 01:19:55.482813115 +0100 >@@ -128,7 +128,7 @@ > talloc_free(mem_ctx); > return EINVAL; > } >- >+ > if (is_in_db) { > /* Now check the KDC signature, fetching the correct key based on the enc type */ > ret = kdc_check_pac(context, pac_srv_sig->signature, pac_kdc_sig, krbtgt); >@@ -217,7 +217,7 @@ > hdb_entry_ex *client_ex, const char *client_name, > hdb_entry_ex *server_ex, const char *server_name, > KDC_REQ *req, >- krb5_data *e_data) >+ METHOD_DATA *md) > { > struct samba_kdc_entry *kdc_entry; > bool password_change; >@@ -239,11 +239,19 @@ > return ENOMEM; > } > >- if (e_data) { >- DATA_BLOB data; >+ if (md) { >+ int ret; >+ krb5_data kd; >+ DATA_BLOB data; > > samba_kdc_build_edata_reply(nt_status, &data); >- *e_data = fill_krb5_data(data.data, data.length); >+ kd = fill_krb5_data(data.data, data.length); >+ ret = krb5_padata_add(context, md, >+ KRB5_PADATA_FX_ERROR, >+ kd.data, kd.length); >+ if (ret) { >+ krb5_data_free(&kd); >+ } > } > > return samba_kdc_map_policy_err(nt_status);
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 9388
: 8205