-
Notifications
You must be signed in to change notification settings - Fork 24
Mapping
Alan Hatter edited this page Jul 19, 2020
·
4 revisions
It's pretty easy to map objects to your directory structure. Each naming context is similar to a table in RDBMS. For instance, take this structure:
- DC=example,DC=com
- OU=Roles
- OU=Servers
- OU=Web Servers
- CN=www.example.com
- CN=www2.example.com
- OU=Email Servers
- CN=mail.example.com
- CN=exchange.example.com
- OU=Web Servers
Your primary objects would be Role and Server. Their naming contexts would be OU=Roles,DC=example,DC=com and OU=Servers,DC=example,DC=com. Server would have two sub classes WebServer and EmailServer. The naming contexts for these would be OU=Web Servers,OU=Servers,DC=example,DC=com and OU=Email Servers,OU=Servers,DC=example,DC=com.