Solved

adsi permission error

Posted on 2001-08-09
3
541 Views
Last Modified: 2008-02-01
I use adsi in an asp page to allow the authenticated user to add/remove other users to a group. The code works when the authenticated user is an administrator, but all other attempts generate this error:

Active Directory error '80070005'
General access denied error

It references the line executing the permission change:
GroupObj.Add ("WinNT://servername/username")

I tried making the authenticated user a power user but
still only admin works. How do I allow someone other than admin to use this function? Thanks
0
Comment
Question by:sac389
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
Silvers5 earned 200 total points
ID: 6367815
you can't.. since an administrator can perform such tasks.. try to allow anonymous access an assign an administrator as the anonymous account.. you can set this in IIS.. this is an INTRANET I hope.. otherwise you'll need to create and encapsulate your code in a component, include it in COM+ and assign an admin account to run the package..
0
 
LVL 2

Expert Comment

by:ZhongYu
ID: 6367838
You must be aware what you are trying to do. In a NT computer only members in administrators group can add/remove user accounts. You have to include the users into this group.
0
 

Author Comment

by:sac389
ID: 6398113
Thanks for your thoughts. I figured out that the creator of the group can add and remove members even if the creator is not an administrator. So I could create the groups with that person. But I want multiple people to have the ability to add and remove from the group. I have read that power users should be able to add and remove members also, but haven't gotten this to work yet.  
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question