SASL + MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all.
I try to get compile SASL2.1.22 with MySQL support, but without success :-(
So SASL have compiled, but without auxprop for previously installed MySQL:

fetch ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz
tar zxf cyrus-sasl-2.1.22.tar.gz ; cd cyrus-sasl-2.1.22/
env CPPFLAGS="-I/usr/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql" \
./configure --prefix=/usr --enable-anon --enable-plain --enable-login --disable-krb4 --disable-otp \
--enable-cram --enable-digest --enable-ntlm --disable-gssapi --without-pam --without-pwcheck --enable-sql \
--with-mysql=/usr/local --without-saslauthd --with-openssl=/usr --with-plugindir=/usr/lib/sasl2 \
--mandir=/usr/share/man --enable-shared --with-configdir=/usr/lib/sasl2
make && make install ; cd .. ; rehash

ls /usr/lib | grep sasl
libsasl2.la		libsasl2.so.2.22	sasl2

ls /usr/lib/sasl2/                                                                                                                                     
libanonymous.la         libcrammd5.so.2.22      liblogin.a              libntlm.la              libsasldb.la            libsql.la
libanonymous.so.2.22    libdigestmd5.a          liblogin.la             libplain.a              libsasldb.so.2.22
libcrammd5.la           libdigestmd5.la         libntlm.a               libplain.la             libsql.a

Where is libsql.so, for example?

ls /usr/local/include/mysql
decimal.h               my_attribute.h          my_list.h               mysql.h                 mysqld_error.h          sslopt-longopts.h
errmsg.h                my_config.h             my_net.h                mysql_com.h             raid.h                  sslopt-vars.h
keycache.h              my_dbug.h               my_no_pthread.h         mysql_embed.h           readline.h              typelib.h
m_ctype.h               my_dir.h                my_pthread.h            mysql_time.h            sql_common.h
m_string.h              my_getopt.h             my_sys.h                mysql_version.h         sql_state.h
my_alloc.h              my_global.h             my_xml.h                mysqld_ername.h         sslopt-case.h

ls /usr/local/lib/mysql
libdbug.a               libmyisammrg.a          libmysqlclient.so       libmysqlclient_r.la     libmystrings.a
libheap.a               libmysqlclient.a        libmysqlclient.so.15    libmysqlclient_r.so     libmysys.a
libmyisam.a             libmysqlclient.la       libmysqlclient_r.a      libmysqlclient_r.so.15  libvio.a

pluginviewer
Installed SASL (server side) mechanisms are:
ANONYMOUS CRAM-MD5 EXTERNAL
List of server plugins follows
Plugin "anonymous" [loaded],    API version: 4
        SASL mechanism: ANONYMOUS, best SSF: 0, supports setpass: no
        security flags: NO_PLAINTEXT
        features: WANT_CLIENT_FIRST
Plugin "crammd5" [loaded],      API version: 4
        SASL mechanism: CRAM-MD5, best SSF: 0, supports setpass: no
        security flags: NO_ANONYMOUS|NO_PLAINTEXT
        features: SERVER_FIRST
Installed auxprop mechanisms are:
sasldb
List of auxprop plugins follows
Plugin "sasldb" ,       API version: 4
        supports store: yes

Installed SASL (client side) mechanisms are:
ANONYMOUS CRAM-MD5 EXTERNAL
List of client plugins follows
Plugin "anonymous" [loaded],    API version: 4
        SASL mechanism: ANONYMOUS, best SSF: 0
        security flags: NO_PLAINTEXT
        features: WANT_CLIENT_FIRST
Plugin "crammd5" [loaded],      API version: 4
        SASL mechanism: CRAM-MD5, best SSF: 0
        security flags: NO_ANONYMOUS|NO_PLAINTEXT
        features: SERVER_FIRST
Plugin "EXTERNAL" [loaded],     API version: 4
        SASL mechanism: EXTERNAL, best SSF: 0
        security flags: NO_ANONYMOUS|NO_PLAINTEXT|NO_DICTIONARY
        features: WANT_CLIENT_FIRST|PROXY_AUTHENTICATION

Why auxprop plugin has no saslsql?

Please help!
Platform is FreeBSD 7.0 i386. SASL is value for me for next Sendmail integration.


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux