[MDEV-7305] Difficulties building cracklib_password_check Created: 2014-12-11 Updated: 2015-02-18 Resolved: 2015-02-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.1.2 |
| Fix Version/s: | 10.1.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| 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)
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)
Trying to compile the header separately, I get this:
I added the line to crack.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. |
| Comments |
| Comment by Sergei Golubchik [ 2014-12-11 ] |
|
I can fix the second issue, but not the first. Without FascistCheckUser() the only interface that cracklib provides is checking the password for the current user (“current” as in getuid()). This is not very useful. |