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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南