mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-26 21:17:40 +00:00
6803492f67
author fixed bug in patch but didn't increment version. - Fix problem when openldap v1 is selected. - Bump PORTREVISION PR: ports/39800 Submitted by: maintainer
18 lines
484 B
C
18 lines
484 B
C
--- lib/checkpw.c.orig Mon Jun 17 18:28:29 2002
|
|
+++ lib/checkpw.c Mon Jun 17 18:31:44 2002
|
|
@@ -1667,12 +1667,14 @@
|
|
return SASL_FAIL;
|
|
}
|
|
/* setting dereferensing aliases mode */
|
|
+#ifdef LDAP_OPT_DEREF
|
|
if (ldap_set_option(ld, LDAP_OPT_DEREF, (void *) &ldap_deref) != LDAP_OPT_SUCCESS) {
|
|
if (reply) {
|
|
*reply = "cannot set deref options";
|
|
}
|
|
return SASL_FAIL;
|
|
}
|
|
+#endif
|
|
/* set ssl mode if needed */
|
|
#ifdef LDAP_OPT_X_TLS
|
|
if ( ldap_ssl_flag ) {
|