If you join a domain with Kerberos (MIT) you might get the following error: samba-cli01:~ # net ads join -k Kinit for SAMBA-CLI01$@EARTH to access WINSRV-DC02.earth.milkyway.site failed: KDC reply did not match expectations The reason is that after the latest changes to libsmb we use: SAMBA-CLI01$@EARTH as the principal for kinit. Windows allows to use the domain name (netbios name) in the principal but for that you need to turn on canonicalization support. We do not do that if Samba is compiled with MIT Kerberos.
Is this still broken?
samba-cli01:~ # net ads join -k Using short domain name -- EARTH Joined 'SAMBA-CLI01' to dns domain 'earth.milkyway.site'