There are no testing utilities, but you can use the sample applications sample-server
and sample-client
to test authentication without any other application (example Postfix) interfering with the test. If you built Cyrus SASL from source, you can find them in the sample
subdirectory of the Cyrus SASL sources. Fedora-based Linux distributions include the samples as part of the cyrus-sasl-devel
package, so if available, you should install that package. Debian-based Linux distributions do not have a similar package, so you will now have to build them yourself.
To build just the samples, locate, download, and extract the release of Cyrus SASL that matches your installation from your package manager. To locate and install the source, follow the instructions as described in the Cyrus SASL installation section. Then instead of issuing the make install
command, issue these commands:
# cd sample
# make
We will use these samples to test the Cyrus SASL configuration...