…d by default by Kerberos (amagyar)

## What changes were proposed in this pull request?

If an encryption family is used in kerberos-env/encryption_types then the 
family should be resolved and substituted with the corresponding encryption 
types.

This will be used in stack code (different branch).

## How was this patch tested?

* Added the stack code that uses the function from this patch.
* Set  kerberos-env/encryption_types to "aes des3 rc4"
* Enabled kerberos
* Checked that in /etc/krb5.conf default_tgs_enctypes, default_tkt_enctypes, 
permitted_enctypes were:

```text
aes128-cts-hmac-sha256-128 rc4-hmac aes256-cts-hmac-sha1-96 des3-cbc-sha1 
aes256-cts-hmac-sha384-192 aes128-cts-hmac-sha1-96
```

[ Full content available at: https://github.com/apache/ambari/pull/2369 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to