summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 18:49:34 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-16 07:24:01 +1000
commite2b6d171d427f9899be8a1bb6781fd09c0094385 (patch)
treeab0270db7a1b3fd4679415378aba36320a26dbdc
parente5ac820b9ea8416537b65faaf43fdc45924a66b1 (diff)
downloadsamba-e2b6d171d427f9899be8a1bb6781fd09c0094385.tar.gz
samba-e2b6d171d427f9899be8a1bb6781fd09c0094385.tar.bz2
samba-e2b6d171d427f9899be8a1bb6781fd09c0094385.zip
s4-drs: get lpcfg_dnsdomain() instead of lpcfg_realm()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 312e3bd418..60e3d243f4 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -1407,7 +1407,7 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
ureq.naming_context = ncRoot;
ureq.dest_dsa_dns_name = talloc_asprintf(mem_ctx, "%s._msdcs.%s",
GUID_string(mem_ctx, &req8->destination_dsa_guid),
- lpcfg_realm(dce_call->conn->dce_ctx->lp_ctx));
+ lpcfg_dnsdomain(dce_call->conn->dce_ctx->lp_ctx));
if (!ureq.dest_dsa_dns_name) {
return WERR_NOMEM;
}