From: Kurt Zeilenga Date: Fri, 6 Nov 1998 20:40:47 +0000 (+0000) Subject: j_sanchez@stl.es X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab37c7c8b4a4c6ca6cf770adb6150fdff388d0ac;p=openldap j_sanchez@stl.es --- diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index d56e75174b..29dddb55ba 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -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.