Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2021 10:54:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255415] net/samba412: "samba-tool domain provision --dns-backend=BIND9_DLZ" create wrong named.conf for DLZ
Message-ID:  <bug-255415-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255415

            Bug ID: 255415
           Summary: net/samba412: "samba-tool domain provision
                    --dns-backend=3DBIND9_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@FreeBSD.org
          Reporter: shellingfield@icloud.com
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

Created attachment 224437
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224437&action=
=3Dedit
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,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255415-7788>