Hey Patrick,

Sorry about the delay in answering this but it seems that somehow I
didn't receive the closing email you sent.

I tried your new version but it's  not working for me here. I prepared a
small patch (attached) to make this work. Just a line to change
actually, you forgot the LDAP_OPT_PROTOCOL_VERSION parameter to the
@ldap_set_option function.

Hope this is not a specific bug from my side. In any case this patch
will fix it.

Thanks again for your work.
Anthony

--- mantis_1.0.8-4.diff	2008-01-29 16:22:30.000000000 +0000
+++ mantis_1.0.8-4.diff	2008-01-29 16:27:58.000000000 +0000
@@ -384,7 +384,7 @@
 + 		if ( $t_ds > 0 ) {
 ++
 ++			# Set the LDAP version
-++			@ldap_set_option( $t_ds, $t_ldap_version );
+++			@ldap_set_option( $t_ds, LDAP_OPT_PROTOCOL_VERSION, $t_ldap_version );
 + 			# If no Bind DN and Password is set, attempt to login as the configured
 + 			#  Bind DN.
 + 			if ( is_blank( $p_binddn ) && is_blank( $p_password ) ) {

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to