
|
ADSI abstracts the capabilities of directory services from different network providers to present a single set of directory service interfaces for accessing and managing network resources. Administrators and developers can use ADSI services to enumerate and manage resources in a directory service, no matter which network environment contains the resource. This can be an LDAP-based, NDS-based, or NTDS-based directory.
|
|
ADSI Permission denied
|
|
Q:
|
I am trying to create a User on a Domain in ASP using ASDI. Here is the code:
Set oUser = oDomain.Create("user",strNewLogin)
If (IsObject(oUser)) Then
oUser.SetInfo
End If
Set oUser=Nothing
The problem is that I am getting:
Microsoft VBScript runtime error '800a0046'
Permission denied
/admin/author-3.asp, line 54
However I am logging into the web site through the Browser with NTLM Challenge and Response and Allow Anonymous turned off and it I execute this code:
Response.Write(Request.ServerVariables("AUTH_USER")
I get:
SMUM\wayne
Which I assume means that the web server is impersonating my account's security permissions when I am calling ADSI. However, I have security audits turned on and it appears (in the event viewer) that the user making the requests is ANONYMOUS. What am I doing wrong? Why isn't my request have the security permissions of the account I logged in as?
Couple Other Notes:
1) I am running in Process.
2) My account does have permissions to create users.
3) I am on SP 4
#744 - 1999.04.02
|
|
|
[top]
|
|
|
Access Denied on ChangePassword
|
|
Q:
|
I've tried using oUser.ChangePassword oldpass, newpass, but I get permission denied most of the time. Is there some right that I need to set on a user to enable them to change their own password?
#650 - 1998.09.28
|
|
|
[top]
|
|
|
Searching WinNT
|
|
Q:
|
I cannot get the example AdsQry to run with WinNT. With LDAP, not a problem, but whenever I try to query WinNT, it doesn't work. What would I have to do to query e.g. "WinNT://" for all computers? Or just one machine with a specific property?
#647 - 1998.09.04
|
|
|
[top]
|
|
|
ADSI causes an ADO Error
|
|
Q:
|
We have a web base application on our intranet which accesses a SQL Server database. It worked great until I installed ADSI 2.0 and Platform SDK. Now whenever I try to open a recordset I get this error
ADODB.Recordset error '800a0007'
Out of memory
/test/core/List.asp, line 172
Does anybody know what could be causing this error and how to fix it?
#621 - 1998.03.31
|
|
|
[top]
|
|