Samba compile problem

Kim Holburn kim.holburn at anu.edu.au
Wed Jul 31 14:17:20 EST 2002


Any samba experts here?  I got the following errors.  Just a straight compile.

I got the latest samba - samba-2.2.5 (running on suse 7.1

>./configure --prefix=/opt/samba --enable-cups --with-ldapsam --with-ssl

....

>make

....

Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldap_open_connection':
passdb/pdb_ldap.c:156: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use in this function)
passdb/pdb_ldap.c:156: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:156: for each function it appears in.)
passdb/pdb_ldap.c: In function `pdb_delete_sam_account':
passdb/pdb_ldap.c:968: `LDAP_OPT_ERROR_STRING' undeclared (first use in this function)
passdb/pdb_ldap.c: In function `pdb_update_sam_account':
passdb/pdb_ldap.c:1021: `LDAP_OPT_ERROR_STRING' undeclared (first use in this function)
passdb/pdb_ldap.c: In function `pdb_add_sam_account':
passdb/pdb_ldap.c:1113: `LDAP_OPT_ERROR_STRING' undeclared (first use in this function)
make: *** [passdb/pdb_ldap.o] Error 1
>

Any help appreciated.

Kim
-- 
--
Kim Holburn  Network Consultant  Ph: +61 2 61258620 M: +61 0417820641
Email: kim.holburn at anu.edu.au - PGP Public Key on request

Life is complex - It has real and imaginary parts.
     Andrea Leistra (rec.arts.sf.written.Robert-jordan)




More information about the linux mailing list