Mohd-Anwaruddin
asked on
Adding custom Attributes to ACtive Directory User Properties
Hello all,
Could any one throw some light on how to add additional fields to a user name property box. For Example In the organization tab i would like to add one more custom field called EMP NO. It's windows 2003 based Active Directory Service.
Regards
Could any one throw some light on how to add additional fields to a user name property box. For Example In the organization tab i would like to add one more custom field called EMP NO. It's windows 2003 based Active Directory Service.
Regards
I don't believe that's possible.
If you are looking at adding Employee id then that field is already in AD Schema.
To enable it, kindly follow the article
http://www.softheap.com/security/active-directory.html
It is possible to add the custom attributes. May be some more experts will be help you on that
To enable it, kindly follow the article
http://www.softheap.com/security/active-directory.html
It is possible to add the custom attributes. May be some more experts will be help you on that
http://www.awprofessional.com/articles/article.asp?p=169630&seqNum=3&rl=1
http://groups-beta.google.com/group/microsoft.public.adsi.general/browse_thread/thread/0ee11ddb87d76222/f8010a463bbdfb14?lnk=raot
Need to scroll down in this one to get to the point of your question
http://groups-beta.google.com/group/microsoft.public.adsi.general/browse_thread/thread/0ee11ddb87d76222/f8010a463bbdfb14?lnk=raot
Need to scroll down in this one to get to the point of your question
To explicitly answer your question - you cannot [3] edit the GUI to display new attribute. However, as inbarasan suggested, you can work-around the problem by adding context menus to the user object. These context menus launch VBS scripts that can display and edit whatever you desire.
The Windows 2003 schema [1] already has attributes for employeeID, employeeNumber and employeeType. You do not need to edit the schema to 'activate' them. The second part of inbarasan's article [2] forgets to explicitly say that you need to edit the adminContextMenu attribute (normally this is the first attribute in the list so no problem really).
[1] http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9642
[2] http://www.softheap.com/security/active-directory.html
[3] I have heard that Microsoft may have provided a method for C++ programmers.
The Windows 2003 schema [1] already has attributes for employeeID, employeeNumber and employeeType. You do not need to edit the schema to 'activate' them. The second part of inbarasan's article [2] forgets to explicitly say that you need to edit the adminContextMenu attribute (normally this is the first attribute in the list so no problem really).
[1] http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9642
[2] http://www.softheap.com/security/active-directory.html
[3] I have heard that Microsoft may have provided a method for C++ programmers.
ASKER
Dear All,
When i done the things what mentioned in the article by ryangorman i get the following error
Windows Script Host
Line 7
Char 5
Compilation Error
Error Expected Statement
Code 800A0400
Source Microsoft VB Script Compilation Error
Please let me know what do i have to do.
I just copied the script and pasted it still it did not work out
Thanks
When i done the things what mentioned in the article by ryangorman i get the following error
Windows Script Host
Line 7
Char 5
Compilation Error
Error Expected Statement
Code 800A0400
Source Microsoft VB Script Compilation Error
Please let me know what do i have to do.
I just copied the script and pasted it still it did not work out
Thanks
Inbarasan deserves the credit for any script from http://www.softheap.com/security/active-directory.html.
You did realise that there were TWO scripts, one called eid.vbs and another called enum.vbs. Both scripts start with "Dim oVar" and end with "WScript.Quit".
You did realise that there were TWO scripts, one called eid.vbs and another called enum.vbs. Both scripts start with "Dim oVar" and end with "WScript.Quit".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I Was wondering if there would be any on exchange if the above mentioned is done????
Though thanks every one
Though thanks every one
ASKER
I mean would there be any effect on Microsoft Exchange 2003 if we did the above mentioned changed