[Bug 255415] net/samba412: "samba-tool domain provision --dns-backend=BIND9_DLZ" create wrong named.conf for DLZ

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 26 10:54:49 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255415

            Bug ID: 255415
           Summary: net/samba412: "samba-tool domain provision
                    --dns-backend=BIND9_DLZ" create wrong named.conf for
                    DLZ
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur at FreeBSD.org
          Reporter: shellingfield at icloud.com
          Assignee: timur at FreeBSD.org
             Flags: maintainer-feedback?(timur at FreeBSD.org)

Created attachment 224437
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224437&action=edit
Patch for files/patch-bind

on fresh installed 12.2-RELEASE(-p6) and net/samba412-4.12.14,


after provisioning Samba AD DC w/ BIND9_DLZ, /var/db/samba4/bind-dns/named.conf
whould be created.
however including this named.conf for dlz, dns/bind916 said


# /usr/local/etc/rc.d/named start
/var/db/samba4/bind-dns/named.conf:35: expected string near '/'
/usr/local/etc/rc.d/named: ERROR: named-checkconf for
/usr/local/etc/namedb/named.conf failed


generated named.conf is like

    database /usr/local/lib/samba4/modules/bind9/dlz_bind9_16.so";

but this should be

    database "dlopen /usr/local/lib/samba4/modules/bind9/dlz_bind9_16.so";

and then named would start well.


maybe commit 0664fec9b05912d1c1f0f051831ef2c997d8fa2a (ports r550234) for
files/patch-bind cause this problem.

reverting this could fix for me.

Regards,

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list