Chapter 2 Jaguar Naming Services


Using an LDAP server with Jaguar

To add persistent object name storage capabilities to Jaguar, you can use an external directory naming service, such as an LDAP server. The Jaguar server properties include an optional URL for specifying the port for the external name server.

When you use an external name server, Jaguar uses JNDI to communicate with the name server through the specified URL.

LDAP object schema and Jaguar objects

LDAP servers have predefined schema for common objects such as country, organization, and organizational unit. Jaguar uses the following format for an LDAP-compatible initial context:

ou=<organizational unit>, o=<organization>, c=<country>

Storing Jaguar object bindings on an LDAP server

When you use an LDAP server with a Jaguar name server, the CosNaming component binds all implemented objects on the servers that use the designated Jaguar name server, and stores the name context information on the LDAP server. If Jaguar detects previously-bound objects on the external name server, it updates the existing bindings with current name context information. When you shut down the Jaguar server, it unbinds the stored information.

Steps To connect a Jaguar name server to an LDAP server:

  1. On start-up, the Jaguar name server connects to the LDAP server using the URL specified in the Jaguar name server's Naming Service properties.

  2. The Jaguar name server authenticates the connection to the LDAP server using the manager DN specified in the Jaguar name server's Naming Service properties.

  3. The Jaguar name server attempts to retrieve any existing matching name contexts from the LDAP server. If successful, the Jaguar name server uses the existing name context information.

  4. The Jaguar name server prepares the server object with the required attributes.

  5. The Jaguar name server attempts to add the server object to the LDAP server. If the object already exists, the LDAP server updates the existing object with the current attributes.

  6. The Jaguar server adds any new package/component name context information, or modifies the existing information if necessary.


 


Copyright © 2000 Sybase, Inc. All rights reserved.