HTTP.Context System Variables inside Container

0

I’m migrating two legacy applications to docker container to execute in ECS. I have the applications in containers and successfully executing. The issue I’m working through now is that both rely on the value of Request.ServerVariables(“REMOTE_USER”) to determine if the current user has access to the application.

When executing inside the container this value is returned as empty string or null. I've tried a few different variables, methods to obtain this value to no avail.

Is there a method to making this value available within the container? I’ve searched online and have come up empty.

ntxarch
質問済み 4年前168ビュー
1回答
0

Solution:
Working with AWS tech support, I found that the SPN for the GMSA account must match the URL of the website. This can be done for testing by adding an entry in the local hosts file pointing the SPN to the IP of the container host, EC2 instance IP.
This configuraiton allows the container, running on a domain joined host, to access the gmsa credential and read from the system variables, domain and access network resources.

ntxarch
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ