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
http://localhost/test.asp. If somebody else in the network
visits this site, he gets an internal server error because
the server authenticates towards active directory
as "Anonymous" or "I_User" or so an though has not enought
rights to list AD entries.

Is there any possibility to tell IIS under which user to
run a certain page or web?

I hope anyone of you can help me.
Thxx

Re: IIS runas Different User by Ken

Ken
Wed Sep 24 03:20:57 CDT 2003

You can change the anonymous user account
-or-
You can force the user to authenticate (by denying "allow anonymous")

You do both these things via the IIS MMC Snapin, on the directory security
tab, for either the website as a whole, a specific directory or a specific
file.

Cheers
Ken


"Treml Juergen" <juergentreml@sar-gmbh.com> wrote in message
news:13c701c3826f$a11c19e0$a101280a@phx.gbl...
: 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
: http://localhost/test.asp. If somebody else in the network
: visits this site, he gets an internal server error because
: the server authenticates towards active directory
: as "Anonymous" or "I_User" or so an though has not enought
: rights to list AD entries.
:
: Is there any possibility to tell IIS under which user to
: run a certain page or web?
:
: I hope anyone of you can help me.
: Thxx



Re: IIS runas Different User by Treml

Treml
Wed Sep 24 04:02:34 CDT 2003

Thxx fpo your answer.

I have already tried to deny anonymous access, but this
doesn't change anything at all. towards ActiveDirectory,
the webserver still authenticates as i_usr or anonymous or
so.

but what exactly do you mean by: change the anonymous user
account??



>-----Original Message-----
>You can change the anonymous user account
> -or-
>You can force the user to authenticate (by denying "allow
anonymous")
>
>You do both these things via the IIS MMC Snapin, on the
directory security
>tab, for either the website as a whole, a specific
directory or a specific
>file.
>
>Cheers
>Ken
>
>
>"Treml Juergen" <juergentreml@sar-gmbh.com> wrote in
message
>news:13c701c3826f$a11c19e0$a101280a@phx.gbl...
>: 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
>: http://localhost/test.asp. If somebody else in the
network
>: visits this site, he gets an internal server error
because
>: the server authenticates towards active directory
>: as "Anonymous" or "I_User" or so an though has not
enought
>: rights to list AD entries.
>:
>: Is there any possibility to tell IIS under which user to
>: run a certain page or web?
>:
>: I hope anyone of you can help me.
>: Thxx
>
>
>.
>

Re: IIS runas Different User by Ken

Ken
Wed Sep 24 08:25:25 CDT 2003

If you deny anonymous access, you need to enable B