Giter VIP home page Giter VIP logo

Comments (14)

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024 1

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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

can you give us more information about the issue?

Thanks,
Akhil

from go_ibm_db.

litaocdl avatar litaocdl commented on July 17, 2024

@akhilravuri1
More description for connection support.

  1. 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.

  2. 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.

  3. 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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

Hi @annfengcn
Have you tried to make a connection using Kerberos?
If yes in which platform.

from go_ibm_db.

annfengcn avatar annfengcn commented on July 17, 2024

@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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

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.

qi-min avatar qi-min commented on July 17, 2024

@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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

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.

qi-min avatar qi-min commented on July 17, 2024

@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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

Yes.

from go_ibm_db.

maxatcn avatar maxatcn commented on July 17, 2024

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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

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.

maxatcn avatar maxatcn commented on July 17, 2024

@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.

akhilravuri1 avatar akhilravuri1 commented on July 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.