summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-08-11 17:31:53 +1200
committerStefan Metzmacher <metze@samba.org>2014-09-30 14:58:50 +0200
commit22eb416d166e5772619518fc2adc26a6783abdb1 (patch)
tree0627f92b26789adb2f72580cb05bcb2d4cac01c9 /source4/dsdb
parent736098e2cf0fc63fb19525f265aff8e07cc7afba (diff)
downloadsamba-22eb416d166e5772619518fc2adc26a6783abdb1.tar.gz
repl: Specify the target realm in dreplsrv_get_target_principal()
We know what realm we need to contact, so avoid trying to correctly get a referral from our KDC. Andrew Bartlett Change-Id: I154ff72f3176d581b64e0c67d4a9c5f1f76b7924 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 30 14:58:50 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_partitions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_partitions.c b/source4/dsdb/repl/drepl_partitions.c
index 8c85ef6f258..c822ba997a8 100644
--- a/source4/dsdb/repl/drepl_partitions.c
+++ b/source4/dsdb/repl/drepl_partitions.c
@@ -270,9 +270,9 @@ static NTSTATUS dreplsrv_get_target_principal(struct dreplsrv_service *s,
if (dnsdomain != NULL) {
*target_principal = talloc_asprintf(mem_ctx,
- "E3514235-4B06-11D1-AB04-00C04FC2DCD2/%s/%s",
+ "E3514235-4B06-11D1-AB04-00C04FC2DCD2/%s/%s@%s",
GUID_string(tmp_ctx, &rft->source_dsa_obj_guid),
- dnsdomain);
+ dnsdomain, dnsdomain);
}
talloc_free(tmp_ctx);