Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

OID and Active Directory Attributes

Posted on 2016-11-17
9
Medium Priority
?
198 Views
Last Modified: 2016-11-21
I need to generate new Attributes for an Active Directory setup on a server
I have no problem using mmc to access the AD Attributes editor
When I create a new attribute, I am asked to create a new Unique X500 Object ID

I have the vb script from microsoft but I need to know exactly what to enter in the box:
According to the script, my root is 1.2.840.113556.1.8000.2554...............................714634

Do I just append to the end of this ?
0
Comment
Question by:doctorbill
  • 5
  • 3
9 Comments
 
LVL 6

Accepted Solution

by:
Kevin Stanush earned 1000 total points
ID: 41892194
You can use the OID entered from running the Microsoft script, or you can also append some additional sub-nodes to the end if you have a case where you need to create a structure.  Here is a good article on it:

http://tomislavtasic.blogspot.com/2014/01/extending-active-directory-schema.html

In their example, they just used what the script/tool returned.  You can also put .1 on the end for your first attribute, or .2, etc., or

.2.1
.2.2
.2.3

...etc. if you are creating multiple new attributes all belonging to the same 'category' of things.

Most examples just use what the tool returns directly.  And NOONE explains this very well as you have found !
0
 
LVL 6

Assisted Solution

by:sAMAccountName
sAMAccountName earned 1000 total points
ID: 41893063
Actually, they are explained to a fair degree in these articles
Schema Object Identifiers (Windows Networking)
Object Identifiers Registry

*edit:  having problems this morning - need coffee
0
 

Author Comment

by:doctorbill
ID: 41894022
Do I need to need to link the attribute to a user class or can I just use it as it is (from the AD attributes  field)
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
LVL 6

Assisted Solution

by:Kevin Stanush
Kevin Stanush earned 1000 total points
ID: 41894211
I've never had a custom attribute not linked to a class.  I suspect that you can however still use it, but you would have to have your own code to update it.  But why would you not want to link the attribute to a class (or classes ?)
0
 

Author Comment

by:doctorbill
ID: 41894285
I want to be able to use the new attribute in the advanced view of AD and add some data to it
This will then be used a s a dynamic file in exclaimer signature manager
There is no reason why I would not link it to a class but I was wondering if it was necessary to do so

I assume that if I want to use it the way I describe I would link it to a user class
0
 
LVL 6

Assisted Solution

by:Kevin Stanush
Kevin Stanush earned 1000 total points
ID: 41895971
Yes, I would like it to the user class.  I think (not sure) that unlinked attributes are available to all classes, it something like 'usncreated' for example.
0
 

Author Comment

by:doctorbill
ID: 41896361
Thanks very much - very informative
0
 

Author Comment

by:doctorbill
ID: 41896530
Completed
0
 

Author Closing Comment

by:doctorbill
ID: 41896535
Completed
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

885 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