Solved

Making Custom Schema Attribute Visible In DSA.MSC

Posted on 2009-07-06
11
3,139 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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.
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

830 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