Summary: | Heimdal cracklib support broken | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henrik Sankala <hensan> |
Component: | [OLD] Server | Assignee: | Gentoo Kerberos Maintainers <kerberos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mivz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Henrik Sankala
2005-12-26 03:49:44 UTC
This is with Heimdal 0.7.1-r1 btw, but from a quick look at the 0.6.5 ebuild/sources it looks like the problem exists with that version as well. [password_quality] check_library = /usr/lib/sample_passwd_check.so check_function = FascistCheck Does work for me whit heimdal-7.1-r1 Symbols are the same here. Mabey dynamic linked or something? With check_function = FascistCheck the error in the log go's away, but does not do anything at al. Sorry about that. If you define the compressed cracklib dictionary it works: #define DICTPATH "/usr/lib/cracklib_dict" but you have to add a cracklib dependancy to the ebuild. What I also want to add is that check-cracklib.pl is not installed when merging heimdal 7.1-r1. So that way also does not work. This also is the case whit 0.7.2. Temp. solution: ebuild /usr/portage/app-crypt/heimdal/heimdal-0.7.2.ebuild unpack edit /usr/tmp/portage/heimdal-0.7.2/work/heimdal-0.7.2/lib/kadm5/sample_passwd_check.c first line: #define DICTPATH "/usr/lib/cracklib_dict" ebuild /usr/portage/app-crypt/heimdal/heimdal-0.7.2.ebuild merge In the ebuild for heimdal-0.7.2-r1, can you put this in (instead of the original command to compile the password checker), and see if it all works for you? If it does I'll add it in. Oh yeah, please report here, but also send me a quick email or ping on irc. # Compile the added password checker: cd ${S}/lib/kadm5 tc-export CC ${CC} -shared -fPIC ${CFLAGS} \ -DDICTPATH=\"/usr/$(get_libdir)/cracklib_dict\" \ -I${S}/include \ -o sample_passwd_check.so sample_passwd_check.c -lcrack || \ die "Failed to compile password checker" (In reply to comment #5) > In the ebuild for heimdal-0.7.2-r1, can you put this in (instead of the > original command to compile the password checker), and see if it all works for > you? Yep! It works fine. Tank you. fixed in 0.7.2-r2 |