passdb/pdb_ldap.c HEAD compile errors

guenther deschner guenther at deschner.de
Sat Oct 27 14:56:03 GMT 2001


hi,

when i try ./configure --with-ldapsam on todays HEAD CVS,
make fails with: 

-----8<------------------snip--------------8<--------------

Using LIBS = -lssl -lcrypto -lldap -llber -lresolv -lcups  -ldl -lnsl
-lpopt 
Compiling passdb/pdb_ldap.c
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':
passdb/pdb_ldap.c:152: warning: passing arg 2 of `ldap_simple_bind_s'
makes pointer from integer without a cast
make: *** [passdb/pdb_ldap.o] Error 1
----->8------------------snap-------------->8--------------

is --with-ldapsam not yet compilable ?

thanks for any hint,

bye,
guenther
-- 
guenther deschner                              gpg-key-id: 81A7DA6F
 "research is what i'm doing, when i don't know what i'm doing"
                                                - wernher von braun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20011027/2eb1d735/attachment.bin


More information about the samba-technical mailing list