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
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);