The Samba-Bugzilla – Attachment 8932 Details for
Bug 9599
dns zonecreate creates zones without flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Pass additional flags when creating new zone
0001-samba-tool-dns-Pass-on-additional-flags-when-creatin.patch (text/plain), 2.08 KB, created by
Amitay Isaacs
on 2013-05-30 09:03:51 UTC
(
hide
)
Description:
Pass additional flags when creating new zone
Filename:
MIME Type:
Creator:
Amitay Isaacs
Created:
2013-05-30 09:03:51 UTC
Size:
2.08 KB
patch
obsolete
>From c22eb103d865ed50a6c3ca89750245b92e17b493 Mon Sep 17 00:00:00 2001 >From: Amitay Isaacs <amitay@gmail.com> >Date: Mon, 27 May 2013 12:26:36 +1000 >Subject: [PATCH 1/2] samba-tool/dns: Pass on additional flags when creating > zones > >Windows DCs require additional flags to be set when creating zones. > >This fixes bug #9599. > >Signed-off-by: Amitay Isaacs <amitay@gmail.com> >--- > python/samba/netcmd/dns.py | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/python/samba/netcmd/dns.py b/python/samba/netcmd/dns.py >index 1e82812..cce0d66 100644 >--- a/python/samba/netcmd/dns.py >+++ b/python/samba/netcmd/dns.py >@@ -856,6 +856,8 @@ class cmd_zonecreate(Command): > zone_create_info.dwZoneType = dnsp.DNS_ZONE_TYPE_PRIMARY > zone_create_info.fAllowUpdate = dnsp.DNS_ZONE_UPDATE_SECURE > zone_create_info.fAging = 0 >+ zone_create_info.fDsIntegrated = 1 >+ zone_create_info.fLoadExisting = 1 > elif client_version == dnsserver.DNS_CLIENT_VERSION_DOTNET: > typeid = dnsserver.DNSSRV_TYPEID_ZONE_CREATE_DOTNET > zone_create_info = dnsserver.DNS_RPC_ZONE_CREATE_INFO_DOTNET() >@@ -863,6 +865,8 @@ class cmd_zonecreate(Command): > zone_create_info.dwZoneType = dnsp.DNS_ZONE_TYPE_PRIMARY > zone_create_info.fAllowUpdate = dnsp.DNS_ZONE_UPDATE_SECURE > zone_create_info.fAging = 0 >+ zone_create_info.fDsIntegrated = 1 >+ zone_create_info.fLoadExisting = 1 > zone_create_info.dwDpFlags = dnsserver.DNS_DP_DOMAIN_DEFAULT > else: > typeid = dnsserver.DNSSRV_TYPEID_ZONE_CREATE >@@ -871,6 +875,8 @@ class cmd_zonecreate(Command): > zone_create_info.dwZoneType = dnsp.DNS_ZONE_TYPE_PRIMARY > zone_create_info.fAllowUpdate = dnsp.DNS_ZONE_UPDATE_SECURE > zone_create_info.fAging = 0 >+ zone_create_info.fDsIntegrated = 1 >+ zone_create_info.fLoadExisting = 1 > zone_create_info.dwDpFlags = dnsserver.DNS_DP_DOMAIN_DEFAULT > > res = dns_conn.DnssrvOperation2(client_version, 0, server, None, >-- >1.8.1.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:
kai
:
review+
Actions:
View
Attachments on
bug 9599
:
8932
|
8933
|
9197
|
9198