| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
/etc/sasl2/memcached.conf/memcached.conf instead of
/etc/sasl2/memcached.conf
|
|
|
|
|
|
| |
With SASL_CB_GETCONFPATH detection added, HAVE_SASL_CB_GETCONFPATH can be used.
For https://github.com/memcached/memcached/issues/365
On RHEL(5|6|7) the name of the defined constant in sasl.h is SASL_CB_GETCONFPATH and not SASL_CB_GETCONF.
This is used when ./configure is run with "--enable-sasl".
|
|
|
|
|
|
| |
* using --enable-sasl-pwdb will make the compile fail with:
sasl_defs.c:148:4: error: initialization from incompatible pointer type [-Werror]
|
| |
|
|
|
|
|
|
|
|
| |
saslpasswd2 does something a little magical when initializing the
structure that's different from what happens if you just pass NULL.
The magic is too great for the tests as is, so this code does the same
thing saslpasswd2 does to determine the fqdn.
|
|
|
|
|
|
|
| |
They just changed this randomly with no way to really detect it. You
can read about it here:
http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/2011-September/002340.html
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--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)
|
|
|