Newbie help for windows authentication please.

N

.NET Developer

Hello.

I would like to get windows authentication to work, but I can't,
because I must be stupid.

Here's the relevant web.config section:

<authentication mode="Windows" />
<authorization>
<allow roles="COMPUTER\Users" />
<deny users="*" />
</authorization>

When I run my ASP.NET app, I get the logon box, with:

Username
Password
Domain

I've made sure that the username "Robert" is a member of "Users"

So, for Username, I type in Robert
I don't have a password for that user, so I leave password blank.
I'm not sure about the Domain. I think it's "COMPUTER" because I've
seen that mentioned elsewhere. But it could be "localhost"? I'm not
sure how to find this out to make sure. (Everything's on my one local
Win2K machine.)

My problem is that it won't let me log in. I've tried quite a few
different combinations.

As you can see, I think I am a bit stupid. Please help.

Robert.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top