This is what we had in 4.12: slow@titan:~/git/samba/v412$ sudo bin/net ads search -P '(objectClass=Domain)' name Got 1 replies name: wdom2 slow@titan:~/git/samba/v412$ sudo bin/net ads search -P --server dom-w2k16-3.wdom2.site '(objectClass=Domain)' name Got 1 replies name: wdom2 slow@titan:~/git/samba/v412$ sudo bin/net ads search -P --server w2k16-1.wdom1.site '(objectClass=Domain)' name Got 1 replies name: wdom1 And this is what 4.17 gives: slow@titan:~/git/samba/v417$ sudo bin/net ads search -P '(objectClass=Domain)' name Got 1 replies name: wdom2 slow@titan:~/git/samba/v417$ sudo bin/net ads search -P --server dom-w2k16-3.wdom2.site '(objectClass=Domain)' name Got 1 replies name: wdom2 slow@titan:~/git/samba/v417$ sudo bin/net ads search -P --server w2k16-1.wdom1.site '(objectClass=Domain)' name kerberos_kinit_password TITAN$@WDOM1.SITE failed: Client not found in Kerberos database The difference is that ads_struct->auth.realm is NULL in 4.17, while it was WDOM2.SITE in 4.12.
This bug was referenced in samba master: 3b585f9e8cc320841fab4cd5c3be53788d0a87ac 0ef53b948e13eb36b536228cccd89aa4c2adbb90
Created attachment 17858 [details] Patches for v4-18-test
Created attachment 17859 [details] Patches for v4-17-test
Jule, please apply the patches to the corresponding branches. Thanks!
Pushed to autobuild-v4-{18,17}-test.
This bug was referenced in samba v4-17-test: 45a264bf5b6cd8116ed9c45086163d33da9ea7a4 fd477e4ff6f90568648059280cbf80f241ba3248
This bug was referenced in samba v4-18-test: 4f1d674aa929208a9d623ce933da3d38692f68b8 5cc3c1b5f6b0289f91c01b20989558badc28fd61
Closing out bug report. Thanks!
This bug was referenced in samba v4-18-stable (Release samba-4.18.2): 4f1d674aa929208a9d623ce933da3d38692f68b8 5cc3c1b5f6b0289f91c01b20989558badc28fd61
This bug was referenced in samba v4-17-stable (Release samba-4.17.8): 45a264bf5b6cd8116ed9c45086163d33da9ea7a4 fd477e4ff6f90568648059280cbf80f241ba3248