The Samba-Bugzilla – Attachment 8014 Details for
Bug 9265
Bind dlz fails to start if there is a trustedanchors zone
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch2
0002-s4-rpc-dnsserver-Ignore-DNS-zones-that-are-not-used-.patch (text/plain), 1.15 KB, created by
Amitay Isaacs
on 2012-10-09 05:08:47 UTC
(
hide
)
Description:
patch2
Filename:
MIME Type:
Creator:
Amitay Isaacs
Created:
2012-10-09 05:08:47 UTC
Size:
1.15 KB
patch
obsolete
>From e65a24b59f1dc7d212a46014a1d7c2531263529f Mon Sep 17 00:00:00 2001 >From: Amitay Isaacs <amitay@gmail.com> >Date: Tue, 2 Oct 2012 13:02:07 +1000 >Subject: [PATCH 2/2] s4-rpc: dnsserver: Ignore DNS zones that are not used by > RPC dnsserver > >..TrustAnchors zone is not interpreted by RPC dnsserver code. > >Signed-off-by: Amitay Isaacs <amitay@gmail.com> > >Autobuild-User(master): Amitay Isaacs <amitay@samba.org> >Autobuild-Date(master): Tue Oct 9 03:21:07 CEST 2012 on sn-devel-104 >--- > source4/rpc_server/dnsserver/dnsdb.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/source4/rpc_server/dnsserver/dnsdb.c b/source4/rpc_server/dnsserver/dnsdb.c >index 9bf5ecf..b5ad470 100644 >--- a/source4/rpc_server/dnsserver/dnsdb.c >+++ b/source4/rpc_server/dnsserver/dnsdb.c >@@ -124,6 +124,10 @@ struct dnsserver_zone *dnsserver_db_enumerate_zones(TALLOC_CTX *mem_ctx, > z->partition = p; > name = talloc_strdup(z, > ldb_msg_find_attr_as_string(res->msgs[i], "name", NULL)); >+ if (strcmp(name, "..TrustAnchors") == 0) { >+ talloc_free(z); >+ continue; >+ } > if (strcmp(name, "RootDNSServers") == 0) { > talloc_free(name); > z->name = talloc_strdup(z, "."); >-- >1.7.11.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
mat
:
review+
Actions:
View
Attachments on
bug 9265
:
8013
|
8014
|
8067
|
8068
|
8069
|
8071
|
8080
|
8081
|
8266