Solved

Making Custom Schema Attribute Visible In DSA.MSC

Posted on 2009-07-06
11
3,113 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
  • 4
  • 3
11 Comments
 
LVL 27

Expert Comment

by:bluntTony
Comment Utility
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
Comment Utility
Hi Tony,

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

Regards,
Neo.
0
 
LVL 27

Expert Comment

by:bluntTony
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:Neo_78
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Tony !!

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

Regards,
Neo.
:-)
0
 
LVL 27

Expert Comment

by:bluntTony
Comment Utility
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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 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

10 Experts available now in Live!

Get 1:1 Help Now