summaryrefslogtreecommitdiff
path: root/source4/rpc_server/netlogon
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-02 12:02:00 +1000
committerAndrew Tridgell <tridge@samba.org>2009-10-02 12:02:00 +1000
commit4cb055cacdc8a28f1efee1d40546baa05515e24e (patch)
tree24dae728fa1b19956f4c3e4ab922736f7cac5701 /source4/rpc_server/netlogon
parent5d60a7e23ed7d9e6ff6e61dd5e9ee65796a22da4 (diff)
downloadsamba-4cb055cacdc8a28f1efee1d40546baa05515e24e.tar.gz
samba-4cb055cacdc8a28f1efee1d40546baa05515e24e.tar.bz2
samba-4cb055cacdc8a28f1efee1d40546baa05515e24e.zip
ds-flags: use the new name DS_DNS_FOREST_ROOT
Update to use the new DS_DNS_FOREST_ROOT name, which makes it clearer what this bit means (according to MS-ADTS doc)
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 1a45711c57..5eccd7f6a8 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -1440,7 +1440,7 @@ static WERROR dcesrv_netr_DsRGetDCNameEx2(struct dcesrv_call_state *dce_call, TA
info->domain_guid = samdb_result_guid(res[0], "objectGUID");
info->domain_name = lp_realm(dce_call->conn->dce_ctx->lp_ctx);
info->forest_name = lp_realm(dce_call->conn->dce_ctx->lp_ctx);
- info->dc_flags = DS_DNS_FOREST |
+ info->dc_flags = DS_DNS_FOREST_ROOT |
DS_DNS_DOMAIN |
DS_DNS_CONTROLLER |
DS_SERVER_WRITABLE |