forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--enable-sasl-pwdb allows memcached to use it's own password file and verify a plaintext password. The file is specified with the environment variable MEMCACHED_SASL_PWDB, and is a plain text file with the following syntax: username:password Please note that you have to specify "mech_list: plain" in your sasl config file for this to work. Ex: echo "mech_list: plain" > memcached.conf echo "myname:mypass" > /tmp/memcached-sasl-db export MEMCACHED_SASL_PWDB=/tmp/memcached-sasl-db export SASL_CONF_PATH=`pwd`/memcached.conf ./memcached -S -v and you should be able to use your favorite memcached client with sasl support to connect to the server. (Please note that not all SASL implementations support SASL_CB_GETCONF, so you may have to install the sasl config (memcached.conf) to the systemwide location)
- Loading branch information
Showing
2 changed files
with
194 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters