- Technology stack
- Architecture of the Solution
- Installing and Configuring MULTIDIRECTORY
- Configuring Kerberos in the MULTIDIRECTORY Web Interface
- Configuring DNS in the MULTIDIRECTORY Web Interface
- DHCP Configuration
- Domain Trust Configuration
- Group Policy
- Connecting MULTIFACTOR Self-Service Portal to MULTIDIRECTORY
- User, Group, and Resource Management
- Connecting to MULTIFACTOR
- Access Policies
- LDAP Schema
- LDAP Logging Configuration
- Password Policies
- Role and Permission Configuration
- LDAP Authentication in Ansible AWX
- LDAP Authentication in ArgoCD
- LDAP Authentication in GitLab
- LDAP Authentication in GitFlic
- LDAP Authentication in Jenkins
- LDAP Authentication in Harbor
- LDAP Authentication in Nexus
- LDAP Authentication in PostgreSQL
- LDAP Authentication in Rancher
- LDAP Authentication in Proxmox VE
- LDAP Authentication in SpaceVM
- LDAP Authentication in Tantor
- LDAP Authentication in Shturval
- LDAP Authentication in zVirt
- LDAP Authentication in GLPI
NFS File Share Integration
Brief description
This article describes how to configure integration with the NFS file system, where MULTIDIRECTORY is the account provider.
Configuration requirements
- MULTIDIRECTORY directory service installed.
- NFS system pre-installed.
Preparation for configuration
- Create a service account in MULTIDIRECTORY that will have read permissions for the directory.
Note
- Before installation, the NFS server must be joined to the MULTIDIRECTORY (MD) domain.
- The connection between the client and the NFS server is secured using Kerberos authentication (ports 88/749 are used).
Configuring the NFS server side
NFS Server Package Installation
apt install nfs-kernel-server
Restarting and checking the service:
service nfs-kernel-server restart service nfs-kernel-server status
NFS Configuration:
sudo nano /etc/exports # NFS configuration file
Example of minimal configuration settings:
/var/shara *(rw,sync,no_subtree_check,sec=sys)
Parameter Details
- /var/shara – The directory to be shared with NFS clients. You may create and specify any directory of your choice.
- * – Client IP address or subnet allowed to mount this share. * permits all IP addresses (not recommended for production). Replace with a specific IP or subnet for secure access.
- rw — grants read and write permissions on the shared directory.
- sync — replies to client requests only after data has been committed to stable storage.
- no_subtree_check — disables subtree checking, which can improve performance and avoid issues when files are renamed during access.
- sec=sys – authentication method that uses the client’s UID/GID to verify permissions.
sec=krb5 # Kerberos 5
sec=krb5i # Kerberos 5 with integrity
sec=krb5p # Kerberos 5 with encryption
displays which directories are available for mounting:
showmount -e
Configuring the NFS client
Client-Side Package Installation:
apt-get install nfs-common nfs4-acl-tools autofs5 autofs5-ldap
Log in with your MULTIDIRECTORY account:
login test # test - user account
Connecting a network directory:
sudo mount -t nfs -o vers=4 192.168.1.2:/var/shara /home/user/test
Parameter Details
- -t nfs — file system type
- -o vers=4 — mount option and NFS protocol version
- 192.168.3.2:/var/shara — NFS server IP address with the shared directory path
- /home/user/test — local mount point for the network directory.
