Solved

Making Custom Schema Attribute Visible In DSA.MSC

Posted on 2009-07-06
11
3,134 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

777 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