[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#6340) What should I do it well?
Full_Name: sunjian
Version: 2.4.16
OS: CentOS 4.7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (124.114.169.6)
hello,
I am developing a ldap client program with kerberos V5 authentication under
CentOS 4.7. Heimdal 0.7.2 is used for KDC, and OpenLDAP 2.4.16 for heimdal's
backend. Cyrus SASL 2.1.22, OpenSSL 0.9.8b and BerkeleyDB 4.4.20 are also used.
I compile OpenLDAP as follow,
$env ol_enable_kbind=yes ./configure --prefix=/usr --localstatedir=/var/openldap
--enable-syslog --enable-local --with-cyrus-sasl --with-threads --with-tls
--with-kerberos --enable-crypt --enable-lmpasswd --enable-spasswd
--enable-modules
--enable-hdb --enable-ldap --enable-monitor --enable-dyngroup
--enable-proxycache
$make depend
$make
make[3]: Entering directory
`/home/xk/download/openldap-2.3.24/servers/slapd/back-bdb'
/bin/sh ../../..//libtool --tag=disable-shared --mode=compile cc -g -O2
-I../../../include -I../../../include -I.. -I./.. -c bind.c
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c bind.c -o bind.o
bind.c: In function `bdb_bind':
bind.c:154: error: syntax error before "goto"
bind.c:161: error: syntax error before "goto"
bind.c:176: error: syntax error before "goto"
make[3]: *** [bind.lo] Error 1
make[3]: Leaving directory
`/home/xk/download/openldap-2.3.24/servers/slapd/back-bdb'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/home/xk/download/openldap-2.3.24/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/xk/download/openldap-2.3.24/servers'
make: *** [all-common] Error 1
Some one else told me that compiled with kbind, OpenLDAP should be patched and
autoconf redone. Is that true? How to do in detail?
If no kbind.o support, I have established the whole enviroment successfully. And
the system works well. But I have to develop client program myself, so I need
function ldap_kerberos_bind_s whose symbol included in kbind.o, then error
occurs.
Thanks.