mssql-odbc provider does not support ActiveDirectoryIntegrated authentication
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- azure, python
- Bereich
- authentication, database
Rechercherichtung
Start from the reproduction script, which sets mssql_python.native_provider to mssql-odbc and connects with Authentication=ActiveDirectoryIntegrated. Search the provider code for the error text 'Authentication method ActiveDirectoryIntegrated is not yet supported' to find where that auth mode is rejected, then compare it with the working ActiveDirectoryInteractive path. Done when the same connection succeeds on mssql-odbc and the test suite still passes for the other auth modes.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
The opt-in mssql-odbc provider cannot connect when the connection string uses Authentication=ActiveDirectoryIntegrated.
The same connection succeeds with the default msodbcsql18 provider. ActiveDirectoryInteractive and ActiveDirectoryDefault also succeed with mssql-odbc in the same environment.
Environment
- Windows 11 x64, build 26300
- Python 3.13.9
mssql-python==1.16.0mssql-python-rs==0.3.0mssql-python-odbc==18.6.2.2- Target: SQL database in Microsoft Fabric
Reproduction
import mssql_python
mssql_python.native_provider = "mssql-odbc"
connection_string = (
"Server=<server>,1433;"
"Database=<database>;"
"Encrypt=yes;"
"TrustServerCertificate=no;"
"Authentication=ActiveDirectoryIntegrated"
)
conn = mssql_python.connect(connection_string)
Actual result
mssql_python.exceptions.NotSupportedError:
Driver Error: Optional feature not implemented;
DDBC Error: [Microsoft]Authentication method ActiveDirectoryIntegrated is not yet supported
Expected result
mssql-odbc supports ActiveDirectoryIntegrated, matching the default msodbcsql18 provider.
Controls
Using the same Python environment, account, server, and database:
msodbcsql18withActiveDirectoryIntegrated: succeedsmssql-odbcwithActiveDirectoryIntegrated: fails withNotSupportedErrormssql-odbcwithActiveDirectoryInteractive: succeedsmssql-odbcwithActiveDirectoryDefault: succeeds
- Vorherrschende Sprache
- Python
- Sterne
- 479
- Forks
- 62
- Ø Merge
- 2 T. 23 Std.
- Gemergte PRs (30 T.)
- 18
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus microsoft/mssql-python
-
area: bulk-copy triage needed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
microsoft/mssql-python#843 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage needed
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
microsoft/mssql-python#850 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage needed
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
microsoft/mssql-python#849 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage needed
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
microsoft/mssql-python#848 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
macOS: encrypted connections fail after Homebrew moved the `openssl` alias to `openssl@4`Evtl. vergeben @bewithgaurav hat das vor 19 Tagen übernommen. Offenarea: packaging-platform bug triage needed
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
microsoft/mssql-python#826 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in microsoft/mssql-python
Ähnliche Issues
-
get_page_thumbnail modifies cached page images, affecting later thumbnails and picture exportsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
docling-project/docling-mcp#147 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
autowarefoundation/autoware_carla_scenario#405 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
mohitmishra786/readprism#322 ·
Maintainer antworten meist innerhalb von 1 Tag