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

Difficulties building cracklib_password_check

    XMLWordPrintable

Details

    Description

      I don't know whether there will be anything we can fix here, but at least we'll need to document limitations.

      So far I couldn't build cracklib_password_check "normally".

      Debian (Wheezy 64bit)

      ii  crack                                 5.0a-9.3                           amd64        Password guessing program
      ii  crack-common                          5.0a-9.3                           all          Password guessing program
      ii  cracklib-runtime                      2.8.19-3                           amd64        runtime support for password checker library cracklib2
      ii  libcrack2                             2.8.19-3                           amd64        pro-active password checker library
      ii  libcrack2-dev                         2.8.19-3                           amd64        pro-active password checker library - development files

      FascistCheckUser in crack - not found

      Apparently (and Otto confirmed that I read it right), this https://launchpad.net/debian/+source/cracklib2/+changelog means that there is no (and will not be) FascistCheckUser for Wheezy. It will only be available for Jessie. So, no plugin on Debian.

      Ubuntu (Trusty 64bit)

      ii  crack                                                 5.0a-9.3                                            amd64        Password guessing program
      ii  crack-common                                          5.0a-9.3                                            all          Password guessing program
      ii  cracklib-runtime                                      2.9.1-1build1                                       amd64        runtime support for password checker library cracklib2
      ii  libcrack2:amd64                                       2.9.1-1build1                                       amd64        pro-active password checker library
      ii  libcrack2-dev                                         2.9.1-1build1                                       amd64        pro-active password checker library - development files
       
      $ ls /usr/include/crack.h
      /usr/include/crack.h

      Looking for include file crack.h - not found

      Trying to compile the header separately, I get this:

      /usr/include/crack.h:32:41: error: unknown type name âsize_tâ
                                               size_t errmsg_len);
                                               ^

      I added the line to crack.h:

      #include <stddef.h>

      After that, the header builds and cmake "finds" it normally, and cracklib_password_check gets built. Obviously it's not the right way to do things, but I don't know what is.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            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.