You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-identity-auth-linux-kerberos-enable.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Use on-premises Active Directory Domain Services or Microsoft Entra Domain Services to authorize access to Azure Files over SMB for Linux clients using Kerberos authentication
3
-
description: Learn how to enable identity-based Kerberos authentication for Linux clients over Server Message Block (SMB) for Azure Files using on-premises Active Directory Domain Services (AD DS) or Microsoft Entra Domain Services
2
+
title: Use Kerberos authentication for Linux clients with Azure Files
3
+
description: Learn how to enable identity-based Kerberos authentication for Linux clients over Server Message Block (SMB) for Azure Files using on-premises Active Directory Domain Services (AD DS) or Microsoft Entra Domain Services.
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.custom: linux-related-content
7
7
ms.topic: how-to
8
-
ms.date: 04/18/2023
8
+
ms.date: 05/10/2024
9
9
ms.author: kendownie
10
10
---
11
11
@@ -18,12 +18,13 @@ For more information on supported options and considerations, see [Overview of A
18
18
- On-premises Windows Active Directory Domain Services (AD DS)
19
19
- Microsoft Entra Domain Services
20
20
21
-
In order to use the first option (AD DS), you must sync your AD DS to Microsoft Entra ID using Microsoft Entra Connect.
21
+
In order to use AD DS, you must sync your AD DS to Microsoft Entra ID using Microsoft Entra Connect.
22
22
23
-
> [!Note]
23
+
> [!NOTE]
24
24
> This article uses Ubuntu for the example steps. Similar configurations will work for RHEL and SLES machines, allowing you to mount Azure file shares using Active Directory.
25
25
26
26
## Applies to
27
+
27
28
| File share type | SMB | NFS |
28
29
|-|:-:|:-:|
29
30
| Standard file shares (GPv2), LRS/ZRS |||
@@ -40,7 +41,7 @@ Before you enable AD authentication over SMB for Azure file shares, make sure yo
40
41
41
42
- A Linux VM (Ubuntu 18.04+ or an equivalent RHEL or SLES VM) running on Azure. The VM must have at least one network interface on the VNET containing the Microsoft Entra Domain Services, or an on-premises Linux VM with AD DS synced to Microsoft Entra ID.
42
43
- Root user or user credentials to a local user account that has full sudo rights (for this guide, localadmin).
43
-
- The Linux VM must not have joined any AD domain. If it's already a part of a domain, it needs to first leave that domain before it can join this domain.
44
+
- The Linux VM must not have joined any AD domain. If it's already a part of a domain, it must first leave that domain before it can join this domain.
44
45
- A Microsoft Entra tenant [fully configured](../../active-directory-domain-services/tutorial-create-instance.md), with domain user already set up.
45
46
46
47
Installing the samba package isn't strictly necessary, but it gives you some useful tools and brings in other packages automatically, such as `samba-common` and `smbclient`. Run the following commands to install it. If you're asked for any input values during installation, leave them blank.
@@ -519,7 +520,7 @@ For detailed mounting instructions, see [Mount the Azure file share on-demand wi
519
520
520
521
Use the following additional mount option with all access control models to enable Kerberos security: `sec=krb5`
521
522
522
-
> [!Note]
523
+
> [!NOTE]
523
524
> This feature only supports a server-enforced access control model using NT ACLs with no mode bits. Linux tools that update NT ACLs are minimal, so update ACLs through Windows. Client-enforced access control (`modefromsid,idsfromsid`) and client-translated access control (`cifsacl`) models aren't currently supported.
524
525
525
526
### Other mount options
@@ -547,7 +548,7 @@ Performance is important, even if file attributes aren't always accurate. The de
547
548
548
549
For newer kernels, consider setting the **actimeo** features more granularly. You can use **acdirmax**for directory entry revalidation caching and **acregmax**for caching file metadata, for example **acdirmax=60,acregmax=5**.
549
550
550
-
## Next steps
551
+
## Next step
551
552
552
553
For more information on how to mount an SMB file share on Linux, see:
0 commit comments