diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-10-24 16:54:16 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-11-02 15:26:54 +1100 |
commit | c651b4e99b8bd70eb3be7b3d416c329b4d506f76 (patch) | |
tree | 68f2c0b270a407be29f897ac6cc728d76e11c87f /source4/rpc_server/dnsserver | |
parent | 9abfaa3bbb45f5217b326d41aca1b68a49ca12ea (diff) | |
download | samba-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.c | 2 |
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 { |