RE: Compile sasl2 with mysql support

From: Kenny Olano (k dot olano at netonestop dot net)
Date: Thu Mar 18 2004 - 09:38:22 EST

  • Next message: Simon Matter: "RE: Compile sasl2 with mysql support"

    > -----Original Message-----
    > From: Simon Matter [mailto:simon dot matter at ch dot sauter-bc dot com]
    > Sent: Thursday, March 18, 2004 9:31 AM
    > To: Kenny Olano
    > Cc: cyrus-sasl at lists dot andrew dot cmu dot edu
    > Subject: RE: Compile sasl2 with mysql support
    >
    >
    > >
    > >
    > >> -----Original Message-----
    > >> From: owner-cyrus-sasl at lists dot andrew dot cmu dot edu
    > >> [mailto:owner-cyrus-sasl at lists dot andrew dot cmu dot edu]On Behalf Of Simon Matter
    > >> Sent: Thursday, March 18, 2004 1:30 AM
    > >> To: Kenny Olano
    > >> Cc: cyrus-sasl at lists dot andrew dot cmu dot edu
    > >> Subject: Re: Compile sasl2 with mysql support
    > >>
    > >>
    > >> > Hello,
    > >> > I am trying to install sasl2 with mysql support. I was able to find
    > >> > cyrus-sasl-2.1.18.src.rpm. After building the rpms, it didn't
    > >> create the
    > >>
    > >> Where did you find the src rpm? I'm quite sure you found my
    > rpms. If so,
    > >> the mysql stuff is in the cyrus-sasl-sql-2.1.18-1.i386.rpm package. It
    > >> includes support for mysql and postgresql.
    > >>
    > >> Simon
    > >>
    > >> > cyrus-sasl-mysql rpm. What am I doing wrong? Do I have to
    > >> modify the spec
    > >> > file?
    > >> >
    > >> > cyrus-sasl-debuginfo-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-devel-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-gssapi-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-md5-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-ntlm-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-otp-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-plain-2.1.18-1.i386.rpm
    > >> > cyrus-sasl-sql-2.1.18-1.i386.rpm
    > >> >
    > >> >
    > > I get the following error in my messages log file: "SQL engine
    > 'mysql' not
    > > supported"
    >
    > What does 'ldd /usr/lib/sasl2/libsql.so.2.0.18' show you?
    > BTW I'm not using the sql stuff at all so I don't know whether it works.
    > But I got reports from people using it with 2.1.17, so I expect it should
    > work.
    >
    > Simon
    > >
    > > Here is my smtpd.conf file
    > >
    > > pwcheck_method: auxprop
    > > auxprop_plugin: sql
    > > sql_engine: mysql
    > > sql_user: user
    > > sql_passwd: password
    > > sql_hostnames: localhost
    > > sql_database: maildb
    > > sql_statement: SELECT crypt FROM users WHERE id = '%u'
    > > sql_verbose: yes
    > >

              libpq.so.3 => /usr/lib/libpq.so.3 (0x40047000)
            libresolv.so.2 => /lib/libresolv.so.2 (0x4005c000)
            libcrypt.so.1 => /lib/libcrypt.so.1 (0x4006e000)
            libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
            libssl.so.4 => /lib/libssl.so.4 (0x4009b000)
            libcrypto.so.4 => /lib/libcrypto.so.4 (0x400d1000)
            libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x401c2000)
            libnsl.so.1 => /lib/libnsl.so.1 (0x40220000)
            /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
            libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
    (0x40235000)
            libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40248000)
            libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40258000)
            libdl.so.2 => /lib/libdl.so.2 (0x4025b000)
            libz.so.1 => /usr/lib/libz.so.1 (0x4025e000)

    Is it possible to down grade down to cyrus-sasl-2.1.17 with out messing up
    the dependencies or do I have to do a --force or do I have to uninstall all
    the packages that require them and reinstall them?


  • Next message: Simon Matter: "RE: Compile sasl2 with mysql support"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD