[QUESTION] pdb link for DLLs for mssql-jdbc_auth returns 404 - CPP assert in sqljdbc_auth.dll
See original GitHub issueHi, recently you posted here https://github.com/microsoft/mssql-jdbc/issues/907#issuecomment-565146447 that PDBs and DLLs are available for download. But PDB link returns 404
e.g.: https://search.maven.org/artifact/com.microsoft.sqlserver/mssql-jdbc_auth/8.4.1.x64/dll - try to download PDB and you receive nginx 404 OR here you see PDB in listing but when you click on link you receive 404
mssql-jdbc_auth-8.4.1.x64.dll 2020-08-27 19:42 313840
mssql-jdbc_auth-8.4.1.x64.dll.asc 2020-08-27 19:42 499
mssql-jdbc_auth-8.4.1.x64.dll.asc.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.dll.asc.sha1 2020-08-27 19:42 40
mssql-jdbc_auth-8.4.1.x64.dll.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.dll.sha1 2020-08-27 19:42 40
mssql-jdbc_auth-8.4.1.x64.pdb 2020-08-27 19:42 5591040
mssql-jdbc_auth-8.4.1.x64.pdb.asc 2020-08-27 19:42 499
mssql-jdbc_auth-8.4.1.x64.pdb.asc.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.pdb.asc.sha1 2020-08-27 19:42 40
mssql-jdbc_auth-8.4.1.x64.pdb.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.pdb.sha1 2020-08-27 19:42 40
mssql-jdbc_auth-8.4.1.x64.pom 2020-08-27 19:42 1297
mssql-jdbc_auth-8.4.1.x64.pom.asc 2020-08-27 19:42 499
mssql-jdbc_auth-8.4.1.x64.pom.asc.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.pom.asc.sha1 2020-08-27 19:42 40
mssql-jdbc_auth-8.4.1.x64.pom.md5 2020-08-27 19:42 32
mssql-jdbc_auth-8.4.1.x64.pom.sha1 2020-08-27 19:42 40
https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc_auth/8.4.1.x64/mssql-jdbc_auth-8.4.1.x64.pdb
-> 404
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
dll missing in JDBC - java - Stack Overflow
Download the JDBC file and extract to your preferred location; open the auth folder matching your OS x64 or x86; copy sqljdbc_auth.dll file ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am attaching a .pdb file for you to be able to debug with 8.4.1 version of the driver. Please let me know how it goes. mssql-jdbc_auth-8.4.1.x64.zip
@ulvii TL;DR looks like one of
ADAL*
function insni_fedauth.cpp
(inside of functionSNISecADALGetAccessToken
) returns success and expectscbToken
(token length for https://github.com/microsoft/mssql-jdbc/blob/d1876fe28cb035a84661a5dc4f4c2e33fc1d1cd6/src/main/java/com/microsoft/sqlserver/jdbc/AuthenticationJNI.java#L11) to be not zero but it is zero so code throwswassert
. Another option - function which callsSNISecADALGetAccessToken
does also check: ifSNISecADALGetAccessToken
returns error butcbToken
is not zero then it throwswassert
thank you for PDB!