if you have a trust between an MIT kerberos realm and an Active Directory Domain, say EXAMPLE.COM and AD.EXAMPLE.COM it will always guess that the server principle is server$@EXAMPLE.COM and never try server$@AD.EXAMPLE.COM so, if do a kinit for user@EXAMPLE.COM then try to do a smbclient -k //server.ad.example.com/whatever it will end up trying the principal server$@EXAMPLE.COM instead of server$@AD.EXAMPLE.COM
Created attachment 5250 [details] Patch for master and also 3.5.0 Jason, please test this and let me know if it fixes the problem. Jeremy.
I was able to apply these changes to 3.4.5 and make a successful connection.
component -> File Services reassigned to JRA
Created attachment 5251 [details] git-am format patch for 3.5.0. Fix for 3.5.0. Tested by bug submitter.
Comment on attachment 5251 [details] git-am format patch for 3.5.0. Looks good
Pushed to v3-5-test. Will be included in 3.5.0. Closing out bug report. Thanks!