Link to home
Start Free TrialLog in
Avatar of carlos0007
carlos0007Flag for Spain

asked on

PROBLEMS WITH REMOTE_USER

We have Enterprise Server 3.5.1, Directory Server 3.0 and Certificate
Server 1.0.1.



We have a problem with the environment variable "REMOTE_USER".
When we restrict access to our cgi directories using USERNAME/PASSWORD
it works fine, but if we restrict access using SSL (CERTIFICATES) the
first time we recover REMOTE_USER it has contain, but the next time
REMOTE_USER is null.



What's happening ?????????????

Thanks

ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of carlos0007

ASKER

What we had done is to know  which environment variables we could get and from there identify the user.

We had used :
getenv("CLIENT_CERT_ISSUER_CN")
getenv("CLIENT_CERT_SUBJECT_E")
getenv("CLIENT_CERT_SUBJECT_UID")

Thanks, jhurst.