hcl-bot
February 12, 2008, 4:34am
1
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.
hcl-bot
February 12, 2008, 6:09am
2
Subject: Web Authentication problem
Please try this
http://host/mydb.nsf/myagent?OpenAgent&login
hcl-bot
February 12, 2008, 7:16am
3
Subject: RE: Web Authentication problem
No change still I see anonymous request at domlog.nsf
hcl-bot
February 12, 2008, 7:31am
4
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.
hcl-bot
February 12, 2008, 8:37am
5
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 ?
hcl-bot
February 12, 2008, 9:16am
6
Subject: RE: Web Authentication problem
Create user in server’s names.nsf.
hcl-bot
February 12, 2008, 7:52am
7
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…
hcl-bot
February 12, 2008, 8:28am
8
Subject: RE: Web Authentication problem
I[ call my agent as URL.The agent is “Run as Web user”.
What server settings u need ?
hcl-bot
February 12, 2008, 9:20am
9
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.