Updates the communication protocol information for the DB2 server in LDAP (Lightweight Directory Access Protocol).
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: db2LdapUpdate */ /* ... */ SQL_API_RC SQL_API_FN db2LdapUpdate ( sqlint32 versionNumber, void * pParamStruct, struct sqlca * pSqlca); typedef struct { char * piNodeName; char * piComment; unsigned short iNodeType; db2LdapProtocolInfo iProtocol; char * piBindDN; char * piPassword; } db2LdapUpdateStruct; typedef struct { char iType; char * piHostName; char * piServiceName; char * piNetbiosName; char * piNetworkId; char * piPartnerLU; char * piTPName; char * piMode; unsigned short iSecurityType; char * piLanAdapterAddress; char * piChangePasswordLU; char * piIpxAddress; } db2LdapProtocolInfo; /* ... */ |
API Parameters
SQLF_NT_SERVER SQLF_NT_MPP SQLF_NT_DCS SQL_PARM_UNCHANGE
SQL_PROTOCOL_APPN - For APPC/APPN support SQL_PROTOCOL_NETB - For NetBIOS support SQL_PROTOCOL_TCPIP - For TCP/IP support SQL_PROTOCOL_SOCKS - For TCP/IP with socket security SQL_PROTOCOL_IPXSPX - For IPX/SPX support SQL_PROTOCOL_NPIPE - For Windows NT Named Pipe support
SQL_CPIC_SECURITY_NONE SQL_CPIC_SECURITY_SAME SQL_CPIC_SECURITY_PROGRAM SQL_PARM_UNCHANGE