Skip to content

Commit c4925d4

Browse files
authored
Merge pull request #229550 from sreekzz/patch-150
Updated How do I create a keytab for an HDInsight ESP cluster
2 parents 4769d13 + 152b91e commit c4925d4

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

articles/hdinsight/hdinsight-faq.yml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
ms.service: hdinsight
99
ms.custom: hdinsightactive,seoapr2020
1010
ms.topic: faq
11-
ms.date: 07/19/2022
11+
ms.date: 02/06/2023
1212
title: "Azure HDInsight: Frequently asked questions"
1313
summary: |
1414
This article provides answers to some of the most common questions about how to run [Azure HDInsight](https://azure.microsoft.com/services/hdinsight/).
@@ -180,13 +180,40 @@ sections:
180180
Create a Kerberos keytab for your domain username. You can later use this keytab to authenticate to remote domain-joined clusters without entering a password. The domain name is uppercase:
181181
182182
```shell
183+
183184
ktutil
184-
ktutil: addent -password -p <username>@<DOMAIN.COM> -k 1 -e RC4-HMAC
185+
ktutil: addent -password -p <username>@<DOMAIN.COM> -k 1 -e aes256-cts-hmac-sha1-96
185186
Password for <username>@<DOMAIN.COM>: <password>
186187
ktutil: wkt <username>.keytab
187188
ktutil: q
188189
```
189190
191+
- question: |
192+
When is salting required for AES256 encryption when creating the keytab?
193+
answer: |
194+
If your TenantName & DomainName are different (example TenantName – [email protected] & DomainName – [email protected]), you need to add a SALT value using the -s option.
195+
196+
- question: |
197+
How do I determine the proper SALT value?
198+
answer: |
199+
1. Use an interactive Kerberos login to determine the proper salt value for the keytab. Interactive Kerberos login will use the highest encryption by default. Tracing should be enabled to observe the salt. Below is a sample Kerberos login:
200+
201+
```shell
202+
203+
$ KRB5_TRAACE=/dev/stdout kinit <username> -V
204+
```
205+
2. Look through the output for the salt "......." line.
206+
3. Use this salt value when creating the keytab.
207+
208+
```shell
209+
210+
ktutil
211+
ktutil: addent -password -p <username>@<DOMAIN.COM> -k 1 -e aes256-cts-hmac-sha1-96 -s <SALTvalue>
212+
Password for <username>@<DOMAIN.COM>: <password>
213+
ktutil: wkt <username>.keytab
214+
ktutil: q
215+
```
216+
190217
- question: |
191218
Can I use an existing Azure Active Directory tenant to create an HDInsight cluster that has the ESP?
192219
answer: |
@@ -195,7 +222,7 @@ sections:
195222
To join VMs to a domain, you must have a domain controller. Azure AD DS is the managed domain controller, and is considered an extension of Azure Active Directory. Azure AD DS provides all the Kerberos requirements to build a secure Hadoop cluster in a managed way. HDInsight as a managed service integrates with Azure AD DS to provide security.
196223
197224
- question: |
198-
Can I use a self-signed certificate in an AAD-DS secure LDAP setup and provision an ESP cluster?
225+
Can I use a self-signed certificate in an Azure AD-DS secure LDAP setup and provision an ESP cluster?
199226
answer: |
200227
Using a certificate issued by a certificate authority is recommended. But using a self-signed certificate is also supported on ESP. For more information, see:
201228
@@ -204,7 +231,7 @@ sections:
204231
- [Tutorial: Configure secure LDAP for an Azure Active Directory Domain Services managed domain](../active-directory-domain-services/tutorial-configure-ldaps.md)
205232
206233
- question: |
207-
Can I install Data Analytics Studio (DAS) an an ESP cluster?
234+
Can I install Data Analytics Studio (DAS) as an ESP cluster?
208235
answer: |
209236
No, DAS is not supported on ESP clusters.
210237
@@ -239,7 +266,7 @@ sections:
239266
LLAP is enabled for security reasons (Apache Ranger), not performance. Use larger node VMs to accommodate for the resource usage of LLAP (for example, minimum D13V2).
240267
241268
- question: |
242-
How can I add additional AAD groups after creating an ESP cluster?
269+
How can I add additional Azure AD groups after creating an ESP cluster?
243270
answer: |
244271
There are two ways to achieve this goal:
245272
1- You can recreate the cluster and add the additional group at the time of cluster creation. If you're using scoped synchronization in AAD-DS, make sure group B is included in the scoped synchronization.
@@ -333,7 +360,7 @@ sections:
333360
- question: |
334361
How do I retrieve the configuration details from HDI cluster by using an Azure Active Directory user?
335362
answer: |
336-
To negotiate proper authentication tokens with your AAD user, go through the gateway by using the following format:
363+
To negotiate proper authentication tokens with your Azure AD user, go through the gateway by using the following format:
337364
338365
* https://`<cluster dnsname>`.azurehdinsight.net/api/v1/clusters/testclusterdem/stack_versions/1/repository_versions/1
339366

0 commit comments

Comments
 (0)