ldap_refresh_server

Restarts the LDAP server associated with the specified session handle.

LDAP Version:v3
Library:*ldapx.*
NDS Version:8.5
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldapx.h>
  
  int ldap_refresh_server (
     LDAP   *ld);
  

Parameters

ld

(IN) Points to the handle for the LDAP session.

Return Values

0x00

LDAP_SUCCESS

0x01

LDAP_OPERATIONS_ERROR: A string is returned with this error code that indicates the source of the error.

0x32

LDAP_INSUFFICIENT_ACCESS

Non-zero

Non-zero values indicate errors. See LDAP Return Codes.

Remarks

Each ld is associated with a particular LDAP server. By specifying the ld, you specify the LDAP server that is restarted, and you use the authentication credentials established for that ld.

To restart the LDAP server, the client must have write permissions to the extensionInfo attribute of the LDAP server object.

Packet Format

The requestName is set to the OID (2.16.840.1.113719.1.27.100.9) and the requestValue has no value:

  RequestBer
      NULL
  
  

The responseName is set to the OID (2.16.840.1.113719.1.27.100.10) and the responsetValue has no value:.

  ResponseBer
      NULL