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
posta 4 anni fa168 visualizzazioni
1 Risposta
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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande