Check the DNS Configuration

The Oracle Solaris SMB service must be running for the smbadm join command to succeed.

If Active Directory (AD) is configured, the Oracle Solaris SMB service attempts to locate the domain controller by means of DNS. If the service cannot locate the domain controller, you must use SMF to configure DNS properly.

The following configuration issues might prevent you from configuring the Oracle Solaris SMB service in domain mode:

  • Missing DNS domain. Ensure that the fully qualified AD domain name has been added to the search list or as the local domain.

    If your configuration is incorrect, you might see the Failed to join domain domain-name (INVALID_PARAMETER) error when attempting to join the domain.

  • Missing DNS server. Ensure that the IP address of the AD DNS server is added as the name server.

    If your configuration is incorrect, you might see the Failed to find any domain controllers error when attempting to join the domain.

  • DNS host lookup not used. Ensure that DNS is used for host lookup.

Use the svccfg command to update properties for system/name-service/switch and network/dns/client. See the svccfg(8) man page.