To authenticate users from a Windows domain, the Oracle Solaris SMB service must locate a domain controller, authenticate, and then add a computer account to the domain.
Users from the domain are not able to establish a connection to the Oracle Solaris SMB service unless this process succeeds.
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 (1M) man page.
The user that you specify on the smbadm join command line must have the correct password and the authority to create computer accounts.
The following error message appears if you supply the wrong password for the administrative user:
Failed to find any domain controllers for domain-name
Some firewall software might filter out certain ports, which will prevent a Oracle Solaris SMB server from successfully joining a domain.
For example, the following error message appears if the Kerberos Change & Set Password port is filtered out:
smbd[446]: [daemon.error] smbns_kpasswd: KPASSWD protocol exchange failed ...
The following network protocols are used by the smbd service during a domain join operation, and must be available for the Oracle Solaris SMB service:
53
88
464
749
389
138
137
139
445
Port assignment settings appear in the /etc/services file. For more information, see the services (4) man page.