error '80070035' using WinNT provider

B

Blake

ASP code looks like this (win2k, IIS 5, Win2k AD):

<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>

output is this:

error '80070035'
/cyphir/auth/test.asp, line 2

The .asp page is running as 'testuser'.

This works on our test domain, fails on production - please help if you can.

Blake
 
E

Egbert Nierop \(MVP for IIS\)

Blake said:
ASP code looks like this (win2k, IIS 5, Win2k AD):

Does the code below, run as IUSR_ (anonymous) or does the user have to login
before...
 
B

Blake

The user logs in first.

This script runs OK if I log in as a domain administrator. But if I log in
as myself it fails. Works fine on our test domain.

Blake
 
E

Egbert Nierop \(MVP for IIS\)

Blake said:
The user logs in first.

This script runs OK if I log in as a domain administrator. But if I log in
as myself it fails. Works fine on our test domain.

That's clear...

A user has no rights, to query a domain controller using ADSI or WinNT. Give
users power user rights (not sure however) or delegate, that code inside a
separate COM+ component, which has admin rights. The component, should run
in it's own process...
 

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

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top