DB2 Version 10.1 for Linux, UNIX, and Windows

db2LdapDeregister API - Deregister the DB2 server and cataloged databases from the LDAP server

Deregisters the DB2® server from LDAP (Lightweight Directory Access Protocol).

Authorization

None

Required connection

None

API include file

db2ApiDf.h

API and data structure syntax

SQL_API_RC SQL_API_FN
  db2LdapDeregister (
   db2Uint32 versionNumber,
   void * pParmStruct,
   struct sqlca * pSqlca);

typedef SQL_STRUCTURE db2LdapDeregisterStruct
{
   char *piNodeName;
   char *piBindDN;
   char *piPassword;
} db2LdapDeregisterStruct;

db2LdapDeregister API parameters

versionNumber
Input. Specifies the version and release level of the structure passed in as the second parameter, pParamStruct.
pParamStruct
Input. A pointer to the db2LdapDeregisterStruct structure.
pSqlca
Output. A pointer to the sqlca structure.

db2LdapDeregisterStruct data structure parameters

piNodeName
Input. Specify a short name that represents the DB2 server in LDAP.
piBindDN
Input. Specify the user's LDAP distinguished name (DN). The LDAP user DN must have sufficient authority to delete the object from the LDAP directory. If the user's LDAP DN is not specified, the credentials of the current logon user will be used.
piPassword
Input. Account password.