s4:heimdal: import lorikeet-heimdal-200908050050 (commit 8714779fa7376fd9f7761587639e...
[samba.git] / source4 / heimdal / lib / gssapi / krb5 / init_sec_context.c
index 35ab9dd88d3abbfb353dbe6030a02e12a3b93d53..b269d067988ea8b7b7fcd9fc7837a10f5afd8476 100644 (file)
@@ -191,7 +191,7 @@ gsskrb5_get_creds(
     }
 
     ret = _gsskrb5_canon_name(minor_status, context, use_dns,
-                             target_name, &ctx->target);
+                             ctx->source, target_name, &ctx->target);
     if (ret)
        return ret;