The Driver wrongly assumes the SPN to have the same value as the default_realm in krb5.conf.
Which means when connecting with principal [email protected] and connecting to to sqlserver:[email protected] the driver wrongly assumes the SPN is MSSQLSvc/sqlserver:[email protected] instead of the right MSSQLSvc/sqlserver:[email protected] even if DNS are correctly set up and domain to REALMS correctly described in krb5.conf file.
Using the default_realm is evil and should not be used at all.
Since the last driver (jdbc42, version 6.0), it is possible to override the Spn, but older drivers (compatible with Java 7) are not. Would it be possible to implement this feature?
The Driver wrongly assumes the SPN to have the same value as the default_realm in krb5.conf.
Which means when connecting with principal [email protected] and connecting to to sqlserver:[email protected] the driver wrongly assumes the SPN is MSSQLSvc/sqlserver:[email protected] instead of the right MSSQLSvc/sqlserver:[email protected] even if DNS are correctly set up and domain to REALMS correctly described in krb5.conf file.
Using the default_realm is evil and should not be used at all.
Since the last driver (jdbc42, version 6.0), it is possible to override the Spn, but older drivers (compatible with Java 7) are not. Would it be possible to implement this feature?