Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

NT user name

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Changing the anonymous user password  
Author Message
xnor821

External


Since: Sep 25, 2003
Posts: 2



(Msg. 1) Posted: Thu Sep 25, 2003 3:14 am
Post subject: NT user name
Archived from groups: microsoft>public>inetserver>iis (more info?)

hi all,
i have a iis on windows xp pro. this iis serves in
intranet. and all users have domain password in intranet.
i write some asp code for this. but this code does't give
me the nt user name of user who visit my site.

this code is only giving users who is recognized on local.
and access the page on local...

now what can do on iis's configuration.
thanks for your helps...

my code is below:

<%
Dim login,userName
Dim adres
userName = Trim("" & Request.ServerVariables("LOGON_USER"))
login = Request.ServerVariables("REMOTE_ADDR")
Response.Write "User Name: '" & userName & "'"
REsponse.End

%>

 >> Stay informed about: NT user name 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 2) Posted: Thu Sep 25, 2003 6:28 pm
Post subject: Re: NT user name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Disable anonymous access and configure
basic or windows integrated authentication.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Jonny" <xnor82.RemoveThis@yahoo.com> wrote in message
news:066601c38334$a3741e20$a001280a@phx.gbl...
 > hi all,
 > i have a iis on windows xp pro. this iis serves in
 > intranet. and all users have domain password in intranet.
 > i write some asp code for this. but this code does't give
 > me the nt user name of user who visit my site.
 >
 > this code is only giving users who is recognized on local.
 > and access the page on local...
 >
 > now what can do on iis's configuration.
 > thanks for your helps...
 >
 > my code is below:
 >
 > <%
 > Dim login,userName
 > Dim adres
 > userName = Trim("" & Request.ServerVariables("LOGON_USER"))
 > login = Request.ServerVariables("REMOTE_ADDR")
 > Response.Write "User Name: '" & userName & "'"
 > REsponse.End
 >
 > %>
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: NT user name 
Back to top
Login to vote
xnor821

External


Since: Sep 25, 2003
Posts: 2



(Msg. 3) Posted: Thu Sep 25, 2003 6:28 pm
Post subject: Re: NT user name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

i did all. but it did't work properly. iis is only giving
user names who is recognized on local.


 >-----Original Message-----
 >Disable anonymous access and configure
 >basic or windows integrated authentication.
 >
 >--
 >Regards,
 >Bernard Cheah
 >http://support.microsoft.com/
 >Please respond to newsgroups only ...
 >
 >
 >
 >"Jonny" <xnor82.TakeThisOut@yahoo.com> wrote in message
 >news:066601c38334$a3741e20$a001280a@phx.gbl...
  >> hi all,
  >> i have a iis on windows xp pro. this iis serves in
  >> intranet. and all users have domain password in
intranet.
  >> i write some asp code for this. but this code does't
give
  >> me the nt user name of user who visit my site.
  >>
  >> this code is only giving users who is recognized on
local.
  >> and access the page on local...
  >>
  >> now what can do on iis's configuration.
  >> thanks for your helps...
  >>
  >> my code is below:
  >>
  >> <%
  >> Dim login,userName
  >> Dim adres
  >> userName = Trim("" & Request.ServerVariables
("LOGON_USER"))
  >> login = Request.ServerVariables("REMOTE_ADDR")
  >> Response.Write "User Name: '" & userName & "'"
  >> REsponse.End
  >>
  >> %>
  >>
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: NT user name 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 4) Posted: Thu Sep 25, 2003 8:01 pm
Post subject: Re: NT user name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

is this IIS a member server ?
do the client login to a domain ?


--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"jonny" <xnor82 DeleteThis @yahoo.com> wrote in message
news:191301c3833d$4b3b5850$a401280a@phx.gbl...
 > i did all. but it did't work properly. iis is only giving
 > user names who is recognized on local.
 >
 >
  > >-----Original Message-----
  > >Disable anonymous access and configure
  > >basic or windows integrated authentication.
  > >
  > >--
  > >Regards,
  > >Bernard Cheah
  > >http://support.microsoft.com/
  > >Please respond to newsgroups only ...
  > >
  > >
  > >
  > >"Jonny" <xnor82 DeleteThis @yahoo.com> wrote in message
  > >news:066601c38334$a3741e20$a001280a@phx.gbl...
   > >> hi all,
   > >> i have a iis on windows xp pro. this iis serves in
   > >> intranet. and all users have domain password in
 > intranet.
   > >> i write some asp code for this. but this code does't
 > give
   > >> me the nt user name of user who visit my site.
   > >>
   > >> this code is only giving users who is recognized on
 > local.
   > >> and access the page on local...
   > >>
   > >> now what can do on iis's configuration.
   > >> thanks for your helps...
   > >>
   > >> my code is below:
   > >>
   > >> <%
   > >> Dim login,userName
   > >> Dim adres
   > >> userName = Trim("" & Request.ServerVariables
 > ("LOGON_USER"))
   > >> login = Request.ServerVariables("REMOTE_ADDR")
   > >> Response.Write "User Name: '" & userName & "'"
   > >> REsponse.End
   > >>
   > >> %>
   > >>
  > >
  > >
  > >.
  > ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: NT user name 
Back to top
Login to vote
timcof

External


Since: Sep 02, 2003
Posts: 912



(Msg. 5) Posted: Wed Oct 01, 2003 11:02 am
Post subject: Re: NT user name [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

As long as this is a member of your domain, then it will have access to the domain SAM. Also, post here:
microsoft.public.inetserver.asp.general

Thank you. I hope this information is helpful.

Tim Coffey [MSFT]

This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "jonny" <xnor82 DeleteThis @yahoo.com>
| Sender: "jonny" <xnor82 DeleteThis @yahoo.com>
| References: <066601c38334$a3741e20$a001280a@phx.gbl> <eoBRuazgDHA.2260 DeleteThis @TK2MSFTNGP10.phx.gbl>
| Subject: Re: NT user name
| Date: Thu, 25 Sep 2003 01:16:17 -0700
| Lines: 50
| Message-ID: <191301c3833d$4b3b5850$a401280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcODPUs4tkskkcY+SHmzQ8Qm7L82ZQ==
| Newsgroups: microsoft.public.inetserver.iis
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:277057
| NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| i did all. but it did't work properly. iis is only giving
| user names who is recognized on local.
|
|
| >-----Original Message-----
| >Disable anonymous access and configure
| >basic or windows integrated authentication.
| >
| >--
| >Regards,
| >Bernard Cheah
| >http://support.microsoft.com/
| >Please respond to newsgroups only ...
| >
| >
| >
| >"Jonny" <xnor82 DeleteThis @yahoo.com> wrote in message
| >news:066601c38334$a3741e20$a001280a@phx.gbl...
| >> hi all,
| >> i have a iis on windows xp pro. this iis serves in
| >> intranet. and all users have domain password in
| intranet.
| >> i write some asp code for this. but this code does't
| give
| >> me the nt user name of user who visit my site.
| >>
| >> this code is only giving users who is recognized on
| local.
| >> and access the page on local...
| >>
| >> now what can do on iis's configuration.
| >> thanks for your helps...
| >>
| >> my code is below:
| >>
| >> <%
| >> Dim login,userName
| >> Dim adres
| >> userName = Trim("" & Request.ServerVariables
| ("LOGON_USER"))
| >> login = Request.ServerVariables("REMOTE_ADDR")
| >> Response.Write "User Name: '" & userName & "'"
| >> REsponse.End
| >>
| >> %>
| >>
| >
| >
| >.
| >
|
 >> Stay informed about: NT user name 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FTP user can log in...sometimes - I have a user using a WinME box and IE 6.0 to access my FTP site thru my ISDN line on my Win2K Sp4 server. This user has stored the username and password to the FTP site on the WinME box. Sometimes when she clicks on the shortcut she has created for th...

IIS runas Different User - Hi, i have the problem, that i need to list the users in an Active Directory via ASP Page. And i need to do this with LDAP not WinNT Command. The Problem is, this only works if i run then page directly on the webserver connection to ..

IIS FTP user name length - Hi, I cannot authenticate users for IIS FTP on my Active Directory domain using their Win2K/Xp user name; rather, I have to use the pre-Win2000 user name. Can this be changed? Is this a result of the FTP protocol, basic authentication, or Microsoft'...

ftp user sessions - I am running ftp on Windows 2000 server. I noticed when users are connected, I often see that user taking up 2 or 3 sessions. They are using IE as the ftp client. What is causing this? Does this have anything to do with IE? Thanks. Charles.

Application pools run as a user - My organization is currently in the process of setting up an application server based on IIS 6. However, I seem to be hitting a roadblock with one of our requirements. I need to be able to set up application pools which are run as specific users. However...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]