Solved

Making Custom Schema Attribute Visible In DSA.MSC

Posted on 2009-07-06
11
3,167 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
This program is used to assist in finding and resolving common problems with wireless connections.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

631 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