Page 1 of 1

MariaDB GetServer list error

Posted: Wed 24 Jun 2020 11:28
by Emil1957
Hello,
we use UniDac 8.2.5 with Rad Studio 10.2.

I have MariaDB installed on my local machine (not MySQL). When trying to get a server list in the connection dialog of the TUniConnection i get an error "NetServerEnum Error 384". The same happens when I call
GetServerList('MySQL', cbxServerList.Items ).

With SQL Server it works, but only the servers are listed on other computers, not the one on localhost.

Re: MariaDB GetServer list error

Posted: Fri 26 Jun 2020 08:19
by Emil1957
Any idea?

Re: MariaDB GetServer list error

Posted: Fri 26 Jun 2020 15:02
by ViktorV
When that method is called for the MySQL provider, it calls the Windows API NetServerEnum function. The 384 error may occur you can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.
Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747