In samldb_krbtgtnumber_available(), we were searching for "msDC-SecondaryKrbTgtNumber" instead of "msDS-SecondaryKrbTgtNumber" - note "DC" instead of "DS". "msDS-SecondaryKrbTgtNumber" is used everywhere else in the code, so we must use the same here.
This bug was referenced in samba master: b6d60e8f4d06ca9733a4cc3094312a3dc456a656
Created attachment 16835 [details] git-am fix for 4.15.next, 4.14.next. Cherry-picked from master.
Comment on attachment 16835 [details] git-am fix for 4.15.next, 4.14.next. Thanks for handling the backport!
Assigning to Jule for 4.15 and 4.14
Pushed to autobuild-v4-{15,14}-test.
This bug was referenced in samba v4-14-test: b66b172bb57d0ad0693daac0ec86c49295526de2
This bug was referenced in samba v4-15-test: c95146480601a229716dda13b0e8416774bdbeeb
Closing out bug report. Thanks!
This bug was referenced in samba v4-14-stable (Release samba-4.14.8): b66b172bb57d0ad0693daac0ec86c49295526de2
This bug was referenced in samba v4-15-stable (Release samba-4.15.1): c95146480601a229716dda13b0e8416774bdbeeb