URL:
https://github.com/SSSD/sssd/pull/193
Title: #193: UTIL: Use max 15 characters for AD host UPN
simo5 commented:
"""
Sorry to be Johhny come late, but I do not think you can simply truncate the hostname
here.
This function is used to search a principal from the keytab that would work for Windows, I
think at this point it would be best to enumrate the keys in the keytab and patternmatch
on a single componenet principal that ends in a $ rather than trying to guess what key you
might find in there, no?
"""
See the full comment at
https://github.com/SSSD/sssd/pull/193#issuecomment-293716783