Solved

Delegate control in Active Directory

Posted on 2003-11-03
12
474 Views
Last Modified: 2010-04-14
I want to delegate control to a group of users so they can change the "Notes" field in the "Telephones" tab in a users properties sheet in Active Directory.

I was able to delegate control of other tasks but I can't find anything regarding allowing my group to write the "note" field.
The property "note" is shown in ADSIEdit as "info".
I have an application I wrote that makes the change to objUser.info. It works fine from the admin account but for the group of delegated users it fails when it tries writing the change with the line: objUser.setInfo, right after changing the info field.

This is how the code looks:

objUser.info = "User was Un-Blocked"
objUser.setInfo

Does anyone know anything extra about delegating control of AD objects ?

Thanks.
0
Comment
Question by:chayahd99
  • 6
  • 4
  • 2
12 Comments
 
LVL 4

Expert Comment

by:Vinnnnie
ID: 9671494
Is this Windows 2000 Server or 2003 Server?
0
 

Author Comment

by:chayahd99
ID: 9671623
Windows 2000 Server
0
 
LVL 4

Expert Comment

by:Vinnnnie
ID: 9671711
Well, I took a look at my help files and take a look at this URL:

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/ad/windows2000/plan/addeladm.asp

Seems to cover what you need to but I have not done that yet.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 83

Accepted Solution

by:
oBdA earned 150 total points
ID: 9672004
You'll need to edit the dssec.dat file in %SystemRoot%\system32 which filters most security properties. You should then be able to add the right to edit the note field to your delegated group.
How to Modify the Filtered Properties of an Object
http://support.microsoft.com/?kbid=296490

Here's how it works for "unlock account"; your procedure should be about the same, all you have to do is to find the proper entry for the "Notes" field ... ;)
How To Delegate the Unlock Account Right
http://support.microsoft.com/?kbid=294952
0
 

Author Comment

by:chayahd99
ID: 9676657
Thank you oBdA,

Those two articles explain exactly what I need, but in the dssec.dat file I couldn't find a property named UserInfo or anything similar.

How can I find that particular attribute that I'm looking for?

In "Active Directory Users & Computers" MMC it's called note and in AdsiEdit it's called info.
0
 

Author Comment

by:chayahd99
ID: 9676869
One more thing:

As a temporary test, I went threw the "Delegate Control" wizard and let my group have "read all properties" & "write all properties".
This solved the problem for now, but it is only a temporary solution, since I don't want to give them the right to change all properties.

Please tell me what the "info" property is called in the "dssec.dat" file.
0
 
LVL 83

Expert Comment

by:oBdA
ID: 9681516
This seems indeed to be a wee bit difficult ...
I'll continue to look for it, but it might take some time.
0
 

Author Comment

by:chayahd99
ID: 9684811
Thanks alot. I'll keep on looking threw other sources also.
0
 

Author Comment

by:chayahd99
ID: 9685356
The problem solved itself, some how, I'm not sure how.

I love Microsoft...
0
 
LVL 83

Expert Comment

by:oBdA
ID: 9685439
Well, glad it's working now; but could you elaborate on the "solved itself" part? I got interested myself on where to find this certain property ...
0
 

Author Comment

by:chayahd99
ID: 9685487
I didn't change the property in the "dssec.dat" file, because I didn't find it there.

As i wrote above, as a temporary test, I went threw the "Delegate Control" wizard and let my group have "read all properties" & "write all properties".
Since I couldn't leave it that way, I changed it back so my group has only the specific rights that they need and then when I tested my application I saw that I do not get the errors anymore.

Beauty !!!

In the past, I found cases where something didn't work, but when I changed a property (or whatever) and then changed it back to the way it was, it started working. Just like turning the computer off and on...
0
 
LVL 83

Expert Comment

by:oBdA
ID: 9685534
Oh well; I guess there are some things that just aren't meant to be understood. Thanks for the information.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual C++ Runtime Error on Windows 2000 Server 2 1,506
Windows 7 7 264
Can you expand C: in Windows 2000? 5 134
My production physical server goes down, Please help. 11 107
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
SEO can be a real minefield to navigate, but there are three simple ways to up your SEO game just be re-assessing your content output.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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