Solved

Delegate control in Active Directory

Posted on 2003-11-03
12
473 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
 
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now