Vicențiu Ciorbaru
cb248f8806
Merge branch '5.5' into 10.1
2019-05-11 22:19:05 +03:00
Vicențiu Ciorbaru
5543b75550
Update FSF Address
...
* Update wrong zip-code
2019-05-11 21:29:06 +03:00
Vicențiu Ciorbaru
c0ac0b8860
Update FSF address
2019-05-11 19:25:02 +03:00
Vicențiu Ciorbaru
f177f125d4
Merge branch '5.5' into 10.1
2019-05-11 19:15:57 +03:00
Michal Schorm
17b4f99928
Update FSF address
...
This commit is based on the work of Michal Schorm, rebased on the
earliest MariaDB version.
Th command line used to generate this diff was:
find ./ -type f \
-exec sed -i -e 's/Foundation, Inc., 59 Temple Place, Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \
-exec sed -i -e 's/Foundation, Inc. 59 Temple Place.* Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \
-exec sed -i -e 's/MA.*.....-1307.*USA/MA 02110-1335 USA/g' {} \; \
-exec sed -i -e 's/Foundation, Inc., 59 Temple/Foundation, Inc., 51 Franklin/g' {} \; \
-exec sed -i -e 's/Place, Suite 330, Boston, MA.*02111-1307.*USA/Street, Fifth Floor, Boston, MA 02110-1335 USA/g' {} \; \
-exec sed -i -e 's/MA.*.....-1307/MA 02110-1335/g' {} \;
2019-05-10 20:52:00 +03:00
Sergei Golubchik
9ca3571cb8
MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching
...
add a new option --pam-windbind-workaround for a pam plugin to
work around pam_winbind unconditional username lowercasing
2019-04-24 16:06:54 +02:00
Sergei Golubchik
7b527e6334
cmake: fix krb5 detection on SUSE
...
`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!!!
2019-04-02 18:22:37 +02:00
Sergei Golubchik
d8084116b5
MDEV-7066 No Source RPMs ... (and so no "yum-builddep MariaDB-server" either)
...
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.
2019-03-27 22:51:37 +01:00
Marko Mäkelä
8c493a910f
Merge 10.0 into 10.1
2019-03-21 21:06:01 +02:00
Marko Mäkelä
5d454181a8
MDEV-6262 follow-up: Ensure NUL termination on strncpy()
2019-03-21 10:29:59 +02:00
Sergei Golubchik
2de0b57dd1
Don't build aws_key_management plugin by default
2019-02-19 12:39:40 +01:00
Oleksandr Byelkin
a3a4ea9355
postmerge rollbacks and fixes
2019-01-31 19:28:38 +01:00
Vladislav Vaintroub
5a5bc21a65
auth_gssapi : Fix string formatting in my_printf_error()
2018-10-16 09:19:03 +01:00
Vladislav Vaintroub
952f394f8e
remove MYF flags from plugin
2018-10-16 09:17:03 +01:00
Vladislav Vaintroub
ea9c407e0b
Fix regular expression in replace_regex in auth_gssapi test.
2018-10-15 23:07:30 +01:00
Vladislav Vaintroub
64b48aebe4
make auth_gssapi_basic work, also in domain environment.
2018-10-15 22:57:15 +01:00
Vladislav Vaintroub
311126758e
MDEV-17462 Heap corruption with auth_gssapi on Windows.
...
use FreeContextAttributes() on individual members of
SecPkgContext_NativeNames, not on the struct itself.
2018-10-15 22:11:14 +01:00
Alexey Botchkov
c933970974
MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha.
...
Plugin version name fixed.
2018-08-30 15:57:22 +04:00
Alexey Botchkov
2ad51a0bd8
MDEV-17095 pam_user_map module throws syntax error if group name contains backslash.
...
Let '\\' and '/' symbols to be part of a group name.
2018-08-30 14:51:15 +04:00
Sergei Golubchik
16c14d7ba0
mark ed25519 stable
2018-06-28 15:46:57 +02:00
Alexey Botchkov
dab4abbb09
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:23:35 +04:00
Alexey Botchkov
3cbfe8cc47
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:17:06 +04:00
Alexey Botchkov
318097bb8f
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:00:54 +04:00
Alexey Botchkov
0b74a1fa64
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
plugin only enabled for Linux, as it fails building on BSD/MacOSX.
disks.test fixed.
2018-03-24 00:37:38 +04:00
Alexey Botchkov
3b644ac1f7
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
disks.test moved to plugin's directory.
2018-03-24 00:30:28 +04:00
Sergei Golubchik
b6e2973ee6
MDEV-14533 Provide information_schema tables using which hardware information can be obtained.
...
update README, use maria_declare_plugin(), specify the author.
2018-03-23 00:55:19 +01:00
Alexey Botchkov
f5b2761c70
MDEV-10871 Add logging capability to pam_user_map.c.
...
The 'debug' option implemented for the pam_user_map.so.
2018-03-23 00:18:21 +04:00
Alexey Botchkov
9652038453
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
DISKS plugin implementation added to the tree.
2018-03-21 12:33:38 +04:00
Alexey Botchkov
6ceb49a941
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
thread_pool_server_audit.test fixed.
plugin version updated.
2017-11-03 22:43:51 +04:00
Alexey Botchkov
1394ea6965
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
thread_pool_server_audit.test fixed.
plugin version updated.
2017-11-03 22:40:44 +04:00
Alexey Botchkov
c64a697bba
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
thread_pool_server_audit.test fixed.
plugin version updated.
2017-11-03 22:36:58 +04:00
Alexey Botchkov
3a3f1328fe
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
Escape special characters (like \r \n \t) instead of
replacing them with spaces.
2017-11-03 17:15:55 +04:00
Alexey Botchkov
04daf30e9b
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
Escape special characters (like \r \n \t) instead of
replacing them with spaces.
2017-11-03 17:10:36 +04:00
Alexey Botchkov
2e964b233b
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
Escape special characters (like \r \n \t) instead of
replacing them with spaces.
2017-11-03 17:05:41 +04:00
Sergei Golubchik
9d2e2d7533
Merge branch '10.0' into 10.1
2017-10-22 13:03:41 +02:00
Sergei Golubchik
da4503e956
Merge branch '5.5' into 10.0
2017-10-18 15:14:39 +02:00
Sergei Golubchik
d76f5774fe
MDEV-13459 Warnings, when compiling with gcc-7.x
...
mostly caused by -Wimplicit-fallthrough
2017-10-17 07:37:39 +02:00
Alexey Botchkov
99fbf3eb59
MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;
...
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.
2017-09-19 14:01:12 +04:00
Alexey Botchkov
389f7cdf3c
MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;
...
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.
2017-09-19 13:43:36 +04:00
Alexey Botchkov
a47d16907d
MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;
...
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.
2017-09-19 13:08:24 +04:00
Sergei Golubchik
7e56e9ea77
MDEV-13650 Backport fix for MDEV-13060 (crash when both AWS plugin and 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
2017-09-18 10:40:26 +02:00
Marko Mäkelä
cd694d76ce
Merge 10.0 into 10.1
2017-09-06 15:32:56 +03:00
Marko Mäkelä
7f99381288
Fix compiler warnings
...
metadata_lock_info_duration[]: Remove the unused variable.
Add some comments /* fall through */ to silence -Wimplicit-fallthrough
2017-09-01 15:40:49 +03:00
Jan Lindström
01209de763
Merge remote-tracking branch 'origin/bb-10.1-jplindst' into 10.1
2017-08-29 20:30:18 +03:00
Vladislav Vaintroub
dda40b9304
AWS Key Management : Introduce "mock" variable, available in debug build.
...
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.
2017-08-28 18:28:07 +00:00
Sachin Setiya
5077cc0b1a
Fix Merge Error
2017-08-23 16:49:42 +05:30
Sergei Golubchik
8e8d42ddf0
Merge branch '10.0' into 10.1
2017-08-08 10:18:43 +02:00
Vicențiu Ciorbaru
786ad0a158
Merge remote-tracking branch 'origin/5.5' into 10.0
2017-07-25 00:41:54 +03:00
Daniel Black
172e3a1bc6
MDEV-12646: Apply fixes found by Coverity static analysis tool
...
Inspired by: https://github.com/devexp-db/mariadb/blob/f27/mariadb-covscan-stroverflow.patch
2017-07-18 15:53:31 +02:00
Sergei Golubchik
152aec019d
MDEV-11650 plugins.cracklib_password_check, plugins.two_password_validations fail in buildbot with valgrind (Conditional jump or move depends on uninitialised value)
2017-05-24 11:59:04 +02:00