@@ -2304,8 +2304,14 @@ class WL14110(tests.MySQLConnectorTests):
2304
2304
2305
2305
async def asyncSetUp (self ):
2306
2306
self .server = tests .MYSQL_SERVERS [0 ]
2307
- if "com" not in self .server .license :
2308
- self .skipTest ("Plugin not available in this version" )
2307
+ if not "com" in self .server .license :
2308
+ self .skipTest ("Plugin not available in GPL distributions" )
2309
+ if os .name == "nt" and tests .MYSQL_VERSION < (8 , 1 ):
2310
+ # see https://dev.mysql.com/doc/refman/8.4/en/ldap-pluggable-authentication.html#ldap-pluggable-authentication-installation
2311
+ self .skipTest (
2312
+ "On Microsoft Windows, the server plugin for SASL-based LDAP "
2313
+ "authentication is not supported for MySQL Server 8.0.X"
2314
+ )
2309
2315
if not tests .is_host_reachable ("10.172.166.126" ):
2310
2316
# Skip if remote ldap server is not reachable.
2311
2317
self .skipTest ("Remote ldap server is not reachable" )
@@ -2636,8 +2642,14 @@ class WL14263(tests.MySQLConnectorTests):
2636
2642
2637
2643
async def asyncSetUp (self ):
2638
2644
self .server = tests .MYSQL_SERVERS [0 ]
2639
- if "com" in self .server .license :
2640
- self .skipTest ("Plugin not available in this version" )
2645
+ if not "com" in self .server .license :
2646
+ self .skipTest ("Plugin not available in GPL distributions" )
2647
+ if os .name == "nt" and tests .MYSQL_VERSION < (8 , 1 ):
2648
+ # see https://dev.mysql.com/doc/refman/8.4/en/ldap-pluggable-authentication.html#ldap-pluggable-authentication-installation
2649
+ self .skipTest (
2650
+ "On Microsoft Windows, the server plugin for SASL-based LDAP "
2651
+ "authentication is not supported for MySQL Server 8.0.X"
2652
+ )
2641
2653
if not tests .is_host_reachable ("100.103.19.5" ):
2642
2654
# Skip if remote ldap server is not reachable.
2643
2655
self .skipTest ("Remote ldap server is not reachable" )
@@ -2781,8 +2793,14 @@ class WL14213(tests.MySQLConnectorTests):
2781
2793
2782
2794
async def asyncSetUp (self ):
2783
2795
self .server = tests .MYSQL_SERVERS [0 ]
2784
- if "com" not in self .server .license :
2785
- self .skipTest ("Plugin not available in this version" )
2796
+ if not "com" in self .server .license :
2797
+ self .skipTest ("Plugin not available in GPL distributions" )
2798
+ if os .name == "nt" and tests .MYSQL_VERSION < (8 , 1 ):
2799
+ # see https://dev.mysql.com/doc/refman/8.4/en/ldap-pluggable-authentication.html#ldap-pluggable-authentication-installation
2800
+ self .skipTest (
2801
+ "On Microsoft Windows, the server plugin for SASL-based LDAP "
2802
+ "authentication is not supported for MySQL Server 8.0.X"
2803
+ )
2786
2804
if not tests .is_host_reachable ("100.103.18.98" ):
2787
2805
# Skip if remote ldap server is not reachable.
2788
2806
self .skipTest ("Remote ldap server is not reachable" )
0 commit comments