Configure domain

If the domain join operation fails, it is usually due to incorrect configuration of the ESMC VA files. Configure Domain allows you to modify configuration files to include specific settings of your environment. The following configuration files are available:

File name

Description

/etc/hosts

The Hosts file should correctly map to your domain controller name and its IP address.

/etc/krb5.conf

The Kerberos configuration file should be correctly generated. Verify that kinit <user-from-domain> works.

/etc/ntp.conf

The NTP configuration file should contain a record for regular time updates against the domain controller.

/etc/samba/smb.conf

The Samba configuration file should be correctly generated.

These files are preconfigured and require minimal changes to them when  specifying a domain name, for example, or a domain controller name, a DNS server name, etc.

1.Enter management mode by typing your password and pressing Enter twice. Select Configure domain using the arrow keys and press Enter.

note

Note

This is an advanced procedure that we recommend for expert administrators only.

configure_domain

2.Press Enter to edit the first configuration file.

3.Press Ctrl+X to close the text editor. You will be prompted to save changes, press Y to save or N to discard. In case you have not made any changes, the text editor will just close. If you want to make further changes, do not use Ctrl+X, but press Ctrl+C to cancel and return to the text editor. Visit this Knowledgebase article to view examples of how to edit the configuration files.

note

Note

See /root/help-with-domain.txt on your ESMC VA, the easiest way is to search for help-with-domain.txt using Webmin File manager. Alternatively, you can use nano help-with-domain.txt command to see the help file.

If you are not familiar with Linux and terminal, you can configure domain connection (Kerberos, NTP or network settings through Samba Windows File Sharing) using Webmin.

4.After completing the domain configuration, select Rejoin Domain and type the Administrator name and password for domain connection.