File server#
The File server
application is built with Samba. It provides shared folders and home directories to
users and groups of an Active Directory domain.
This application is available by installing a Samba account provider (see
Active Directory) with the Provide file shares and
authentication to Windows clients
switch enabled.
Warning
Only one domain controller in the AD domain can be configured with a LAN IP address and serves Authentication, Shares and DNS to Windows clients. Other DCs are bound to the cluster private VPN and are accessible only to cluster applications.
Restore File server from backup#
Warning
To avoid reconfiguring network clients, the system should provide the same IP address that was used in the Samba File server backup.
First of all, apply the procedure described in Restore applications by selecting the backup of the Samba module.
If the restored controller is the first of the domain there are two alternatives:
If the system IP address is the same used in the backup set, DC services are started automatically and no further actions are required.
If the previous condition does not apply, DC services are started using the system VPN IP address as fallback. A similar command is required to select another IP address in a second time:
api-cli run module/samba0/set-ipaddress --data '{"ipaddress": "10.15.21.100"}'
Replace samba0 with the correct module identifier. Replace the ipaddress value with the correct IP address.
Otherwise, if one or more domain controllers already exist:
go to
Domain and users
page and open the Unconfigured provider link;fill the form to join a new DC to the domain.
Footnotes