summaryrefslogtreecommitdiff
path: root/sasl_defs.c
Commit message (Collapse)AuthorAgeFilesLines
* minor typo fixdormando2020-02-151-1/+1
|
* fix bug where sasl will load config the wrong pathZheng Gu2020-02-141-0/+29
| | | | | /etc/sasl2/memcached.conf/memcached.conf instead of /etc/sasl2/memcached.conf
* Use HAVE_SASL_CB_GETCONFPATHPeter (Stig) Edwards2018-03-231-2/+6
| | | | | | 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".
* fix enable-sasl-pwdbGabriel A. Samfira2012-09-181-1/+1
| | | | | | * using --enable-sasl-pwdb will make the compile fail with: sasl_defs.c:148:4: error: initialization from incompatible pointer type [-Werror]
* Better detection of sasl_callback_ftDustin Sallings2012-02-011-1/+1
|
* Specify hostname in sasl_server_new.Dustin Sallings2012-01-271-0/+10
| | | | | | | | 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.
* build fix: Define sasl_callback_ft on older versions of sasl.Dustin Sallings2012-01-271-0/+4
| | | | | | | 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
* Fix to build with cyrus sasl 2.1.25Steve Wills2011-12-031-1/+2
|
* Add support for --enable-sasl-pwdbTrond Norbye2010-03-061-3/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | --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)
* SASL auth support.Dustin Sallings2009-10-251-0/+20