mssql-odbc provider does not support ActiveDirectoryIntegrated authentication
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure, python
- Lĩnh vực
- authentication, database
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 478
- Fork
- 62
- Merge trung bình
- 3 ngày 19 phút
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/mssql-python
-
area: bulk-copy triage needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microsoft/mssql-python#843 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
macOS: encrypted connections fail after Homebrew moved the `openssl` alias to `openssl@4`Có thể đã có người làm @bewithgaurav đã nhận 15 ngày trước. Đang mởarea: packaging-platform bug triage needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
microsoft/mssql-python#826 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Announcement: mssql-python is coming to Django through mssql-django 2.0Có thể làm lại được @bewithgaurav đã nhận 41 ngày trước và không có pull request nào đang mở. Đang mởannouncement
microsoft/mssql-python#748 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Connection pool can briefly exceed max_size when pooling is disabled under loadCó thể đã có người làm @bewithgaurav đã nhận 24 ngày trước. Đang mởarea: connectivity-auth bug triage done under development
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 62/100
microsoft/mssql-python#746 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Decimal in money range still string-binds on the executemany pathCó thể đã có người làm @bewithgaurav đã nhận 24 ngày trước. Đang mởarea: data-types bug triage done under development
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/mssql-python#745 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/mssql-python
Issue tương tự
-
`LazyFrameRemote` and `ExecuteRemote` sinks do not accept `Path`, like `LazyFrame` sinks do.Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
WingedGuardian/GENesis-AGI#3375 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
githubnext/gh-aw-workshop#4601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
approved Good First Issue scope: docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày