Comments (14)
Please download the cli driver special build from this link
http://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=All&platform=All&function=fixId&fixids=special_38551_DSClients-linuxx64-odbc_cli-11.1.4.4-FP004%3A568934929884115648&includeSupersedes=0
To make kerberos connection you need to add the below steps:
cd <odbc_cli>directory
mkdir -p security64/plugin/IBM/client
cd security64/plugin/IBM/client
copy the IBMkrb5.so from instance-based client to the newly created folder.
add KRBPlugin=IBMkrb5 entry to db2cli.ini file.
Thanks,
Akhil
from go_ibm_db.
can you give us more information about the issue?
Thanks,
Akhil
from go_ibm_db.
@akhilravuri1
More description for connection support.
-
SSL support. go client going to talk with the db2 ssl port by adding a new flag like sslConnection=true, by enable this flag, the communication between go client and db2 server a secure connections which is encrypted. if the db2 server is configured with CA signed certification, there is no extra need for go client configuration. if db2 server side is configured with self-signed certification, the go client side need to configure the truststore.
-
APIKey support. besides the username and password as credentials. API Key support means the go client can configure to use public cloud APIKey to communicate with DB2, while this DB2 is configured to authenticated with IAM server GSS Plugin. the securityMechanism for this APIKey support is 15.
-
Kerbos support means go client configure to use securityMechanism 11 to talk with DB2 which is using kerberos authentication. the username and password send to db2 will first send to kerbos server to generate the kerberos ticket and then using this ticket to send to db2 server for authentication .
let me know if we need more information.
from go_ibm_db.
Hi @annfengcn
Have you tried to make a connection using Kerberos?
If yes in which platform.
from go_ibm_db.
@akhilravuri1 We have connection to Linux kerberos with jdbc, with a replacement new app we are writing to use go. But there's no example in the go driver how to connect to kerbos. so we are looking for go example.
@litaocdl we can share jdbc example
from go_ibm_db.
Hi @annfengcn
our clidriver(downloaded by go) on Linux does not support Kerberos. Do you have a special build of clidriver for Linux which supports Kerberos?
Thanks,
Akhil
from go_ibm_db.
@akhilravuri1 Current we only use JDBC for Kerberos. But from this doc, cli driver should also support kerberos.
https://www.ibm.com/developerworks/data/library/techarticle/dm-1502kerberos-db2/index.html#clisection
from go_ibm_db.
Hi @qi-min
Yes, cli driver supports Kerberos. But there is a small defect in that and we have delivered the fix through this APR-IT28444(we delivered it to v11.1.4.5) but it is not released. So If you give us the information like on which platform and what version of odbc-cli you are using we will give you the special build.
Thanks,
Akhil
from go_ibm_db.
@akhilravuri1 Do you mean you can help to provide a special cli driver build if we can provide the version and platform of cli driver?
from go_ibm_db.
Yes.
from go_ibm_db.
Hi @qi-min
Yes, cli driver supports Kerberos. But there is a small defect in that and we have delivered the fix through this APR-IT28444(we delivered it to v11.1.4.5) but it is not released. So If you give us the information like on which platform and what version of odbc-cli you are using we will give you the special build.
Thanks,
Akhil
Hi Akhil,
The cli driver download link: https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz
As I checked,
IBM Data Server Driver for ODBC and CLI v11.1.4.4
I am not sure how often the driver updated in the link above.
If there is the link to download the latest one, please let us know.
Thanks.
from go_ibm_db.
Hi @maxatcn
Since the new version is not released. I think it will not be available to the public links. If you give us the platform and odbc-cli which you are using we will give you the special build.
Thanks,
Akhil
from go_ibm_db.
@akhilravuri1 , https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz this is what we are using in formal build. This is included in the deployment script, download->unzip->install, Linux, x86_64.
Thanks,
Max
from go_ibm_db.
@maxatcn so you are using v11.1.4.4.
Give us some time we will give you a special build.
Thanks,
Akhil
from go_ibm_db.
Related Issues (20)
- Not able to connect to a new DB2 instance as soon as previous connection is closed HOT 6
- Context with timeout will not prevent long running queries HOT 3
- `ExecContext` and `QueryContext` do not implement any `database/sql` interfaces HOT 1
- Installer setup program fails. HOT 2
- Link Error `libdb2.so: undefined reference to sqloRemStgDelete` HOT 6
- Unable to run [email protected] on M1 architecture HOT 14
- error while loading shared libraries: libcrypt.so.1 HOT 3
- ibmdb/go_ibm_db pooling vs database/sql pooling HOT 6
- Panic when initDriver HOT 6
- index out of range [2021] with length 2021 HOT 3
- ../../go/pkg/mod/github.com/ibmdb/[email protected]/api/api_unix.go:13:11: fatal error: sqlcli1.h: No such file or directory HOT 2
- How to fix CLI0129E An attempt to allocate a handle failed because there are no more handles to allocate HOT 2
- After connecting to db2 successfully, Chinese character display exception in the query result HOT 14
- Stored procedures support array-based input parameters HOT 2
- Inconsistent GSKIT Error 2 HOT 12
- fatal error: invalid pointer found on stack HOT 6
- [help]how to debug the cost breakdown HOT 2
- The gbk encoded Chinese field may be truncated when read in the utf8 operating environment HOT 1
- SQL_DECIMAL type uses comma as separator, not period, so it can't convert to float64 HOT 5
- [CRITICAL] - double byte characters are truncated for CHAR columns HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go_ibm_db.