DB2 Version 10.1 for Linux, UNIX, and Windows

db2LdapUncatalogNode API - Delete alias for node name from LDAP server

Removes a node entry 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
  db2LdapUncatalogNode (
   db2Uint32 versionNumber,
   void * pParmStruct,
   struct sqlca * pSqlca);

typedef SQL_STRUCTURE db2LdapUncatalogNodeStruct
{
   char *piAlias;
   char *piBindDN;
   char *piPassword;
} db2LdapUncatalogNodeStruct;

db2LdapUncatalogNode API parameters

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

db2LdapUncatalogNodeStruct data structure parameters

piAlias
Input. Specify the alias of the node to uncatalog from 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.