mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
This commit is contained in:
parent
9c3fa68fa5
commit
ab37c7c8b4
1 changed files with 9 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue