summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-18686 Add option to PAM authentication plugin to allow case insensitive ↵Sergei Golubchik2019-04-241-1/+9
| | | | | | | username matching add a new option --pam-windbind-workaround for a pam plugin to work around pam_winbind unconditional username lowercasing
* cmake: fix krb5 detection on SUSESergei Golubchik2019-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | `zypper install krb5-devel` installs executables outside of $PATH. It also installs /etc/profile.d/krb5.sh that is sourced by a new shell to add the new location to the $PATH. But this doesn't affect the current shell. Now decent Linux distros remind the user to run `. /etc/profile` to reload paths in such a case. SUSE doesn't and for a good reason - it doesn't work there. Because SUSE sets PROFILEREAD=true in the environment and /etc/profile does not do anything. By this point, one should not really expect `unset PROFILEREAD` to help, and it does not - PROFILEREAD is readonly, and cannot be unset. Apparently SUSE really *really* wants you to re-login between installing MariaDB build dependencies and actually running the rpmbuild. Which we cannot do it buildbot. And it would look very user-un-friendly in the Build Instructions section of the manual. So, we work around it - by adding SUSE krb5 path to the search list. THIS IS SUSEEEEEE!!!
* MDEV-7066 No Source RPMs ... (and so no "yum-builddep MariaDB-server" either)Sergei Golubchik2019-03-271-0/+1
| | | | | | | | | | | | | | special cases: * change systemd detection to use CHECK_LIBRARY_EXISTS at least once, to have it detected by build_depends.cmake * similarly, use find_library for pam * unixODBC is weird, libodbc.so is in the unixODBC package, not in the unixODBC-devel, where normally all .so files belong. Packaging bug? As a workaround, use find_file(sql.h) instead of find_path(sql.h) to make sure that /usr/include/sql.h (not /usr/include) is cached by cmake, and later build_depends.cmake will select unixODBC-devel, as a package owning /usr/include/sql.h file.
* Merge 10.0 into 10.1Marko Mäkelä2019-03-212-8/+9
|\
| * MDEV-6262 follow-up: Ensure NUL termination on strncpy()Marko Mäkelä2019-03-212-8/+9
| |
| * MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.Alexey Botchkov2018-05-101-4/+25
| | | | | | | | QUERY_DML_NO_SELECT flag added.
| * MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-1/+1
| | | | | | | | | | | | | | present. thread_pool_server_audit.test fixed. plugin version updated.
| * MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-18/+21
| | | | | | | | | | | | | | present. Escape special characters (like \r \n \t) instead of replacing them with spaces.
* | Don't build aws_key_management plugin by defaultSergei Golubchik2019-02-191-0/+6
| |
* | postmerge rollbacks and fixesOleksandr Byelkin2019-01-311-0/+2
| |
* | auth_gssapi : Fix string formatting in my_printf_error()Vladislav Vaintroub2018-10-161-1/+1
| |
* | remove MYF flags from pluginVladislav Vaintroub2018-10-161-2/+2
| |
* | Fix regular expression in replace_regex in auth_gssapi test.Vladislav Vaintroub2018-10-151-1/+1
| |
* | make auth_gssapi_basic work, also in domain environment.Vladislav Vaintroub2018-10-153-1/+4
| |
* | MDEV-17462 Heap corruption with auth_gssapi on Windows.Vladislav Vaintroub2018-10-151-1/+6
| | | | | | | | | | use FreeContextAttributes() on individual members of SecPkgContext_NativeNames, not on the struct itself.
* | MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha.Alexey Botchkov2018-08-301-1/+1
| | | | | | | | Plugin version name fixed.
* | MDEV-17095 pam_user_map module throws syntax error if group name contains ↵Alexey Botchkov2018-08-301-2/+4
| | | | | | | | | | | | backslash. Let '\\' and '/' symbols to be part of a group name.
* | mark ed25519 stableSergei Golubchik2018-06-281-1/+1
| |
* | MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.Alexey Botchkov2018-05-101-4/+25
| | | | | | | | QUERY_DML_NO_SELECT flag added.
* | MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-243-12/+1
| | | | | | | | | | | | | | information can be obtained. plugin only enabled for Linux, as it fails building on BSD/MacOSX. disks.test fixed.
* | MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-244-0/+36
| | | | | | | | | | | | information can be obtained. disks.test moved to plugin's directory.
* | MDEV-14533 Provide information_schema tables using which hardware ↵Sergei Golubchik2018-03-233-26/+12
| | | | | | | | | | | | information can be obtained. update README, use maria_declare_plugin(), specify the author.
* | MDEV-10871 Add logging capability to pam_user_map.c.Alexey Botchkov2018-03-231-3/+81
| | | | | | | | The 'debug' option implemented for the pam_user_map.so.
* | MDEV-14533 Provide information_schema tables using which hardwareAlexey Botchkov2018-03-213-0/+260
| | | | | | | | | | | | information can be obtained. DISKS plugin implementation added to the tree.
* | MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-1/+1
| | | | | | | | | | | | | | present. thread_pool_server_audit.test fixed. plugin version updated.
* | MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-18/+21
| | | | | | | | | | | | | | present. Escape special characters (like \r \n \t) instead of replacing them with spaces.
* | Merge branch '10.0' into 10.1Sergei Golubchik2017-10-221-0/+6
|\ \ | |/
| * Merge branch '5.5' into 10.0Sergei Golubchik2017-10-181-0/+6
| |\
| | * MDEV-13459 Warnings, when compiling with gcc-7.xSergei Golubchik2017-10-171-0/+6
| | | | | | | | | | | | mostly caused by -Wimplicit-fallthrough
| | * MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.
| * | MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.
* | | MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.
* | | MDEV-13650 Backport fix for MDEV-13060 (crash when both AWS plugin and ↵Sergei Golubchik2017-09-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server_audit are loaded) to 10.1 MDEV-13060 Server Audit Plugin Crashes with AWS KMS plugin don't do auditing if thd is NULL. Collaterals: * copy-paste bugs server_audit.c
* | | Merge 10.0 into 10.1Marko Mäkelä2017-09-061-8/+0
|\ \ \ | |/ /
| * | Fix compiler warningsMarko Mäkelä2017-09-011-6/+0
| | | | | | | | | | | | | | | | | | metadata_lock_info_duration[]: Remove the unused variable. Add some comments /* fall through */ to silence -Wimplicit-fallthrough
* | | Merge remote-tracking branch 'origin/bb-10.1-jplindst' into 10.1Jan Lindström2017-08-291-2/+0
|\ \ \
| * | | Fix Merge ErrorSachin Setiya2017-08-231-2/+0
| | | |
* | | | AWS Key Management : Introduce "mock" variable, available in debug build.Vladislav Vaintroub2017-08-282-39/+164
|/ / / | | | | | | | | | | | | | | | | | | | | | If this variable is set, skip actual AWS calls, and fake/mock both generation and encryption of the keys. The advantage of having a mock mode is that more aws_key_management tests can be enabled on buildbot.
* | | Merge branch '10.0' into 10.1Sergei Golubchik2017-08-081-3/+3
|\ \ \ | |/ /
| * | Merge remote-tracking branch 'origin/5.5' into 10.0Vicențiu Ciorbaru2017-07-251-3/+3
| |\ \ | | |/
| | * MDEV-12646: Apply fixes found by Coverity static analysis toolDaniel Black2017-07-181-3/+3
| | | | | | | | | | | | Inspired by: https://github.com/devexp-db/mariadb/blob/f27/mariadb-covscan-stroverflow.patch
* | | MDEV-11650 plugins.cracklib_password_check, plugins.two_password_validations ↵Sergei Golubchik2017-05-241-0/+1
| | | | | | | | | | | | fail in buildbot with valgrind (Conditional jump or move depends on uninitialised value)
* | | MDEV-10940 plugins.pam still fails in buildbot with valgrindSergei Golubchik2017-05-241-1/+1
| | | | | | | | | | | | fixed valgrind warning in a debug output
* | | Merge 10.0 into 10.1Marko Mäkelä2017-05-233-1/+7
|\ \ \ | |/ /
| * | MDEV-6262 analyze the coverity report on mariadbSergei Golubchik2017-05-193-1/+7
| | | | | | | | | | | | | | | uploaded 10.0, analyzed everything with the Impact=High (and a couple of Medium)
* | | Changing maturity to stableRasmus Johansson2017-05-221-1/+1
| | | | | | | | | Additional tests have been done and conclusion was to update maturity to stable
* | | Backport aws kms build fixes from 10.2Vladislav Vaintroub2017-05-181-6/+29
| | |
* | | Fix AWS key managemennt compile error on LinuxVladislav Vaintroub2017-05-061-1/+1
| | |
* | | Fix compilation of aws_key_management pluginVladislav Vaintroub2017-05-051-4/+5
| | |
* | | MDEV-11660 Make encryption plugins "pure"Vladislav Vaintroub2017-04-2715-145/+178
| | | | | | | | | | | | | | | | | | | | | | | | Do not exporting mysqld entry points directly. This is needed for mariabackup, to load encryption plugins on Windows. All plugins are "pure" by default. To mark plugin "impure" it should use RECOMPILE_FOR_EMBEDDED or STORAGE_ENGINE keyword.