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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则