Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35843

parsec isn't included in bintars

    XMLWordPrintable

Details

    Description

      Using: tarball mariadb-11.6.2-linux-systemd-x86_64

      Authentication via parsec fails with:

      ERROR 1045 (28000): Plugin parsec could not be loaded: /usr/local/mysql/lib/plugin/parsec.so: cannot open shared object file: No such file or directory
      

      As far as I understand the plugin is built-in so no external shared object should be needed, moreover user creation succeeds.

      MariaDB [(none)]> show plugins;
      +-------------------------------+----------+--------------------+---------+---------+
      | Name                          | Status   | Type               | Library | License |
      +-------------------------------+----------+--------------------+---------+---------+
      | binlog                        | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
      | ..
      | ..
      | parsec                        | ACTIVE   | AUTHENTICATION     | NULL    | GPL     |
      |..
      |..
      | partition                     | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
      +-------------------------------+----------+--------------------+---------+---------+
      72 rows in set (0,002 sec)
       
      MariaDB [(none)]> grant all privileges on *.* to 'pino'@'%' identified via parsec using password('123');
      Query OK, 0 rows affected (0,003 sec)
       
      MariaDB [(none)]> SELECT User, Host, plugin  FROM mysql.user WHERE user='pino';
      +------+------+--------+
      | User | Host | plugin |
      +------+------+--------+
      | pino | %    | parsec |
      +------+------+--------+
      1 row in set (0,002 sec)
      MariaDB [(none)]> Bye
       
      # bin/mariadb -upino -p123 -h127.0.0.1 -P11111
      ERROR 1045 (28000): Plugin parsec could not be loaded: /usr/local/mysql/lib/plugin/parsec.so: cannot open shared object file: No such file or directory
      

      Also, documentation at here

      Installing
      install soname 'auth_parsec';

      But:

      MariaDB [(none)]> install soname 'auth_parsec'; 
      ERROR 1126 (HY000): Can't open shared library '/run/media/claudio/FedoraData/myharem/instances/11111/lib/plugin/auth_parsec.so' (errno: 2, cannot open shared object file: No such file or directory)
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              claudio.nanni Claudio Nanni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.