[Samba] samba AD-DC with bind9, dyn-dns complains that "No AD dhcp user exists"

Carlos Jesus camjesus2 at gmail.com
Wed Sep 8 15:29:33 UTC 2021


They're here....

named.conf:
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
include "/usr/local/samba/bind-dns/named.conf";
include "/etc/bind/named.conf.samba";
include "/etc/bind/named.conf.log";


named.conf.default-zones
zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

named.conf.local
acl internals {
   127.0.0.0/8;
   192.168.1.0/24;
};
include "/etc/bind/rndc.key";
controls {
   inet 127.0.0.1 allow {localhost; } keys { "rndc-key"; };
};

named.conf.options:
dnssec-validation auto;
directory "/var/cache/bind";

named.conf.log:
logging {
  channel bind_log {
    file "/var/log/bind/bind.log" versions 3 size 5m;
    severity notice;
    print-category yes;
    print-severity yes;
    print-time yes;
  };
  category default { bind_log; };
  category update { bind_log; };
  category update-security { bind_log; };
  category security { bind_log; };
  category queries { bind_log; };
  category lame-servers { null; };
};


named.conf.samba
options {
    auth-nxdomain yes;
    directory "/var/cache/bind";
    notify no;
    empty-zones-enable no;
    dnssec-validation auto;
    tkey-gssapi-keytab "/usr/local/samba/bind-dns/dns.keytab";
    minimal-responses yes;
    allow-query {
        127.0.0.1;
        192.168.1.0/24;
    };
    allow-recursion {
        127.0.0.1;
        192.168.1.0/24;
    };
    forwarders {
        8.8.8.8;
        8.8.4.4;
    };
allow-transfer {
        none;
    };
 };
zone "." {
   type hint;
   file "named.root";
};
zone "localhost" {
    type master;
    file "master/localhost.zone";
};
zone "0.0.127.in-addr.arpa" {
    type master;
    file "master/0.0.127.zone";
};

Rowland Penny via samba <samba at lists.samba.org> escreveu no dia quarta,
8/09/2021 à(s) 15:29:

> On Wed, 2021-09-08 at 15:22 +0100, Carlos Jesus wrote:
> > Hello again Rowland,
> > unfortunately, the problem seems to have escalated
> >
> > Sep 08 14:04:21 EhSecondary named[3299]: samba_dlz: started for DN
> > DC=SAMDOM,DC=local
> > Sep 08 14:04:21 EhSecondary named[3299]: samba_dlz: starting
> > configure
> > Sep 08 14:04:21 EhSecondary named[3299]: samba_dlz: configured
> > writeable zone 'SAMDOM.local'
> > Sep 08 14:04:21 EhSecondary named[3299]: samba_dlz: configured
> > writeable zone '1.168.192.in-addr.arpa'
> > Sep 08 14:04:21 EhSecondary named[3299]: none:106: 'max-cache-size
> > 90%' - setting to 1795MB (out of 1994MB)
> > Sep 08 14:04:21 EhSecondary named[3299]: obtaining root key for view
> > _default from '/etc/bind/bind.keys'
> > Sep 08 14:04:21 EhSecondary named[3299]: set up managed keys zone for
> > view _default, file 'managed-keys.bind'
> > Sep 08 14:04:21 EhSecondary named[3299]: none:106: 'max-cache-size
> > 90%' - setting to 1795MB (out of 1994MB)
> > Sep 08 14:04:21 EhSecondary named[3299]: command channel listening on
> > 127.0.0.1#953
> > Sep 08 14:04:21 EhSecondary systemd[1]: Started BIND Domain Name
> > Server.
> >
>
> Please post your named.conf files.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list