?
Solved

adsi permission error

Posted on 2001-08-09
3
Medium Priority
?
543 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 600 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 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