The configure script works fine without errors: # env "LDFLAGS=-L/usr/local/openldap/lib -L/usr/local/kerberos/lib" \ > env "CPPFLAGS=-I/usr/local/openldap/include -I/usr/local/kerberos/include \ > ./configure \ > --with-krb5=/usr/local/kerberos \ > --with-winbind But after, when I tipped in: make LDFLAGS=-s The compilation fails with this output: Compiling popt/popthelp.c Compiling popt/poptparse.c Linking bin/smbd Undefined first referenced symbol in file ldap_start_tls_s lib/smbldap.o ldap_unbind_ext lib/smbldap.o ldap_add_result_entry libads/ldap.o ldap_initialize libads/ldap.o ld: fatal: Symbol referencing errors. No output written to bin/smbd collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 OpenLDAP 2.1.22 ist built with tls/ssl and sasl support and reports no error.
I think you have a dirty build. Did you build Samba before without LDAP support (possibly before OpenLDAP was installed). I went through this sam scenario with someone recently. Make sure to run make distclean and then try compiling again.
closing. no feedback. Assuming config issue.
database cleanup