The error samba_dlz: Unable to get basedn for /var/lib/samba/private/dns/sam.ldb - NULL Base DN invalid for a base search. is not very clear, and an empty sam.ldb will have been created. We want to fail to open the non-existent DB instead.
This bug was referenced in samba master: f226bea5de892e3dbda3c0737edf054399ec0104 d49e96bc45ea5e2d3364242dad36fe9094b7cc42
Created attachment 16367 [details] patch from master backported to 4.12 and 4.13
Assigning to Karolin, but still missing reviews. If someone could review these it would be awesome!
If someone would review this one today, it would be included in 4.12.11.
Pushed to autobuild-v4-{13,12}-test.
This bug was referenced in samba v4-12-test: 578c5805ac7c44a1dcb4e5a121f65bad95d188d5
This bug was referenced in samba v4-13-test: fc15ff8951f791ba53f25b44c105093c1cdb9bac
Closing out bug report. Thanks!
This bug was referenced in samba v4-12-stable (Release samba-4.12.11): 578c5805ac7c44a1dcb4e5a121f65bad95d188d5
This bug was referenced in samba v4-13-stable (Release samba-4.13.4): fc15ff8951f791ba53f25b44c105093c1cdb9bac