This chapter describes the Novell LDAP extensions for naming contexts and replicas. These extensions allow access to the following directory features:
Naming contexts: split, join, get number of entries, abort operation
Replicas: add, remove, change type, list on server, return information
Replica synchronization: to a specified server, to all replicas, at a specified time
Schema synchronization
Get effective eDirectory rights for attributes
Get DN of logged in caller
Restart the LDAP server
Event monitoring
All of the naming context and replica functions are synchronous functions. If the naming context or replica is in a state that makes the requested operation possible, eDirectory responds to the client with a successful completion code. eDirectory then completes the operation in the background since some operations on large trees can take hours to complete. Clients can check on the status of the operation by calling the ldap_get_replica_info function.
All of these functions require LDAP extensions on the LDAP server.
NOTE:LDAP distinguished names are UTF-8 encoded.
Renamed Functions The "naming context" terminology is now obsolete. The following functions have been renamed to replace "naming context" terminology with "partition":
ldap_create_naming_context, renamed to ldap_split_partition.
ldap_merge_naming_contexts, renamed to ldap_merge_partitions.
ldap_naming_context_entry_count, renamed to ldap_partition_entry_count.
ldap_request_naming_context_sync, renamed to ldap_request_partition_sync.
ldap_abort_naming_context_operation, renamed to ldap_abort_partition_operation.
ldap_get_context_identity_name, renamed to ldap_get_bind_dn.
ldap_create_orphan_naming_context, renamed to ldap_split_orphan_partition.
ldap_remove_orphan_naming_context, renamed to ldap_remove_orphan_partition.