| Oracle® Internet Directory Administrator's Guide 10g (9.0.4) Part Number B12118-01 |
|
Oracle Directory Server Administration, 4 of 10
To enable users to search for specific naming contexts, you can publish those naming contexts. This section contains these topics:
To publish a naming context, you specify the topmost entry of each naming context as a value of the namingContexts attribute in the root DSE. For example, suppose you have a DIT with three major naming contexts, the topmost entries of which are c=uk, c=us, and c=de. If these entries are specified as values in the namingContexts attribute, then a user, by specifying the appropriate filter, can find information about them by searching the root DSE. The user can then focus the search--for example, by concentrating on the c=de naming context in particular.
To publish a naming context, you can use either Oracle Directory Manager or ldapmodify. The namingContexts attribute is multi-valued, so you can specify multiple naming contexts.
To search for published naming contexts, perform a base search on the root DSE with objectClass =* specified as a search filter. The retrieved information includes those entries specified in the namingContexts attribute.
Before you publish a naming context, be sure that:
The following sample LDIF file specifies the entry c=uk as a naming context.
dn: changetype: modify add: namingcontexts namingcontexts: c=uk
|
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|