Running the configured Makefile stops with an error: Compiling libads/sasl.c libads/sasl.c: In function 'ads_sasl_spnego_ntlmssp_bind': libads/sasl.c:81: 'LDAP_SASL_BIND_IN_PROGRESS' undeclared (first use in this function) . . libads/sasl.c: In function 'ads_sasl_spnego_bind': libads/sasl.c:186: 'LDAP_SASL_BIND_IN_PROGRESS' undeclared (first ... *** Error code 1 the configure command I ran with --prefix=/usr/local/samba-3.0.21a --with-aio-support --with-smbwrapper. Using the option --with-ldap=no make runs without errors.
--with-ldap-no is the current workaround. Didn't you have a patch for this?
Has been fixed ages ago -- r13690. Volker