No need to worry about the REMOTE_USER, it's the standard behaviour of ASP.NET and not from mod_aspdotnet, it turns out that I've to write an own IHttpModule that handles authentication now I'm using LDAP as authentication (interpret the authenticated user from the LDAP server variables and set the context.User). So no need to bother you mod_aspdotnet guys any more :)

I've onw other question, why is ExecCGI needed in the Options sections (and is also checked to be set in mod_aspdotnet.cpp). I understand that allowing CGI can a security hazard. What is the reason for this setting?

From: "Yussef Alkhamrichi" <[EMAIL PROTECTED]>
Reply-To: "CLI Dev" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: REMOTE_USER server variable not passed by mod_aspdotnet
Date: Wed, 03 Nov 2004 23:44:27 +0000

sorry for spamming this list :)

I'm using LDAP authentication on my Apache 2.0 server and with PHP I nicely get the REMOTE_USER name back but with ASP.NET I don't.

I have had a look at Apache::Web::WorkerRequest::WorkerRequest() and Apache::Web::WorkerRequest::GetServerVariable(). It seems like all the vars passed with ap_add_common_vars(r) (in mod_aspdotnet.cpp) should be coming thru. (Hence my test with PHP using the samen authentication, PHP did succeed to display the REMOTE_USER).

Anyone an idea what is going wrong here and where this servervariable is getting stuck?

ps. I tried to test it a bit more but couldn't get the debug logging working, I've build the debig version, used regasm+gacutil and set the log level in httpd.conf to info, still nog nice debug logging to trace the bug, seems like everything is going wrong today :S

_________________________________________________________________
Play online games with your friends with MSN Messenger http://messenger.msn.nl/



_________________________________________________________________
Play online games with your friends with MSN Messenger http://messenger.msn.nl/




Reply via email to