<br><font size=2 face="sans-serif">I am trying to use Cyrus SASL to implement
pass-through authentication from an OpenLDAP directory to Active Directory.
I am using Cyrus SASL 2.1.25. When compiling I get an error
trying to compile berkeleydb_open. I am using BDB 5.3.15. This
looks like a bug. The configure options and compiler output are listed
below. Since I'm just doing pass-though using plaintext is there
a way to disable compiling sasldb in order to work around this? If
not, what is the latest release of BDB supported with 2.1.25. Any
help that can be offered would be greatly appreciated.</font>
<br>
<br><font size=2 face="sans-serif">./configure --prefix=/appl/cyrus_sasl
--with-plugindir=/appl/cyrus_sasl/lib/sasl2 --with-configdir=/appl/cyrus_sasl/lib/sasl2
--disable-checkapop --disable-cram --disable-digest --disable-scram --disable-otp
--disable-gssapi --disable-anon</font>
<br>
<br><font size=2 face="sans-serif">gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../include -I/usr/include -I/appl/BerkeleyDB/include -I/appl/nspr/include/nspr
-I/appl/moznss/include/nss -I/appl/cyrus_sasl/include -I/appl/unixODBC/include
-DF00=42 -Wall -W -O -g -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo
-c db_berkeley.c -fPIC -DPIC -o db_berkeley.lo</font>
<br><font size=2 face="sans-serif">db_berkeley.c: In function 'berkeleydb_open':</font>
<br><font size=2 face="sans-serif">db_berkeley.c:82: warning: passing argument
3 of 'utils->getcallback' from incompatible pointer type</font>
<br><font size=2 face="sans-serif">db_berkeley.c:107: warning: passing
argument 2 of '(*mbdb)->open' from incompatible pointer type</font>
<br><font size=2 face="sans-serif">db_berkeley.c:107: warning: passing
argument 4 of '(*mbdb)->open' makes pointer from integer without a cast</font>
<br><font size=2 face="sans-serif">db_berkeley.c:107: error: too few arguments
to function '(*mbdb)->open'</font>
<br><font size=2 face="sans-serif">db_berkeley.c: In function '_sasl_check_db':</font>
<br><font size=2 face="sans-serif">db_berkeley.c:371: warning: passing
argument 3 of 'utils->getcallback' from incompatible pointer type</font>
<br><font size=2 face="sans-serif">make[2]: *** [db_berkeley.lo] Error
1</font>
<br><font size=2 face="sans-serif">make[2]: Leaving directory `/appl/src/cyrus-sasl-2.1.25/sasldb'</font>
<br><font size=2 face="sans-serif">make[1]: *** [all-recursive] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/appl/src/cyrus-sasl-2.1.25'</font>
<br><font size=2 face="sans-serif">make: *** [all] Error 2</font>
<br>
<br><font size=2 face="sans-serif">-Jon C. Kidder<br>
American Electric Power<br>
Middleware Services<br>
614-716-4970</font>