The Samba-Bugzilla – Attachment 17309 Details for
Bug 15047
[SECURITY] CVE-2022-2031 kadmin/changew gets a krbtgt key as AS-REP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
MIT setpw ASN.1 patch
mit_setpw.patch (text/plain), 1.23 KB, created by
Jo Sutton
on 2022-05-27 08:21:52 UTC
(
hide
)
Description:
MIT setpw ASN.1 patch
Filename:
MIME Type:
Creator:
Jo Sutton
Created:
2022-05-27 08:21:52 UTC
Size:
1.23 KB
patch
obsolete
>From c6ab9e901d9a4bb451c1bc23c8489bf45068fb6d Mon Sep 17 00:00:00 2001 >From: Joseph Sutton <josephsutton@catalyst.net.nz> >Date: Fri, 27 May 2022 20:05:54 +1200 >Subject: [PATCH] Make principal and realm optional in setpw structure > >This matches Heimdal and the Windows KDC. > >Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> >--- > src/lib/krb5/asn.1/asn1_k_encode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/src/lib/krb5/asn.1/asn1_k_encode.c b/src/lib/krb5/asn.1/asn1_k_encode.c >index 5378b5c23..a1ebf7a36 100644 >--- a/src/lib/krb5/asn.1/asn1_k_encode.c >+++ b/src/lib/krb5/asn.1/asn1_k_encode.c >@@ -939,8 +939,8 @@ static const struct atype_info *pa_enc_ts_fields[] = { > DEFSEQTYPE(pa_enc_ts, krb5_pa_enc_ts, pa_enc_ts_fields); > > DEFFIELD(setpw_0, struct krb5_setpw_req, password, 0, ostring_data); >-DEFFIELD(setpw_1, struct krb5_setpw_req, target, 1, principal); >-DEFFIELD(setpw_2, struct krb5_setpw_req, target, 2, realm_of_principal); >+DEFFIELD(setpw_1, struct krb5_setpw_req, target, 1, opt_principal); >+DEFFIELD(setpw_2, struct krb5_setpw_req, target, 2, opt_realm_of_principal); > static const struct atype_info *setpw_req_fields[] = { > &k5_atype_setpw_0, &k5_atype_setpw_1, &k5_atype_setpw_2 > }; >-- >2.35.0 >
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 15047
:
17299
|
17300
|
17302
|
17303
|
17305
|
17306
|
17307
|
17308
| 17309 |
17310
|
17311
|
17312
|
17313
|
17337
|
17342
|
17346
|
17352
|
17353
|
17357
|
17358
|
17359
|
17360
|
17361
|
17368
|
17372
|
17373
|
17394
|
17395
|
17396
|
17397
|
17398
|
17433
|
17446
|
17450