Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.11
From version 10.11, the GSSAPI client plugin is statically linked into the server (https://mariadb.com/kb/en/authentication-plugin-gssapi/#installing-on-windows ). The auth_gssapi_client.dll plugin is not produced by the default build .
In the case of master-slave replication, the slave server authenticates with the specified user on the master. Until version 10.11, this replication user could also authenticate with GSSAPI. From version 10.11 this does not work .
Based on debugging the server, I found the following:
find_plugin( const char *name /*="auth_gssapi_client"*/ , int type /*=2*/ )
in source sql-common\client_plugin.c:124 can't find the plugin because the linked list plugin_list[type /*=2*/] only has "mysql_old_password" and "mysql_native_password". It can't find it, so it tries to load auth_gssapi_client.dll. Of course it doesn't exist. Therefore, an authentication error occurs.
The mysql_client_plugin_init() populates the list based on the mysql_client_builtins struct in source sql-common\client_plugin.c:292.
The mysql_client_builtins is statically defined in client.c. This should be expanded with the GSSAPI client .
The workaround is to force the build of the auth_gssapi_client.dll plugin.
is duplicated by
MDEV-33192
mariadb-backup can't use gssapi authentication on Windows
Closed
{"report":{"fcp":1488.4000000953674,"ttfb":317.40000009536743,"pageVisibility":"visible","entityId":128015,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"29561850-387b-4887-859b-1371e384dfde","navigationType":0,"readyForUser":1787.2000002861023,"redirectCount":0,"resourceLoadedEnd":1184.5,"resourceLoadedStart":374.09999990463257,"resourceTiming":[{"duration":86.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":374.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":374.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":460.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":86.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":374.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":374.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":659,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":374.59999990463257,"connectEnd":374.59999990463257,"connectStart":374.59999990463257,"domainLookupEnd":374.59999990463257,"domainLookupStart":374.59999990463257,"fetchStart":374.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":516.0999999046326,"responseEnd":1033.5999999046326,"responseStart":698.0999999046326,"secureConnectionStart":374.59999990463257},{"duration":809.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":374.80000019073486,"connectEnd":374.80000019073486,"connectStart":374.80000019073486,"domainLookupEnd":374.80000019073486,"domainLookupStart":374.80000019073486,"fetchStart":374.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":523.8000001907349,"responseEnd":1184.5,"responseStart":699.5,"secureConnectionStart":374.80000019073486},{"duration":331.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":375,"connectEnd":375,"connectStart":375,"domainLookupEnd":375,"domainLookupStart":375,"fetchStart":375,"redirectEnd":0,"redirectStart":0,"requestStart":525.4000000953674,"responseEnd":706.5999999046326,"responseStart":703.5,"secureConnectionStart":375},{"duration":340,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":375.2000002861023,"connectEnd":375.2000002861023,"connectStart":375.2000002861023,"domainLookupEnd":375.2000002861023,"domainLookupStart":375.2000002861023,"fetchStart":375.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":525.5999999046326,"responseEnd":715.2000002861023,"responseStart":704.2000002861023,"secureConnectionStart":375.2000002861023},{"duration":341.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":375.40000009536743,"connectEnd":375.40000009536743,"connectStart":375.40000009536743,"domainLookupEnd":375.40000009536743,"domainLookupStart":375.40000009536743,"fetchStart":375.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":525.8000001907349,"responseEnd":716.8000001907349,"responseStart":709.2000002861023,"secureConnectionStart":375.40000009536743},{"duration":86.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":375.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":86.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":375.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":375.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":462.5,"responseStart":0,"secureConnectionStart":0},{"duration":342.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":375.80000019073486,"connectEnd":375.80000019073486,"connectStart":375.80000019073486,"domainLookupEnd":375.80000019073486,"domainLookupStart":375.80000019073486,"fetchStart":375.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":526,"responseEnd":718,"responseStart":710.2000002861023,"secureConnectionStart":375.80000019073486},{"duration":333.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":386.90000009536743,"connectEnd":386.90000009536743,"connectStart":386.90000009536743,"domainLookupEnd":386.90000009536743,"domainLookupStart":386.90000009536743,"fetchStart":386.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":526.0999999046326,"responseEnd":720.0999999046326,"responseStart":712,"secureConnectionStart":386.90000009536743},{"duration":790.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":387.80000019073486,"connectEnd":387.80000019073486,"connectStart":387.80000019073486,"domainLookupEnd":387.80000019073486,"domainLookupStart":387.80000019073486,"fetchStart":387.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":662.5,"responseEnd":1178.7000002861023,"responseStart":1167.4000000953674,"secureConnectionStart":387.80000019073486},{"duration":791.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":387.80000019073486,"connectEnd":387.80000019073486,"connectStart":387.80000019073486,"domainLookupEnd":387.80000019073486,"domainLookupStart":387.80000019073486,"fetchStart":387.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":662.8000001907349,"responseEnd":1178.9000000953674,"responseStart":1168.4000000953674,"secureConnectionStart":387.80000019073486},{"duration":191.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1181,"connectEnd":1181,"connectStart":1181,"domainLookupEnd":1181,"domainLookupStart":1181,"fetchStart":1181,"redirectEnd":0,"redirectStart":0,"requestStart":1338.3000001907349,"responseEnd":1372.8000001907349,"responseStart":1372.0999999046326,"secureConnectionStart":1181}],"fetchStart":0,"domainLookupStart":48,"domainLookupEnd":70,"connectStart":70,"connectEnd":99,"secureConnectionStart":81,"requestStart":99,"responseStart":318,"responseEnd":347,"domLoading":339,"domInteractive":1845,"domContentLoadedEventStart":1845,"domContentLoadedEventEnd":1894,"domComplete":3629,"loadEventStart":3629,"loadEventEnd":3629,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1808.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1810.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1810.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":1815.4000000953674},{"name":"activityTabFullyLoaded","time":1905}],"measures":[],"correlationId":"8c8a81d928f1b4","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":130,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}