Question: Ldap Future
Ignacio Coupeau
icoupeau at unav.es
Wed Dec 12 03:46:02 GMT 2001
Jean Francois Micouleau wrote:
>
> On Tue, 11 Dec 2001 fischerdr at mindspring.com wrote:
>
> > Currently in the Samba_2_2_2 tree we are able to use ldapsam for auth
> > but in the current tree and Samba_3_0 the "--with-ldapsam" no longer
> > works.
>
thanks for the group and AD stuff to all the team... a nice work.
> it's broken ? I'll take a look then.
I tested it: is broken also in the HEAD (CVS 10:30 GMT) and in the
3-alpha-5:
--
passdb/pdb_ldap.c: In function `ldap_open_connection':
passdb/pdb_ldap.c:74: `LDAP_SSL_ON' undeclared (first use in this
function)
passdb/pdb_ldap.c:74: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:74: for each function it appears in.)
passdb/pdb_ldap.c:98: `LDAP_SSL_START_TLS' undeclared (first use in this
function)
passdb/pdb_ldap.c:124: `LDAP_SSL_OFF' undeclared (first use in this
function)
passdb/pdb_ldap.c:99: warning: unreachable code at beginning of switch
statement
passdb/pdb_ldap.c: In function `ldap_connect_system':
---
In the configure.in from SAMBA_2_2 (that compiles well) the -lresolv is
present:
--
# Check whether --with-ldapsam or --without-ldapsam was given.
...
AC_MSG_CHECKING(whether to use LDAP SAM database)
AC_ARG_WITH(ldapsam,
[ --with-ldapsam Include experimental LDAP SAM support
(default=no)],
AC_DEFINE(WITH_LDAP_SAM)
LIBS="-lldap -llber -lresolv $LIBS"
--
I think the lines in include/includes.h
#if HAVE_LDAP_H
#include <ldap.h>
#else
#undef HAVE_LDAP
#endif
may cause a warning conflict if the ldap.h is loaded twice,
Ignacio
____________________________________________________
Ignacio Coupeau, Ph.D. e-mail: icoupeau at unav.es
CTI, Director fax: 948 425619
University of Navarra voice: 948 425600
Pamplona, SPAIN http://www.unav.es/cti/
More information about the samba-technical
mailing list