asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search








Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Code Samples
Components
Tools
FAQ
Feedback
New
Topics
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

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]

Delete a Share using ADSI
Q: How do I delete a share using ADSI?
#643 - 1998.07.17
[top]

Creating a Share with ADSI
Q: How do I create a share using ADSI?
#642 - 1998.07.17
[top]

Deleting a Group from a Domain
Q: How do I delete a group from the domain using ADSI?
#639 - 1998.06.03
[top]

Scripting unload in IIS 4.0
Q: How do I programmatically script the unloading of my out of process IIS 4.0 application with ADSI?
#624 - 1998.05.10
[top]

Getting the Users of a Group
Q: How do I get all the users in a group using ADSI?
#623 - 1998.04.21
[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]

Displaying Groups of a User with ADSI
Q: How do I view all the groups a user is assoicated with?
#618 - 1998.03.21
[top]

Displaying Groups with ADSI
Q: How do I view all the group in the domain using ADSI?
#617 - 1998.03.21
[top]

Displaying Domains with ADSI
Q: How do I view all the domains that are available using ADSI?
#616 - 1998.03.18
[top]

Adding a Domain User to a Group with ADSI
Q: How do I add a domain user to a local group using ADSI?
#615 - 1998.03.17
[top]

Disabling an Account with ADSI
Q: How do I specify that an account is disabled using ADSI?
#614 - 1998.03.13
[top]

Setting a Required Password with ADSI
Q: How do I specify that a password is required to login using ADSI?
#613 - 1998.03.13
[top]

Setting a User's Account Expiration with ADSI
Q: How do I set a user's account expiration date using ADSI?
#612 - 1998.03.13
[top]

Setting a User's Login Script with ADSI
Q: How do I set a user's login script using ADSI?
#611 - 1998.03.13
[top]

Setting a User's Home Directory with ADSI
Q: How do I set a user's home directory using ADSI?
#610 - 1998.03.13
[top]

Setting a User's Profile with ADSI
Q: How do I set a user's profile using ADSI?
#609 - 1998.03.13
[top]

Deleting a User from a Domain with ADSI
Q: How do I delete a user from the Domain using ADSI?
#608 - 1998.03.13
[top]

Confirming a Password Change with ADSI
Q: How do I confirm that password has been changed successfully using ADSI?
#607 - 1998.03.13
[top]

Adding a User to a Group with ADSI
Q: How do I add a user to a group using ADSI?
#606 - 1998.03.13
[top]

Setting a User's Full Name with ADSI
Q: How do I set a user's full name using ADSI?
#605 - 1998.03.13
[top]

Changing a User's Description with ADSI
Q: How do I set a user's description?
#604 - 1998.03.13
[top]

Installed Namespaces
Q: What namespaces for ADSI are installed on my computer?
#602 - 1998.03.12
[top]

ADSI Invalid Syntax Error
Q: I am getting an "Invalid Syntax" error when running the samples, what is the problem?
#601 - 1998.03.12
[top]

Creating a User with ADSI
Q: How do I create a new user with ADSI?
#600 - 1998.03.12
[top]

Setting Password Expiration with ADSI
Q: How do I set the Expiration date of a user with ADSI?
#599 - 1998.03.12
[top]

Changing passwords with ADSI
Q: How do I change a User's password with ADSI?
#598 - 1998.03.12
[top]

ADSI Resources
Q: Where can I get more information about ADSI?
#597 - 1998.03.12
[top]

Viewing Users with ADSI
Q: How to I iterate through a list of users?
#596 - 1998.03.12
[top]

ADSI Avaliablity
Q: Where can I download ADSI?
#595 - 1998.03.12
[top]

Changing to CScript
Q: How do I change from CScript to WScript?
#594 - 1998.03.12
[top]

Changing to WScript
Q: How do I change from WScript to CScript.
#593 - 1998.03.12
[top]

Support the Active Server Industry



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES