On 06/11/2013 03:32 AM, Armin K. wrote:
> On 06/11/2013 01:42 AM, Baho Utot wrote:
>> BLFS Version 2013-06-05
>>
>> compiled as book with OpenSSL, Berkeley DB and without all the optional
>> dependencies
>> I have changed the configure to this
>>
>> ./configure \
>> --prefix=/usr \
>> --sysconfdir=/etc \
>> --with-dbpath=/var/lib/sasl/sasldb2 \
>> --with-saslauthd=/var/run/saslauthd \
>> --disable-silent-rules \ <-- this from here down has been
>> added and not in book
>> --bindir=/usr/bin \
>> --libdir=/usr/lib \
>> --with-dblib=berkeley \
>> --with-plugindir=/usr/lib/sasl2 \
>> --enable-anon\
>> --enable-login \
>> --enable-plain \
>> --enable-cram \
>> --enable-digest \
>> --disable-krb4 \
>> --disable-otp
>>
>> builds and installs
>>
>> Then to check
>>
>> /usr/sbin/saslauthd -v
>> saslauthd 2.1.16
>> authentication mechanisms: getpwent rimap shadow
>>
>> I need to get sasldb plugin working for cyrus-imapd MTA
>>
>> What am I missing from the configuration or dependency list?
>> Or any hints welcome
>>
> Does /usr/lib/sasl2/libsasldb.so exist?
>
> Did you apply the patch from the book?
>
> Also, all configure switches except --enable-login and
> --disable-silent-rules default to the ones you set.
I have gotten to the bottom of this issue after spending some major
frustrating time on irc with cyrus developers who kept
telling me to use a distro and not build it from source..... ( I know
what a choice! )
I found the following:
To fix saslauthd not listing sasldb as a choice and not starting at boot
with the boot scripts.... one needs to add
--enable-auth-sasld to the configure params.
You can see this choice after unpacking the tarball, cd into the source
directory, cd to the saslauthd directory and ./configure --help there
and you can then find this param.
Adding to the configure parms in the top directory it gets passed down
to the "secondary configure in the saslauthd directory" which in turn
enables saslauthd to use and list sasldb as a choice.
The /etc/sysconfig/saslauthd configuration file lists sasldb and if you
don't pass the --enable-auth-sasld , saslauthd will fail to start.
To correct the book will need to do one of the following:
1. add --enable-auth-sasld to the configuration params at build time
2. remove sasldb as a choice in /etc/sysconfig/saslauthd config file
3. add some verbage to explain this better in the book and why it
fails to start
and needing to add the --enable-auth-sasld and rebuild.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page