Administrative API Reference
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.
This API is available on Windows NT, Windows 98, and Windows 95
only.
Authorization
None
Required Connection
None
Version
db2ApiDf.h
C API Syntax
/* File: db2ApiDf.h */
/* API: db2LdapCatalogNode */
/* ... */
SQL_API_RC SQL_API_FN
db2LdapCatalogNode(
sqlint32 versionNumber,
void * pParamStruct,
struct sqlca * pSqlca);
typedef struct
{
char * piAlias;
char * piNodeName;
char * piBindDN;
char * piPassword;
} db2LdapCatalogNodeStruct;
/* ... */
|
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. For
more information about this structure, see SQLCA.
- 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.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]