Naming Conventions

Each naming service has its own mechanism for supplying a name. Perhaps the most familiar naming convention is that of DNS, where every machine connected to the Internet has a unique name and address. Most readers should recognize the following as a host name used by DNS:

www.samspublishing.com

In contrast, LDAP names are based on the X.500 standard and use distinguished names that look like the following fictitious example:

cn=Martin Bond, ou=Authors, o=SAMS, c=us

This format will also be familiar to users of Microsoft's Active Directory service, whose naming system is also based on X.500 but uses a forward slash to separate the various name components:

cn=Martin Bond/ou=Authors/o=SAMS/c=us

These last two naming conventions ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.