Thomas Zeitinger
2013-Nov-15 15:34 UTC
[Samba] samba4 smb.conf directive "dns recursive queries" unkown
Hi there, I build a samba 4.0.11 on a Debian Wheezy from source, joined a existing AD (samba works with internal dns) and have this smb.conf: ======# Global parameters [global] workgroup = DOMAIN realm = DOMAIN.local netbios name = SAMBA1 server role = active directory domain controller allow dns updates = nonsecure dns recursive queries = yes server services = +dns, +dnsupdate log file = /var/log/samba/samba.log max log size = 10000 log level = 8 debug timestamp = yes [netlogon] path = /usr/local/samba/var/locks/sysvol/domain.local/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No ====== When I do a testparm (samba-tool testparm) I get this error: Unknown parameter encountered: "dns recursive queries" Ignoring unknown parameter "dns recursive queries" I can not find the proper directive for recursive queries...? May someone help here? Thanks! Tom -- Thomas Zeitinger Kundenbetreuung IT-Quadrat EDV Dienstleistungs- und Handels GmbH Krongasse 8/2 A-1050 Wien Tel: +43 (1) 311 44 00 - 10 Fax: +43 (1) 311 44 00 - 90 Thomas.Zeitinger at it2.at www.it2.at FN 287345t UID ATU63123113
Thomas Zeitinger
2013-Nov-18 08:43 UTC
[Samba] [Solved] samba4 smb.conf directive "dns recursive queries" unkown
Just for documentation: https://bugzilla.samba.org/show_bug.cgi?id=10273 --- Comment #1 from Kai Blin <kai at samba.org> 2013-11-17 14:17:44 UTC --- dns recursive queries is not a valid parameter in the 4.0 series. The parameter you need to set to get recursive queries in 4.0 and 4.1 is dns forwarder = <ip address of forwarder> Arguably we should reenable recursive queries even without a forwarder at some point, but the above setting should fix your issue. On 2013-11-15 16:34, Thomas Zeitinger wrote:> Hi there, > > I build a samba 4.0.11 on a Debian Wheezy from source, joined a existing > AD (samba works with internal dns) and have this smb.conf: > > ======> # Global parameters > [global] > workgroup = DOMAIN > realm = DOMAIN.local > netbios name = SAMBA1 > server role = active directory domain controller > > allow dns updates = nonsecure > dns recursive queries = yes > server services = +dns, +dnsupdate > log file = /var/log/samba/samba.log > max log size = 10000 > log level = 8 > debug timestamp = yes > > [netlogon] > path = /usr/local/samba/var/locks/sysvol/domain.local/scripts > read only = No > > [sysvol] > path = /usr/local/samba/var/locks/sysvol > read only = No > ======> > When I do a testparm (samba-tool testparm) I get this error: > > Unknown parameter encountered: "dns recursive queries" > Ignoring unknown parameter "dns recursive queries" > > I can not find the proper directive for recursive queries...? > > May someone help here? > > Thanks! > Tom >-- Thomas Zeitinger Kundenbetreuung IT-Quadrat EDV Dienstleistungs- und Handels GmbH Krongasse 8/2 A-1050 Wien Tel: +43 (1) 311 44 00 - 10 Fax: +43 (1) 311 44 00 - 90 Thomas.Zeitinger at it2.at www.it2.at FN 287345t UID ATU63123113