?
Solved

Making Custom Schema Attribute Visible In DSA.MSC

Posted on 2009-07-06
11
Medium Priority
?
3,190 Views
Last Modified: 2013-12-24
After i add new attribute in schema and link them to user class how do i make them visible in dsa.msc ? I can see those attributes in LDP and ADSIEDIT, but not in dsa.msc.Can some one help ??
0
Comment
Question by:Neo_78
[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
  • 4
  • 3
11 Comments
 
LVL 27

Expert Comment

by:bluntTony
ID: 24801528
Hi there,

For you to make a custom attribute visible in ADUC, you can create a context menu option which runs a vbscript. For example, when you right click a user, a menu option appears, say 'Edit CustomAttribute'. This then runs a vbscript which populates an input box with the value.

The following article explains how to link a script to a right-click menu for a user. You can modify the script to display/edit your user attribute.

http://www.petri.co.il/add_unlock_user_option_to_dsa.htm

Give me a shout if you need help modifying this for your needs. And sure I don't need to say this, but be careful in ADSIEDIT! :-)
0
 

Author Comment

by:Neo_78
ID: 24810556
Hi Tony,

Thanks for your feedback. But this solution does not help much.

Regards,
Neo.
0
 
LVL 27

Expert Comment

by:bluntTony
ID: 24811365
Well, actually it does.

You need to modify the script in the article to display your custom attribute in ADUC, as you asked for. If you need help with the script, let me know the attribute and I'll provide one.

You can't get the attribute to display natively in the ADUC mmc because you would need to re-code the DLLs. Using a custom option on a context menu is as good as it gets I'm afraid. Apart from that, your option would be to develop your own form in VB/C# which accesses AD for the info.

If you could be a bit more descriptive about what you need exactly we might be able to help further.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Neo_78
ID: 24829093
Hi Tony,

I have used the "http://technet.microsoft.com/en-us/library/bb727064.aspx":  Adding the Attributes to the Class. I have added 4 new attribute to user class. Now I want these attribute to be visible at DSA.MSC Console. So I would require how to program the dll so that these 4 attributes are visible in dsa.msc console. the Attributes addes are "TMDManager","TMDSales","TMDGrade" and so on.....

So basically after doing this when i open up dsa.msc and go for user prpperty then i should be able to see this Attributes. For this as u said the dll file needs to be modified is correct but as i am not a programmer i dont know what do do exactly. So i require the steps for the same.

Hope i am clear now.

Thanks again tony !!

Regards,
Neo.
0
 
LVL 27

Accepted Solution

by:
bluntTony earned 1500 total points
ID: 24842128
Hi Neo,

What I'm saying is, is that getting your own property page to display in ADUC is pretty advanced stuff. I would not claim to have done this myself. You will need to be versed in either C++ or VB and COM programming.

If you want to look into it: http://msdn.microsoft.com/en-us/library/aa814681(VS.85).aspx

Apart from that, the easy thing is to create a context menu as I stated earlier. Or if you have a Server 2008 / Vista or Win 7 box, the version of ADUC which runs on these includes and attribute editor tab which enabled you to view all attributes in a list (it's basically the same as the attribute editor in ADSIEDIT).

If you havent raised your domain functional level to 2008 you have to make a few changes to the configuration naming context to make the tab visible in ADUC.

See here: http://social.technet.microsoft.com/Forums/en-US/winserverManagement/thread/6e6ef6bd-b5c9-4f16-b346-097832e3b93c

Failing that, if you really want to put on your coding hat, then I would post this question in a programming zone to get experts in this field.

Tony
0
 

Author Comment

by:Neo_78
ID: 24856897
Thanks Tony !!

But It would be great if the code can be obtained.

Regards,
Neo.
:-)
0
 
LVL 27

Expert Comment

by:bluntTony
ID: 24857409
I would suggest you post a question in the relevant programming zone so someone there can help you write it.

Thanks,

Tony
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

719 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