Package: squid Version: 2.7.STABLE9-4.1 $ /usr/lib/squid/ncsa_auth /etc/squid/passwd example_user example_password Segmentation fault
warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/lib/squid/ncsa_auth /etc/squid/passwd'. Program terminated with signal 11, Segmentation fault. #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:165 165 ../sysdeps/x86_64/multiarch/strcmp-sse42.S: No such file or directory. (gdb) (gdb) bt #0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:165 #1 0x00007fd4c6c9 May be similar to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=896127 Specifically: Maurizio Paolini 2013-02-20 06:10:29 EST We experience the same problem, on an i386 architecture. The authentication module is completely unusable in the present state. As an additional comment: passwords encripted with "crypt" (e.g. with htpasswd -d) actually work, with the caveat that passwords longer than 8 characters are *not* truncated and will always fail (even if the first 8 characters are correct). This is wrong in my opinion: $ /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd.conf user1 mypwd OK user2 12345678 OK user2 123456789 ERR Password too long. Only 8 characters accepted. user3 xyz Segmentation fault $ Here user1 and user2 have passwords crypted with "crypt", user3 has an md5-encrypted password (like $apr1$...) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org