Compile problem RedHat 7.1 with-ldapsam

Dirk Kastens Dirk.Kastens at Uni-Osnabrueck.de
Tue Nov 6 05:36:02 GMT 2001


Hi,

I downloaded the latest CVS code for samba-2.2.2 (HEAD) and
configured with the --with-ldapsam option. I'm using
RedHat 7.1 and have openldap-2.0.11-8 and openldap-devel-2.0.11-8
installed.
The compilation stops with the error:

passdb/pdb_ldap.c: In function `ldap_open_connection`:
passdb/pdb_ldap.c:72: `LDAP_OPT_X_TLS_HARD` undeclared (first use in
this function)
....
some other missing declarations are following.

All those variables (except for the LDAP_SSL_ON) are declared in
my /usr/include/ldap.h. My ldap libraries are in /usr/lib.
What am I missing here?

Thanks for any hints.
Dirk Kastens





More information about the samba mailing list