diff options
Diffstat (limited to 'mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap')
-rw-r--r-- | mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap b/mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap new file mode 100644 index 000000000000..6da3393089bc --- /dev/null +++ b/mail/perdition/files/patch-perdition-db-ldap-perditiondb_ldap @@ -0,0 +1,18 @@ +--- perdition/db/ldap/perditiondb_ldap.c.orig Tue Dec 6 22:32:57 2005 ++++ perdition/db/ldap/perditiondb_ldap.c Tue Dec 6 22:38:31 2005 +@@ -334,9 +334,12 @@ + } + + /* Open LDAP connection */ +-#if defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000) +- if (ldap_initialize(&connection, pldap_filter) != LDAP_SUCCESS) { +- VANESSA_LOGGER_DEBUG_ERRNO("ldap_initialize"); ++#if 0 ++//#if defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000) ++ err = ldap_initialize(&connection, pldap_filter); ++ if (err != LDAP_SUCCESS) { ++ VANESSA_LOGGER_DEBUG_UNSAFE("ldap_initialize: %s", ++ ldap_err2string(err)); + goto leave; + } + #else |