1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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>
This commit is contained in:
Amitay Isaacs 2011-10-24 16:54:16 +11:00 committed by Andrew Tridgell
parent 9abfaa3bbb
commit c651b4e99b

View File

@ -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 {