since 4.18.2 there is a regression specifically net -s dummy-smb.conf ads lookup -S dcmachine.realm fails (where dummy-smb.conf is effectively empty) now fails always with Didn't find the cldap server! return code = -1
see https://gitlab.com/samba-team/samba/-/merge_requests/3108
This bug was referenced in samba master: 22ab42c1007775abca0b578744d4c18a85cda627
Created attachment 17907 [details] backport for 4.18
Jule, please apply the patch to 4.18. Thanks!
Pushed to autobuild-v4-18-test.
This bug was referenced in samba v4-18-test: d2c86925f62012f0fe017a16ce4cef5fd47e17c3
Closing out bug report. Thanks!
This bug was referenced in samba v4-18-stable (Release samba-4.18.4): d2c86925f62012f0fe017a16ce4cef5fd47e17c3
sorry, seems I made a little mistake and failed to see that this patch also needs backporting to 4.17 (this bug is relevant also on 4.17.8 onwards) Jule, could you please backport this to 4.17 also (the patch attached patch also applies for me on v4-17-test)
Pushed to autobuild-v4-17-test :-)
This bug was referenced in samba v4-17-test: d94cbb10b882d52782cbabc1328c751cea4cb86f
This bug was referenced in samba v4-17-stable (Release samba-4.17.11): d94cbb10b882d52782cbabc1328c751cea4cb86f