Regarding issue with auxprop plugin

jan parcel jan.parcel at oracle.com
Thu May 24 21:58:24 EDT 2018


What do config.status and config.log say?

I see this in my config.log:

configure:6536: checking DB library to use
configure:6538: result: berkeley
configure:6627: checking if Berkeley DB handle is kept open in SASLDB


On 5/24/2018 5:14 PM, Om Kale wrote:
> Hi Dilyan/Dan,
> I used ./configure --enable-auth-sasldb as you had mentioned but still 
> cannot get auxprop to work.
> This is the warning I see when its configuring........
> configure: WARNING: Disabling SASL authentication database support
>
> Any idea as to why this could be the case?
>
> Thanks and Regards,
> Om Kale
>
>
> On Tue, May 22, 2018 at 10:35 AM, Om Kale <omkale68 at gmail.com 
> <mailto:omkale68 at gmail.com>> wrote:
>
>     Hi Dilyan/Dan,
>     I tried the ./configure --enable-auth-sasldb, however it does not
>     create the libsasldb.so.3 plugin.
>     Does this have to do with something with the cyrus version. I am
>     using cyrus-sasl-2.1.26 version (oldr one) downloaded from here:
>     https://www.cyrusimap.org/releases/cyrus-sasl-2.1.26.tar.gz
>     <https://www.cyrusimap.org/releases/cyrus-sasl-2.1.26.tar.gz>
>
>     The reason I cannot use the latest version (cyrus-sasl-2.1.27-rc8)
>     is because it has GPLv3 license in two of its config files namely:
>     config/config.sub
>     config/config.guess
>     The above two files were changed from GPLv2 to GPLv3 in all of the
>     cyrus-sasl-2.1.27 versions, not sure why.
>
>     I can use only GPLv2 licensed software.
>
>     Thanks and Regards,
>     Om Kale
>
>
>     On Tue, May 22, 2018 at 6:51 AM, Dan White <dwhite at olp.net
>     <mailto:dwhite at olp.net>> wrote:
>
>         On 05/21/18 17:15 -0700, Om Kale wrote:
>
>             Hi Dilyan,
>             These are the contents of my /usr/lib/sasl2.
>             okale:/usr/local/lib/sasl2$ ls -lrth
>             total 904K
>             -rw-r--r-- 1 root root    4 May  9 18:11 berkeley_db.active
>             -rwxr-xr-x 1 root root  93K May 18 15:12 libcrammd5.so.3.0.0
>             lrwxrwxrwx 1 root root   19 May 18 15:12 libcrammd5.so.3 ->
>             libcrammd5.so.3.0.0
>             lrwxrwxrwx 1 root root   19 May 18 15:12 libcrammd5.so ->
>             libcrammd5.so.3.0.0
>             -rwxr-xr-x 1 root root  672 May 18 15:12 libcrammd5.la
>             <http://libcrammd5.la>
>             -rwxr-xr-x 1 root root 232K May 18 15:12 libdigestmd5.so.3.0.0
>             lrwxrwxrwx 1 root root   21 May 18 15:12 libdigestmd5.so.3 ->
>             libdigestmd5.so.3.0.0
>             lrwxrwxrwx 1 root root   21 May 18 15:12 libdigestmd5.so ->
>             libdigestmd5.so.3.0.0
>             -rwxr-xr-x 1 root root  693 May 18 15:12 libdigestmd5.la
>             <http://libdigestmd5.la>
>             -rwxr-xr-x 1 root root 160K May 18 15:12 libscram.so.3.0.0
>             lrwxrwxrwx 1 root root   17 May 18 15:12 libscram.so.3 ->
>             libscram.so.3.0.0
>             lrwxrwxrwx 1 root root   17 May 18 15:12 libscram.so ->
>             libscram.so.3.0.0
>             -rwxr-xr-x 1 root root  669 May 18 15:12 libscram.la
>             <http://libscram.la>
>             -rwxr-xr-x 1 root root 214K May 18 15:12 libotp.so.3.0.0
>             lrwxrwxrwx 1 root root   15 May 18 15:12 libotp.so.3 ->
>             libotp.so.3.0.0
>             lrwxrwxrwx 1 root root   15 May 18 15:12 libotp.so ->
>             libotp.so.3.0.0
>             -rwxr-xr-x 1 root root  657 May 18 15:12 libotp.la
>             <http://libotp.la>
>             -rwxr-xr-x 1 root root  81K May 18 15:12 libplain.so.3.0.0
>             lrwxrwxrwx 1 root root   17 May 18 15:12 libplain.so.3 ->
>             libplain.so.3.0.0
>             lrwxrwxrwx 1 root root   17 May 18 15:12 libplain.so ->
>             libplain.so.3.0.0
>             -rwxr-xr-x 1 root root  668 May 18 15:12 libplain.la
>             <http://libplain.la>
>             -rwxr-xr-x 1 root root  79K May 18 15:12 libanonymous.so.3.0.0
>             lrwxrwxrwx 1 root root   21 May 18 15:12 libanonymous.so.3 ->
>             libanonymous.so.3.0.0
>             lrwxrwxrwx 1 root root   21 May 18 15:12 libanonymous.so ->
>             libanonymous.so.3.0.0
>             -rwxr-xr-x 1 root root  684 May 18 15:12 libanonymous.la
>             <http://libanonymous.la>
>             -rwxr-xr-x 1 root root   37 May 18 15:59 memcached-sasl-pwdb
>             -rw-r--r-- 1 root root  105 May 18 16:02 memcached.conf
>             okale:/usr/local/lib/sasl2$
>
>
>         libsasldb is missing.
>
>             I had changed the symbolic links as mentioned in the cyrus
>             wiki like this:
>
>             ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
>
>
>             In spite of this, I see the following error in my
>             memcached server log:
>
>             SASL (severity 5): could not find auxprop plugin, was
>             searching for 'sasldb'
>
>             My memcached.conf looks as below:
>             pwcheck_method: auxprop
>             auxprop_plugin: sasldb
>             mech_list: plain
>             log_level: 5
>
>
>         Setting log_level to 7 may give you more verbose output (auth
>         facility
>         syslog).
>
>             sasldb_path: /usr/lib/sasl2
>
>
>             On Sat, May 19, 2018 at 5:47 AM, Dilyan Palauzov
>             <Dilyan.Palauzov at aegee.org <mailto:Dilyan.Palauzov at aegee.org>>
>
>                 On Fri, 2018-05-18 at 14:46 -0700, Om Kale wrote:
>                 > /sasldb$ ls -lrt
>                 > total 176
>                 > -rw-rw-r-- 1 cisco cisco  4750 Jan 27  2012 sasldb.h
>                 > -rw-rw-r-- 1 cisco cisco  2527 Jan 27  2012 NTMakefile
>                 > -rw-rw-r-- 1 cisco cisco  2606 Jan 27  2012 Makefile.am
>                 > -rw-rw-r-- 1 cisco cisco  3882 Jan 27  2012 db_none.c
>                 > -rw-rw-r-- 1 cisco cisco  9451 Jan 27  2012 db_ndbm.c
>                 > -rw-rw-r-- 1 cisco cisco  9366 Jan 27  2012 db_gdbm.c
>                 > -rw-rw-r-- 1 cisco cisco  7235 Jan 27  2012 allockey.c
>                 > -rw-rw-r-- 1 cisco cisco 12505 Oct 12  2012
>                 db_berkeley.c
>                 > -rw-rw-r-- 1 cisco cisco 19194 Nov 6  2012 Makefile.in
>                 > -rw-rw-r-- 1 cisco cisco 14104 May 9 16:17 db_none.o
>                 > -rw-rw-r-- 1 cisco cisco 18533 May 18 14:12 Makefile
>                 > -rw-r--r-- 1 root  root  31336 May 18 14:12 allockey.lo
>                 > -rw-r--r-- 1 root  root  14136 May 18 14:12 db_none.lo
>                 > -rw-r--r-- 1 root  root    600 May 18 14:12
>                 libsasldb.la <http://libsasldb.la>
>
>
>         db_berkeley.lo is missing. I would guess that db_none.o
>         indicates that
>         the berkeley library (or your chosen --with-dblib) cannot be
>         found. Review
>         the output of ./configure or config.log for berkeley related
>         errors.
>
>         There's probably no point in testing your memcached code until
>         your
>         pluginviewer output is correct.
>
>
>

-- 
Jan Parcel, Software Developer
Oracle Systems Server & Cloud Engineering

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20180524/cd6ce524/attachment-0001.html>


More information about the Cyrus-devel mailing list