[Samba] --with-ldapsam Compile error on Solaris 8

Mark Taylor mark.taylor at killbygayford.co.uk
Fri Mar 1 04:30:10 GMT 2002


Hi guys,

I'm getting the following errors during 'make' (configure went just
fine)

Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldap_open_connection':
passdb/pdb_ldap.c:75: `LDAP_OPT_X_TLS_HARD' undeclared (first use in
this function)
passdb/pdb_ldap.c:75: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:75: for each function it appears in.)
passdb/pdb_ldap.c:95: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use
in this function)
passdb/pdb_ldap.c:95: `LDAP_OPT_SUCCESS' undeclared (first use in this
function)
passdb/pdb_ldap.c:110: `LDAP_VERSION3' undeclared (first use in this
function)
passdb/pdb_ldap.c:127: `LDAP_OPT_X_TLS' undeclared (first use in this
function)
passdb/pdb_ldap.c: In function `ldap_search_one_user':
passdb/pdb_ldap.c:190: warning: passing arg 4 of `ldap_search_s'
discards qualifiers from pointer target type
passdb/pdb_ldap.c: In function `pdb_delete_sam_account':
passdb/pdb_ldap.c:883: `LDAP_OPT_ERROR_STRING' undeclared (first use in
this function)
passdb/pdb_ldap.c: In function `pdb_update_sam_account':
passdb/pdb_ldap.c:936: `LDAP_OPT_ERROR_STRING' undeclared (first use in
this function)
passdb/pdb_ldap.c: In function `pdb_add_sam_account':
passdb/pdb_ldap.c:1028: `LDAP_OPT_ERROR_STRING' undeclared (first use in
this function)
make: *** [passdb/pdb_ldap.o] Error 1

Solaris 8 patched to latest on sunsolve plus all the normal sunfreeware
goodies. padl's excellent nss and pam modules compiled and installed
fine.
I'm sure this is simple but my head's not working today...

Any pointers?

Thanks in advance,

Mark





More information about the samba mailing list