[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Thu May 30 01:42:03 MDT 2013

The branch, master has been updated
       via  553d63f s4-dns: set TTL value in the NS server part of the SOA record
      from  09aaa99 build-htmlman-nogit: Run build-htmlman-nogit with bash.


- Log -----------------------------------------------------------------
commit 553d63f0ead74ea101b2169bdad4af80caa16e2b
Author: Guenter Kukkukk <kukks at samba.org>
Date:   Thu May 30 02:19:32 2013 +0200

    s4-dns: set TTL value in the NS server part of the SOA record
    noticed this when using samba-tool to create a new zone
    Signed-off-by: Guenter Kukkukk <kukks at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Amitay Isaacs <amitay at gmail.com>
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Thu May 30 09:41:20 CEST 2013 on sn-devel-104


Summary of changes:
 source4/rpc_server/dnsserver/dnsdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Changeset truncated at 500 lines:

diff --git a/source4/rpc_server/dnsserver/dnsdb.c b/source4/rpc_server/dnsserver/dnsdb.c
index 91e9aa8..8cdeae4 100644
--- a/source4/rpc_server/dnsserver/dnsdb.c
+++ b/source4/rpc_server/dnsserver/dnsdb.c
@@ -934,6 +934,7 @@ WERROR dnsserver_db_create_zone(struct ldb_context *samdb,
 	dns_rec[1].wType = DNS_TYPE_NS;
 	dns_rec[1].rank = DNS_RANK_ZONE;
 	dns_rec[1].dwSerial = soa.serial;
+	dns_rec[1].dwTtlSeconds = 3600;
 	dns_rec[1].dwTimeStamp = (uint32_t)t;
 	dns_rec[1].data.ns = server_fqdn;

Samba Shared Repository

More information about the samba-cvs mailing list