question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sqlline & jdbcldap

See original GitHub issue

Hello

I’d like to connect to jdbcldap with sqlline. I’m able to connect to activedirectory using dbeaver and jdbcldap drivers from https://github.com/elbosso/openldap-jdbcldap

matteo@debian:~/apps/sqlline$ ls
athena-2.0.24.jar                ojdbc8-19.7.0.0.jar
jdbcLdap.jar                     org.eclipse.jface_3.12.2.v20170113-2113.jar
jline-terminal-jansi-3.18.0.jar  org.eclipse.swt_3.105.3.v20170228-0512.jar
junit-4.12.jar                   org.eclipse.swt.cocoa.macosx.x86_64_3.105.3.v20170228-0512.jar
ldap.jar                         postgresql.jar
log4j.jar                        presto-jdbc-0.240.jar
mssql-jdbc-8.4.1.jre11.jar       sqlline.jar
matteo@debian:~/apps/sqlline$ sqlline -d com.octetstring.jdbcLdap.sql.JdbcLdapDriver
sqlline version 1.11.0
sqlline> !connect jdbc:ldap://dmc.group.redaelli.com/DC=group,DC=redaelli,DC=com?SEARCH_SC
OPE:=subTreeScope&concat_atts:=true a a
scan complete in 122ms
No known driver to handle "jdbc:ldap://dmc.group.redaelli.com/DC=group,DC=redaelli,DC=com?
SEARCH_SCOPE:=subTreeScope&concat_atts:=true"
sqlline> !scan
scan complete in 691ms
5 driver classes found
Compliant Version Driver Class
no        0.240   com.facebook.presto.jdbc.PrestoDriver
yes       8.4     com.microsoft.sqlserver.jdbc.SQLServerDriver
no        2.0     com.simba.athena.jdbc.Driver
yes       19.7    oracle.jdbc.OracleDriver
no        42.2    org.postgresql.Driver

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
elbossocommented, Nov 20, 2021

the pull request is merged!

0reactions
matteoredaellicommented, Nov 29, 2021

ok Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Configure and Connect the Simba Spark JDBC Driver ...
In this blog, we'll walk you through configuring and connecting the Simba Spark JDBC driver with SQLLine so you report on real-time analytics...
Read more >
Connection URLs for Kerberos using JDBC Drivers to connect ...
Connection URLs for Kerberos using JDBC Drivers to connect via SQLLine. You can use client-side connection URL parameters for Kerberos ...
Read more >
SQLLine | GridGain Documentation
GridGain and Apache Ignite are shipped with the SQLLine tool – a console-based utility for connecting to relational databases and executing SQL commands....
Read more >
Trying to use the jdbcldap driver: ERROR com.zaxxer.hikari ...
I'm trying to connect Apache Drill to an ldap server through the jdbcldap driver ... Fyi I can connect to ldap (&jdbcldap) using...
Read more >
[#KNOX-893] Use Phoenix "thin" JDBC driver HTTP basic auth ...
... thin JDBC driver through knox using command: bin/sqlline-thin.py ... Also from my testing, knox didnt do ldap authentication for the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found