Skip to content

Commit d3c6589

Browse files
committed
WL#14664: Allow SSPI Kerberos library usage with c-ext
This patch removes the error message when "authentication_kerberos_client" authentication was attempted on Windows OS for the c-ext.
1 parent 2c0e57e commit d3c6589

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/mysql/connector/connection_cext.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,6 @@ def in_transaction(self):
175175
return self._server_status & ServerFlag.STATUS_IN_TRANS
176176

177177
def _open_connection(self):
178-
if (
179-
self._auth_plugin == "authentication_kerberos_client"
180-
and os.name == "nt"
181-
):
182-
raise errors.ProgrammingError(
183-
"The Kerberos authentication is not available on Windows"
184-
)
185178
charset_name = CharacterSet.get_info(self._charset_id)[0]
186179
self._cmysql = _mysql_connector.MySQL( # pylint: disable=E1101,I1101
187180
buffered=self._buffered,

0 commit comments

Comments
 (0)