Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
2bc1409c
Commit
2bc1409c
authored
5 years ago
by
Andrew
Committed by
William Grzybowski
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Exclude unknown encytypes from ktutil choices
Unknown enctype may break processing of ktutil output.
parent
f60529f9
freenas/11.3-u3-stable
freenas/11.3-stable
TN-11.3-U5
TN-11.3-U4.1
TN-11.3-U3.2
TN-11.3-U2.2
TN-11.3-U2.1
TN-11.3-U2
TN-11.3-RC2
TN-11.3-RC1
FN-11.3.U4
FN-11.3-U5
FN-11.3-U4.1
FN-11.3-U3.2
FN-11.3-U3.1
FN-11.3-U3
FN-11.3-U2.1
FN-11.3-U2
FN-11.3-U1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/middlewared/middlewared/plugins/kerberos.py
+4
-0
src/middlewared/middlewared/plugins/kerberos.py
with
4 additions
and
0 deletions
+4
-0
src/middlewared/middlewared/plugins/kerberos.py
View file @
2bc1409c
...
...
@@ -752,6 +752,10 @@ class KerberosKeytabService(CRUDService):
for
line
in
kt_list_output
.
splitlines
():
fields
=
line
.
split
()
if
len
(
fields
)
>=
4
and
fields
[
0
]
!=
'Vno'
:
if
fields
[
'1'
]
==
'unknown'
:
self
.
logger
.
warning
(
'excluding unknown encryption type %s from keytab choices'
,
fields
[
2
])
continue
keytab_entries
.
append
({
'kvno'
:
fields
[
0
],
'type'
:
fields
[
1
],
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help