summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/t/pam.test
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-5215 prerequisite: remove test and test_* database hacks in the test suiteOleksandr Byelkin2022-11-011-0/+2
|
* Merge branch '10.4' into 10.5Oleksandr Byelkin2022-02-011-1/+46
|\
| * MDEV-27341 Use SET PASSWORD to change PAM serviceSergei Golubchik2022-01-171-1/+16
| | | | | | | | | | | | | | | | | | | | SET PASSWORD = PASSWORD('foo') would fail for pam plugin with ERROR HY000: SET PASSWORD is ignored for users authenticating via pam plugin but SET PASSWORD = 'foo' would not. Now it will.
| * MDEV-26339 Account specifics to be handled before proxyingSergei Golubchik2022-01-171-0/+30
| |
* | Update plugins.pam_* tests to no longer provide --plugin-dir to mysqltestVicențiu Ciorbaru2020-04-181-3/+3
|/ | | | | | Post change of 8447edb7473c5532ecb2544ce6d00d5a868f5bd5, --plugin-dir is set in the default my.cnf file under [client]. The value is automatically detected during mtr startup.
* MDEV-19878 pam v2: pam password authentication doesn't work at allSergei Golubchik2019-07-021-1/+19
| | | | | | | | | | | | | | | * wait() for the child process to die, let it rest in peace * fix incorrect parentheses * if there was no password on the command line or in .cnf file, pkt will be "", and we need to request the user to enter the password * make sure that auth->salt is always allocated on a permanent memroot. when called from set_user_salt_if_needed(), user_copy and its auth_str are on the thd memroot, but auth_copy->salt is then copied to auth->salt * adjust service files so that systemd wouldn't interfere with our setuid executables also * print the pam error message in debug mode
* Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-4/+21
|\
| * MDEV-18686 Add option to PAM authentication plugin to allow case insensitive ↵Sergei Golubchik2019-04-241-4/+20
| | | | | | | | | | | | | | username matching add a new option --pam-windbind-workaround for a pam plugin to work around pam_winbind unconditional username lowercasing
* | MDEV-15471 Isolate/sandbox PAM modules, so that they can't crash the serverAlexey Botchkov2018-07-041-1/+1
| | | | | | | | tests fixed.
* | MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server.Alexey Botchkov2018-07-031-0/+12
|/ | | | | | New version of PAM plugin (v2.0) added along with the old v1.0. There the pam module is isolated in the auth_pam_tool application so cannot crash the server.
* MDEV-7329 plugins.pam_cleartext fails sporadically in buildbotSergei Golubchik2016-08-031-1/+2
| | | | | wait until the failed connection thread completely dies before uninstalling pam plugin
* MDEV-4636 use mysql_cleartext_plugin from auth_pamSergei Golubchik2013-06-111-12/+1
| | | | add a new command-line option --pam-use-cleartext-plugin
* 5.3 mergeSergei Golubchik2012-10-181-1/+1
|\
| * a simple pam user mapper moduleSergei Golubchik2012-09-251-1/+1
| |
* | overlay support for mysql-test-run and mysqltestSergei Golubchik2012-02-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
* | make pam plugin to build in 5.5.Sergei Golubchik2012-02-031-1/+3
|/ | | | fix pam.tets for 5.5
* PAM plugin with testSergei Golubchik2011-12-021-0/+46