In order to switch a user on a trusted connection, the application must first call xa_end (TM_SUCCESS) and specify the new user ID and optional password by calling SQLSetConnectAttr.
为了切换一个受信任连接上的用户,应用程序必须首先调用xa_end (TM_SUCCESS),并通过调用SQLSetConnectAttr指定新的用户ID和可选的密码。
Select the DB2 connection, and right-click on it to modify the connection in order to connect to the IBM DB2 UDB SAMPLE database. (See Figure 1 for my Settings.)
选择DB 2连接,右击它并修改连接,以连接到IBM DB 2 UDB SAMPLE数据库(关于我的设置,参见图1。)
This connection will use gssplugin; on the client it selects gss2 even though both gss2 and KRB are listed; the srvcon_gssplugin_list dictates the preference order.
该连接将使用gssplugin;在客户机上,虽然gss2和krb都在列表中,它仍然选择gss2; srvcon_gssplugin _ list表明了优先顺序。
应用推荐