Univention Bugzilla – Attachment 9392 Details for
Bug 46292
4.3 master, 4.2 backup with s4connector, connector on backup segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
univention-s4-connector.patch
univention-s4-connector.patch (text/plain), 1.19 KB, created by
Felix Botner
on 2018-02-16 11:32:21 CET
(
hide
)
Description:
univention-s4-connector.patch
Filename:
MIME Type:
Creator:
Felix Botner
Created:
2018-02-16 11:32:21 CET
Size:
1.19 KB
patch
obsolete
>diff --git a/services/univention-s4-connector/modules/univention/s4connector/s4/password.py b/services/univention-s4-connector/modules/univention/s4connector/s4/password.py >index b4d5d1b..8d396e7 100644 >--- a/services/univention-s4-connector/modules/univention/s4connector/s4/password.py >+++ b/services/univention-s4-connector/modules/univention/s4connector/s4/password.py >@@ -166,13 +166,17 @@ def calculate_supplementalCredentials(ucs_krb5key, old_supplementalCredentials): > krb5_des_crc = '' > krb_ctr3_salt = '' > krb_ctr4_salt = '' >+ context = heimdal.context() >+ permitted_enctypes = map(lambda x: x.toint(), context.get_permitted_enctypes()) > for k in ucs_krb5key: > (keyblock, salt, kvno) = heimdal.asn1_decode_key(k) >- > key_data = keyblock.keyvalue() > saltstring = salt.saltvalue() > enctype = keyblock.keytype() > enctype_id = enctype.toint() >+ if enctype_id not in permitted_enctypes: >+ ud.debug(ud.LDAP, ud.WARN, "calculate_supplementalCredentials: ignoring enctype '%s', not supported by heimdal" % enctype_id) >+ continue > ud.debug(ud.LDAP, ud.INFO, "calculate_supplementalCredentials: krb5_keytype: %s (%d)" % (enctype, enctype_id)) > if enctype_id == 18: > krb5_aes256 = key_data
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46292
:
9391
| 9392 |
9393