There is a small application in cyrus-sasl, wich allows to test the sasl authentification. The name of the application is testsaslauthd and can be easy included in the current cyrus-sasl package. At the end of src_compile, include please: # make the testsaslauthd binary cd "${S}/saslauthd" emake -j1 testsaslauthd || die "testsaslauthd compile problem" And at the begining of src_install, include please: # install testsaslauthd binary exeinto /usr/sbin newexe "${S}/saslauthd/testsaslauthd" testsaslauthd || die "installing testsaslauthd problem" Ater that, you can test the sasl authentification with: # testsaslauthd -u username -p password 0: OK "Success." # # testsaslauthd -u username -p wrongpassword 0: NO "authentication failed" # cheers SteveB Reproducible: Always Steps to Reproduce: 1. 2. 3.
The binary is small and useful enough to justify an extra USE flag. Fixed in cyrus-sasl-2.1.19-r1. Please test. Thanks.