Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intranet authentication using NT logon

Status
Not open for further replies.

liark

Programmer
Apr 18, 2000
36
GB
Is there any way I can see the identity of a user that has logged into his NT pc so that he doesn't have to re-log in to the intranet?

Thanks

Liark
mark@liark.com
 
<CFOUTPUT>#CGI.REMOTE_USER#</CFOUTPUT>

provides NT Login ID

We use it all over our intranet and check pages access, record access, etc.
 
Thanks PDL,

How do I use it, please? When I put

<CFOUTPUT>#CGI.REMOTE_USER#</CFOUTPUT>

into my cf page and run it I would expect to see my logon details, no?

It doesn't output anything....

Liark
mark@liark.com
 
OK, I think the question should be: How do I activate

CGI.REMOTE_USER

??

I can see cgi.REMOTE_ADDR.

Thanks again!

Liark
mark@liark.com
 
You have to change it on your web server.

E.g.

If you are using IIS, do not use anonymous access authentication method. Use NT Challenge/Response.
 
I use the challenge/response too and it works.

BUT, how can I see what groups the NT user belongs to.

If I knew that, I could determine more about each user's individual networks rights.

Thanks,

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top