[PATCH] samba-tool: the soa.dwMinimumTtl is not initialized when a soa record is created (DNS)

Günter Kukkukk linux at kukkukk.com
Mon May 27 17:39:38 MDT 2013


when using my (atm local) output format "flat" option with
    samba-tool dns query linux300 intranet01.hom @ ALL --outformat=flat

intranet01.hom.       3600 IN SOA linux300.intranet01.hom. hostmaster.intranet01.hom. (
                                     100  ; serial number of this zone file
                                     900  ; slave refresh
                                     600  ; slave retry time in case of a problem
                                   86400  ; slave expiration time
                                       0  ; negative caching time (former "minimum")
                                       )
intranet01.hom.       3600     NS linux300.intranet01.hom.
.... snip ...

i noticed, that the negative caching time (former "minimum") is always zero.
This patch should fix it.
Please review and possibly push.

Cheers, Günter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-samba-tool-the-soa.dwMinimumTtl-is-not-initialized-w.patch
Type: text/x-patch
Size: 910 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130528/3807f876/attachment.bin>


More information about the samba-technical mailing list