Web Authentication problem

Hi to all.

I have .NET program that does

HTTP request with credentials to my web user agent.

In Domlog.nsf a see this request as anonymous and

Session.EffectiveUserName inside the agent is anonymous too.

How can I configure domino web server to receive the credentials (username + pwd) ?

Thank you in advance.

Subject: Web Authentication problem

Please try this

http://host/mydb.nsf/myagent?OpenAgent&login

Subject: RE: Web Authentication problem

No change still I see anonymous request at domlog.nsf

Subject: RE: Web Authentication problem

You didn’t mention yet how you are trying to provide the user credentials and how your Domino server’s authentication is set up.

Subject: RE: Web Authentication problem

I use next code

Dim cer as New Net.NetworkCredential

cer.UserName = “user”

cer.Password = “123456”

req.Credentials = cer

How I need to set up Domino server’s authentication ?

Subject: RE: Web Authentication problem

Create user in server’s names.nsf.

Subject: RE: Web Authentication problem

Please let me know the server settings… & n how ur calling ur agent…

if ur calling it as URL that I have given, then, first it will prompt for User name + password, it will authenticate user from server’s address book…

now check for Agent properties :

if it is set to “Run as Web user” then it should give you username for logged in user…

if this check box is not set, then it will take Agent signer as username…

Also please check agent signer has correct access to execute this agent on server…

Subject: RE: Web Authentication problem

I[ call my agent as URL.The agent is “Run as Web user”.

What server settings u need ?

Subject: RE: Web Authentication problem

Sorry, but I know exactly nothing about .Net.

The question is, what kind of authentication does .Net attempt to use in the request, if you add a credentials object prior to issuing it?

If it’s NTLM, your out of luck completely. If it’s basic authentication, the Domino web site must be set up to use that (server document (or web site document, if those are in use), Domino Web Enginge tab, HTTP Sessions). In Domino 6.5, there is no way to specify a dedicated authentication mechanism for certain resources. If your agent has to use simple authentication, the whole web site has to use it.