Web lists-archives.com

Re: [Samba] DNS Log level




On 7/25/2017 10:42 AM, Rowland Penny via samba wrote:
On Tue, 25 Jul 2017 10:08:01 -0500
John Schmerold via samba <samba@xxxxxxxxxxxxxxx> wrote:

I couldn't find a setting for DNS log level, so I went with:

   log level = 0 passdb:2 auth:2 winbind:2 locking:2

My log is still getting filled with "Not authoritative for...."
messages.

What is the solution?

What version of Samba ?
What log are you referring to ?
Can you post your smb.conf.

Rowland

That might help: Samba 4.6.5

The log file is /var/log/samba/log.%m

It is filling up with useless (to me at this point in time) dns resolution information.

smb.conf:

[global]
        netbios name = FS105
        realm = STLUCASUCC.LAN
        workgroup = STLUCASUCC
        netbios aliases = fs1
        interfaces = 192.168.0.10/24 <http://192.168.0.10/24>
        dns forwarder = 8.8.8.8
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
        template shell = /bin/bash
        template homedir = /home/%U
        log file = /var/log/samba/log.%m
        log level = 0 passdb:2 auth:2 winbind:2 locking:2
        max log size = 30
        cups options = raw
        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes
        local master = yes
        os level = 250
        name resolve order = bcast lmhosts host wins

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/stlucasucc.lan/scripts
        read only = No

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No
[vol1]
        valid users = @staff
        writeable = yes
        path = /home/smb/vol1
        read only = no
        inherit permissions = yes
        create mask = 0777
        directory mask = 777
        Force group = staff
        create mode = 0664

[homes]
        path = /home/%U
        read only = no
root preexec = bash -c '[[ -d /home/%U ]] || mkdir -p -m 0700 /home/%U && chown %U:users /home/%U'

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba