<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
On 04/05/2012 17:06, <a class="moz-txt-link-abbreviated" href="mailto:jckidder@aep.com">jckidder@aep.com</a> wrote:
<blockquote
cite="mid:OFEC9615AE.1B5CF1EC-ON852579F4.00586903-852579F4.0058723A@aep.com"
type="cite">
<br>
<font face="sans-serif" size="2">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 face="sans-serif" size="2">./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 face="sans-serif" size="2">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 face="sans-serif" size="2">db_berkeley.c: In function
'berkeleydb_open':</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c:82: warning:
passing argument
3 of 'utils->getcallback' from incompatible pointer type</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c:107: warning:
passing
argument 2 of '(*mbdb)->open' from incompatible pointer type</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c:107: warning:
passing
argument 4 of '(*mbdb)->open' makes pointer from integer
without a cast</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c:107: error: too few
arguments
to function '(*mbdb)->open'</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c: In function
'_sasl_check_db':</font>
<br>
<font face="sans-serif" size="2">db_berkeley.c:371: warning:
passing
argument 3 of 'utils->getcallback' from incompatible pointer
type</font>
<br>
<font face="sans-serif" size="2">make[2]: *** [db_berkeley.lo]
Error
1</font>
<br>
<font face="sans-serif" size="2">make[2]: Leaving directory
`/appl/src/cyrus-sasl-2.1.25/sasldb'</font>
<br>
<font face="sans-serif" size="2">make[1]: *** [all-recursive]
Error 1</font>
<br>
<font face="sans-serif" size="2">make[1]: Leaving directory
`/appl/src/cyrus-sasl-2.1.25'</font>
<br>
<font face="sans-serif" size="2">make: *** [all] Error 2</font>
<br>
<br>
</blockquote>
BDB 5.X is not currently supported. If you (or anybody else) submit
a patch that makes SASLDB work with BDB 5.X, such patch will likely
be integrated into Cyrus SASL. <br>
<font size="2"><font face="sans-serif"><br>
Best Regards,<br>
Alexey<br>
<br>
</font></font>
</body>
</html>