net ads join -k createcomputer=Servers/UNIX -U unixadmin@EXAMPLE.NETSince the machine windows1 was automatically found in the corresponding Kerberos Realm, we know this if the kinit command succeeded, the net command connects to the Microsoft Active Directory server using its required administrator account and password. The command creates the appropriate NIX Workstation account in Microsoft Active Directory and grants permissions to the NIX Workstation to Join AD Domain.
The "Servers/UNIX" represents the location to create the NIX Workstation account in Microsoft Active Directory and is relative to the domain name.
The above command-line assumes you used the krb5.conf file as shown. If you added a Realm, then the realm will be appended to the unixadmin@NWIEPILOT.NET string and you will receive a error similar to:
Failed to join domain: failed to connect to AD: Malformed representation of principal
Also, DNS is not allowed to be updated by samba; however the NIX Workstation should should already be proper in DNS.
net ads testjoin