MXS-1957 Add MariaDBAuth alias
This commit is contained in:
@ -68,6 +68,7 @@ static NAME_MAPPING name_mappings[] =
|
||||
{MODULE_MONITOR, "mysqlmon", "mariadbmon", false},
|
||||
{MODULE_PROTOCOL, "mysqlclient", "mariadbclient", false},
|
||||
{MODULE_PROTOCOL, "mysqlbackend", "mariadbbackend", false},
|
||||
{MODULE_AUTHENTICATOR, "mysqlauth", "mariadbauth", false},
|
||||
{MODULE_AUTHENTICATOR, "mysqlbackendauth", "mariadbbackendauth", false}
|
||||
};
|
||||
|
||||
|
@ -5,7 +5,7 @@ endif()
|
||||
add_subdirectory(GSSAPI)
|
||||
add_subdirectory(HTTPAuth)
|
||||
add_subdirectory(MaxAdminAuth)
|
||||
add_subdirectory(MySQLAuth)
|
||||
add_subdirectory(MariaDBAuth)
|
||||
add_subdirectory(MariaDBBackendAuth)
|
||||
add_subdirectory(NullAuthAllow)
|
||||
add_subdirectory(NullAuthDeny)
|
||||
|
8
server/modules/authenticator/MariaDBAuth/CMakeLists.txt
Normal file
8
server/modules/authenticator/MariaDBAuth/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
if(SQLITE_VERSION VERSION_LESS 3.3 AND NOT BUILD_SYSTEM_TESTS)
|
||||
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
|
||||
else()
|
||||
add_library(mariadbauth SHARED mysql_auth.cc dbusers.cc)
|
||||
target_link_libraries(mariadbauth maxscale-common mysqlcommon)
|
||||
set_target_properties(mariadbauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mariadbauth core)
|
||||
endif()
|
@ -12,7 +12,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MXS_MODULE_NAME "MySQLAuth"
|
||||
#define MXS_MODULE_NAME "MariaDBAuth"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
|
@ -1,8 +0,0 @@
|
||||
if(SQLITE_VERSION VERSION_LESS 3.3 AND NOT BUILD_SYSTEM_TESTS)
|
||||
message(FATAL_ERROR "SQLite version 3.3 or higher is required")
|
||||
else()
|
||||
add_library(mysqlauth SHARED mysql_auth.cc dbusers.cc)
|
||||
target_link_libraries(mysqlauth maxscale-common mysqlcommon)
|
||||
set_target_properties(mysqlauth PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
install_module(mysqlauth core)
|
||||
endif()
|
@ -1,7 +1,7 @@
|
||||
add_library(mariadbbackend SHARED mysql_backend.cc)
|
||||
# TODO: Refactor mariadbbackend so that COM_CHANGE_USER processing is
|
||||
# transparent to the protocol module. After this change, we don't need to
|
||||
# link against mysqlauth.
|
||||
target_link_libraries(mariadbbackend maxscale-common mysqlcommon mysqlauth)
|
||||
# link against mariadbauth.
|
||||
target_link_libraries(mariadbbackend maxscale-common mysqlcommon mariadbauth)
|
||||
set_target_properties(mariadbbackend PROPERTIES VERSION "2.0.0")
|
||||
install_module(mariadbbackend core)
|
||||
|
Reference in New Issue
Block a user