From e2b9e95e6394b8ce66d573f2bb698db832764d0a Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Mon, 30 Apr 2018 14:13:41 +0300 Subject: [PATCH 1/2] add libedit-dev build dependency to DEB-builds --- BUILD/install_build_deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index 1cbc55e46..b4a4716eb 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -15,7 +15,8 @@ then sudo apt-get install -y --force-yes dpkg-dev git gcc g++ ncurses-dev bison \ build-essential libssl-dev libaio-dev perl make libtool libcurl4-openssl-dev \ libpcre3-dev flex tcl libeditline-dev uuid-dev liblzma-dev libsqlite3-dev \ - sqlite3 liblua5.1 liblua5.1-dev wget zlib1g-dev pkg-config + sqlite3 liblua5.1 liblua5.1-dev wget zlib1g-dev pkg-config \ + libedit-dev else ## RPM-based distro From bcbb823ab37931b75f30fb5b34135ec01f34bb96 Mon Sep 17 00:00:00 2001 From: Esa Korhonen Date: Mon, 7 May 2018 16:37:43 +0300 Subject: [PATCH 2/2] MXS-1772 Document netmask limitations Only mentioned in the MySQL authenticator section, although the limitation is likely in all authenticators. --- Documentation/About/Limitations.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/About/Limitations.md b/Documentation/About/Limitations.md index 166721a86..6006c88c4 100644 --- a/Documentation/About/Limitations.md +++ b/Documentation/About/Limitations.md @@ -88,14 +88,19 @@ different backend authentication module is not supported. ### Limitations in the MySQL authenticator (MySQLAuth) -* MySQL old style passwords are not supported. MySQL versions 4.1 and newer use a -new authentication protocol which does not support pre-4.1 style passwords. +* MySQL old style passwords are not supported. MySQL versions 4.1 and newer use +a new authentication protocol which does not support pre-4.1 style passwords. * When users have different passwords based on the host from which they connect MariaDB MaxScale is unable to determine which password it should use to connect to the backend database. This results in failed connections and unusable usernames in MariaDB MaxScale. +* Only a subset of netmasks are supported for the *Host*-column in the +*mysql.user*-table (and related tables). Specifically, if the *Host* is of the +form `base_ip/netmask`, then the netmask must only contain the numbers 0 or 255. +For example, a netmask of 255.255.255.0 is fine while 255.255.255.192 is not. + ## Filter limitations Filters are not guaranteed to receive complete MySQL packets if they are used