LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   BIND9_DLZ not working on OpenSUSE Leap 15.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/bind9_dlz-not-working-on-opensuse-leap-15-2-a-4175691954/)

unquietwiki 03-12-2021 11:36 PM

BIND9_DLZ not working on OpenSUSE Leap 15.2
 
Hey all. I successfully got Samba to run as an Active Directory controller using Ubuntu 20.04. However, I decided to switch over to OpenSUSE 15.2 to take advantage of some tooling one of the devs was working on. I already had to do some bind mounts to /etc/fstab, but it's still trying to access the wrong LDB file: /var/lib/samba/private/dns/sam.ldb is what it wants, but /var/lib/samba/private/sam.ldb is what exists.

Stuff I put in /etc/fstab
Code:

/usr/lib64 /var/lib/named/usr/lib64 none bind,ro
/lib64 /var/lib/named/lib64 none bind,ro


berndbausch 03-13-2021 12:48 AM

I don't see how the bind mounts in fstab relate to the database files. Also, what is "it", and can't you configure it to use the existing file?

unquietwiki 03-13-2021 01:05 AM

Hey Bernd. So, the bind mounts I figured out via some other mailing list posts for SAMBA & other distros. Basically, OpenSUSE appears to chroot jail BIND/named, which cuts it off from accessing libraries needed for the BIND9_DLZ mode.

Regarding what I'm trying to figure out... I haven't count a config item in SAMBA, or BIND/named, that lets me directly specify the LDB file that DLZ mode is trying to access. Per the LDB website... "Currently ldb is completely lacking in programmer or user documentation."


All times are GMT -5. The time now is 06:29 AM.