Skip to content
Snippets Groups Projects
Commit ab37c7c8 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

j_sanchez@stl.es

parent 9c3fa68f
No related branches found
No related tags found
No related merge requests found
......@@ -620,6 +620,15 @@ do_bind(
return( BIND_ERR_OPEN );
}
/*
* Disable string translation if enabled by default.
* The replication log is written in the internal format,
* so this would do another translation, breaking havoc.
*/
#if defined( STR_TRANSLATION ) && defined( LDAP_DEFAULT_CHARSET )
ri->ri_ldp->ld_lberoptions &= ~LBER_TRANSLATE_STRINGS;
#endif /* STR_TRANSLATION && LDAP_DEFAULT_CHARSET */
/*
* Set ldap library options to (1) not follow referrals, and
* (2) restart the select() system call.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment