Managing file storage
Acronis Cyber Infrastructure allows you to authenticate users for access to specific NFS shares via Kerberos.
Prerequisites
- NFS exports are created, as described in Creating NFS exports.
To enable user authentication in an NFS share
- Assign a forward and reverse resolvable FQDN (fully qualified domain name) to share’s IP address.
-
On the Settings > Security > Kerberos tab, specify the following Kerberos information:
- In Realm, your DNS name in uppercase letters.
- In KDC service, the DNS name or IP address of the host running the realm’s key distribution center (KDC) service.
-
In KDC administration service, the DNS name or IP address of the host running the realm’s KDC administration service.
Usually, the KDC and its administration service run on the same host.
-
On the Kerberos server:
- Log in as administrator to the Kerberos database administration program.
-
Add a principal for the share by using the command
addprinc -randkey nfs/<share_FQDN>@<realm>. For example:# addprinc -randkey nfs/share1.example.com@example.com
-
Generate a keytab (key table) for the principal and save it to a directory you can upload from. For example:
# ktadd -k /tmp/krb5.keytab nfs/share1.example.com@example.com
- On the Storage services > NFS > Share tab, select a share, and then click Authentication.
- Upload the keytab file and click Save.
Each share and client (user that mounts the export) must have their own principal and keytab.