MXS-1957 Add MariaDBBackendAuth alias

This commit is contained in:
Marko
2019-05-07 22:12:16 +03:00
parent 476dc80bc9
commit 9810c5fa69
5 changed files with 10 additions and 9 deletions

View File

@ -65,9 +65,10 @@ struct NAME_MAPPING
static NAME_MAPPING name_mappings[] = static NAME_MAPPING name_mappings[] =
{ {
{MODULE_MONITOR, "mysqlmon", "mariadbmon", false}, {MODULE_MONITOR, "mysqlmon", "mariadbmon", false},
{MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false}, {MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false},
{MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false} {MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false},
{MODULE_AUTHENTICATOR, "mysqlbackendauth", "mariadbbackendauth", false}
}; };
static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]); static const size_t N_NAME_MAPPINGS = sizeof(name_mappings) / sizeof(name_mappings[0]);

View File

@ -6,7 +6,7 @@ add_subdirectory(GSSAPI)
add_subdirectory(HTTPAuth) add_subdirectory(HTTPAuth)
add_subdirectory(MaxAdminAuth) add_subdirectory(MaxAdminAuth)
add_subdirectory(MySQLAuth) add_subdirectory(MySQLAuth)
add_subdirectory(MySQLBackendAuth) add_subdirectory(MariaDBBackendAuth)
add_subdirectory(NullAuthAllow) add_subdirectory(NullAuthAllow)
add_subdirectory(NullAuthDeny) add_subdirectory(NullAuthDeny)
add_subdirectory(PAM) add_subdirectory(PAM)

View File

@ -0,0 +1,4 @@
add_library(mariadbbackendauth SHARED mysql_backend_auth.cc)
target_link_libraries(mariadbbackendauth maxscale-common mysqlcommon)
set_target_properties(mariadbbackendauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
install_module(mariadbbackendauth core)

View File

@ -22,7 +22,7 @@
* server. * server.
*/ */
#define MXS_MODULE_NAME "MySQLBackendAuth" #define MXS_MODULE_NAME "MariaDBBackendAuth"
#include <maxscale/alloc.h> #include <maxscale/alloc.h>
#include <maxscale/authenticator.hh> #include <maxscale/authenticator.hh>

View File

@ -1,4 +0,0 @@
add_library(mysqlbackendauth SHARED mysql_backend_auth.cc)
target_link_libraries(mysqlbackendauth maxscale-common mysqlcommon)
set_target_properties(mysqlbackendauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
install_module(mysqlbackendauth core)