22.12.2012 Views

Front cover - IBM Redbooks

Front cover - IBM Redbooks

Front cover - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OIDs are intended to be globally unique. They are formed by taking a unique<br />

numeric string (for example, 1.3.4.7.4.17) and adding additional digits in a unique<br />

fashion (such as 1.3.4.7.4.17.1, 1.3.4.7.4.17.2, 1.3.4.7.4.17.3, and so forth). An<br />

organization may acquire a “branch” from some root or vertex in the OID tree.<br />

Such a branch is more commonly referred to as an arc (in the previous example,<br />

it was 1.3.4.7.4.17). The organization may then extend the arc (with subarcs) as<br />

shown, to create additional OIDs and arcs. We have no idea why the terminology<br />

for the OID tree uses the words “vertex” and “arc” instead of “root” and “branch”<br />

as is more commonly used in LDAP and its X.500 heritage.<br />

If you have an LDAP directory that is a derivative of the original University of<br />

Michigan LDAP code (many open source and commercial LDAP directory<br />

servers are), your object class definitions are contained in files ending with “.oc”.<br />

For those of you wondering where the “eDominoAccount” object class definition<br />

is located, it is of course specific to <strong>IBM</strong> Directory Server. Note that <strong>IBM</strong>-specific<br />

OIDs begin with the arc 1.3.18.0.2; this is a unique private enterprise number<br />

that has been assigned to <strong>IBM</strong>. The number breaks down as follows:<br />

1 (ISO-assigned OID)<br />

1.3 (ISO-identified organization)<br />

1.3.18 (<strong>IBM</strong>)<br />

1.3.18.0 (<strong>IBM</strong> Objects)<br />

1.3.18.0.2 (<strong>IBM</strong> Distributed Directory)<br />

As you may have guessed, the “dot notation” as first used by the IETF for IP<br />

addresses was adopted for OIDs to keep things simple. However, unlike IP<br />

addresses, there is no limit to the length of an OID.<br />

If your organization must define your own attributes for use within your internal<br />

directories, you should consider obtaining your own private enterprise number<br />

arc to identify these attributes. We do not recommend that you “make up” your<br />

own numbers, as you will probably not be able to interoperate with other<br />

organizations (or some vendor’s LDAP products). This is not to say obtaining<br />

your own OID arc from ISO, IANA, or some other authority to define your own<br />

object classes and attributes will guarantee interoperability. But it will prevent you<br />

from using OIDs that have already been assigned to or by someone else. OIDs<br />

are only used for “equality-matching.” That is, two objects (for example, directory<br />

attributes or certificate policies) are considered to be the same if they have<br />

exactly the same OID. There are no implied navigational or hierarchical<br />

capabilities with OIDs (unlike IP addresses, for example); given an OID, one can<br />

not readily find out who owns the OID, related OIDs, and so forth. OIDs exist to<br />

provide a unique identifier. There is nothing to stop two organizations from<br />

picking the same identical names for objects that they manage; however, the<br />

OIDs will be unique assuming they were assigned from legitimate arc numbers.<br />

Chapter 8. Directory strategies 319

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!