Solaris 11.1 SMB Server cannot join the Windows Domain with a long fully qualified hostname
Last updated on JULY 29, 2016
Applies to:Solaris Operating System - Version 11.1 to 11.3 [Release 11.0]
Information in this document applies to any platform.
The attempt to join the Windows Domain fails with the error of Unsuccessful:
# smbadm join -u Administrator subdomain.domain.com
After joining subdomain.domain.com the smb service will be restarted automatically.
Would you like to continue? [no]: yes
Enter domain password:
Locating DC in subdomain.domain.com ... this may take a minute ...
Joining subdomain.domain.com ... this may take a minute ...
failed to join subdomain.domain.com: UNSUCCESSFUL
Please refer to the system log for more information.
The /var/adm/messages file records messages such as the following during the join attempt:
Feb 19 14:44:01 hostname.subdomain.domain.com smbd: [ID 702911 daemon.error] smbns_krb: getting initial credentials via keytab (Preauthentication failed)
Feb 19 14:44:01 hostname.subdomain.domain.com smbd: [ID 702911 daemon.notice] Unable to bind to an Active Directory server (using the local host credentials)
The results of the hostname command will show a fulling qualifed hostname of some length exceeding 15 characters:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms