Specifies an alternate name for the node entry in LDAP
(Lightweight Directory Access Protocol), or a different protocol type
for connecting to the database server.
API include file
db2ApiDf.h
API and data structure syntax
SQL_API_RC SQL_API_FN
db2LdapCatalogNode (
db2Uint32 versionNumber,
void * pParmStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2LdapCatalogNodeStruct
{
char *piAlias;
char *piNodeName;
char *piBindDN;
char *piPassword;
} db2LdapCatalogNodeStruct;
db2LdapCatalogNode 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 db2LdapCatalogNodeStruct structure.
- pSqlca
- Output. A pointer to the sqlca structure.
db2LdapCatalogNodeStruct data structure parameters
- piAlias
- Input. Specify a new alias to be used as an alternate name for
the node entry.
- piNodeName
- Input. Specify a node 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 create and update the object
in 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.