Mario Zagar - 2018-04-03

Hi Rob,,

I have exact same issue like you described.

Also, I have noticed that if I execute same procedure (which goes and fetches data from another linked sql server making this a double hop) using Microsoft JDBC driver procedure executes without a problem - and if I execute the same thing now using JTDS driver, it will also work, but will stop working after ~30 minutes.

I have checked Microsoft JDBC driver code and they also set 'credentials delegation' to true: https://github.com/Microsoft/mssql-jdbc/blob/dev/src/main/java/com/microsoft/sqlserver/jdbc/KerbAuthentication.java#L123

My plan is to modify JTDS code to support sql double hop by settings credentials delegation same way you did, but would be nice if this fix was applied here in official jtds version.

Not really sure if this will happen and who can do it?

Regards,
Mario

 

Last edit: Mario Zagar 2018-04-03