summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dnsserver
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-10-24 16:54:16 +1100
committerAndrew Tridgell <tridge@samba.org>2011-11-02 15:26:54 +1100
commitc651b4e99b8bd70eb3be7b3d416c329b4d506f76 (patch)
tree68f2c0b270a407be29f897ac6cc728d76e11c87f /source4/rpc_server/dnsserver
parent9abfaa3bbb45f5217b326d41aca1b68a49ca12ea (diff)
downloadsamba-c651b4e99b8bd70eb3be7b3d416c329b4d506f76.tar.gz
samba-c651b4e99b8bd70eb3be7b3d416c329b4d506f76.tar.bz2
samba-c651b4e99b8bd70eb3be7b3d416c329b4d506f76.zip
s4-dnsserver: Set DNS_DP_AUTOCREATED flag for the zone information
This make the zone information similar to windows (W2K8r2). Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/rpc_server/dnsserver')
-rw-r--r--source4/rpc_server/dnsserver/dnsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dnsserver/dnsutils.c b/source4/rpc_server/dnsserver/dnsutils.c
index 5449826061..1f5edae2da 100644
--- a/source4/rpc_server/dnsserver/dnsutils.c
+++ b/source4/rpc_server/dnsserver/dnsutils.c
@@ -165,7 +165,7 @@ struct dnsserver_zoneinfo *dnsserver_init_zoneinfo(struct dnsserver_zone *zone,
return NULL;
}
- dp_flags = DNS_DP_ENLISTED;
+ dp_flags = DNS_DP_AUTOCREATED | DNS_DP_ENLISTED;
if (is_forest) {
dp_flags |= DNS_DP_FOREST_DEFAULT;
} else {