mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 05:36:14 +03:00
[GH-ISSUE #732] Autentication bug using ntlm authenticationScheme in sqlserver driver #189
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @btarazonaj on GitHub (Mar 28, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/732
Describe the bug
When i try to authenticate with NTLM, it expects pass the password under the "password" field on the request, but the server sends the password under the field "userPassword" and it shows this error:
com.microsoft.sqlserver.jdbc.SQLServerException: "User" (or "UserName") and "Password" connection properties must be specified for NTLM authentication.


If i specify in the driver properties manually fields "User" and "Password" it works and i can connect but the field Password in the driver properties appears in plain text... :((
Anyway the login window appears when you try to connect and it is useless because the driver properties configuration overwrites it.
Driver Properties changes:
authenticationScheme: "ntlm"
integratedSecurity: "true"
Desktop (please complete the following information):
@kseniiaguzeeva commented on GitHub (Mar 30, 2022):
We are going to add support of diiferent authentication models for SQL Server. NTLM auth will work after that.
Here is similar ticket.
@kseniiaguzeeva commented on GitHub (Jun 1, 2022):
NTLM authentication is added for SQL Server. Could you please just select it in the Connection dialog and enter your credentials?