• Contact Us
  • Home
  • Installation
  • Configuration

How To Get an OID

Learn how to acquire an OID and navigate the process effectively.

Written by Lenka Klementova

Updated at June 12th, 2025

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

As part of developing an application, designing system configuration, or due to other requirements, you will occasionally have to add additional attributes or even define a new objectClass.

In order to do that you will need to register these new schema elements with the Internet Assigned Numbers Authority (IANA.) The IANA operates an online service you can use to get an Object ID (both attributes and object classes are considered "objects" needing a unique ID).

IANA keeps track of private enterprise numbers (PENs) of private organizations. If your organization does not have a PEN allocated yet, please go to https://pen.iana.org/pen/PenApplication.page. IANA will assign a PEN which typically looks something like 1.3.6.1.4.1.XXXXX where XXXXX is the assigned number for your organization.

Once you have the base OID, you can create branches (sub-OIDs) for your specific object classes and attributes. A common practice is to use .1 for attributes and .2 for object classes, but you can define your own structure. 

For example, if your assigned base OID is 1.3.6.1.4.1.77777, you might create branches like: 
1.3.6.1.4.1.77777.1.1 (where 1.3.6.1.4.1.77777.1. is a prefix you use for all attributes)
1.3.6.1.4.1.77777.2.1 (where 1.3.6.1.4.1.77777.2. is a prefix you use for all object classes)

It is never appropriate to make up an OID or use someone else's. They are free and easy and your OID will be unique. That means that if you ever have to use back-ldap to connect to another directory or back-meta to create a virtual/meta directory, all the OIDs will be unique.

 

 

 

Copyright © 2020-2024 Symas Corporation. All rights reserved.
oid attribute objectclass object id

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Configuring iptables (Opening LDAP Ports)
  • Logging Configuration for RHEL / Centos
  • Configure SSSD with LDAP on Ubuntu Client
  • How to Create Certificates for OpenLDAP
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2023, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand