Commit 9aa70639 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5368

parent 2c3aaca6
...@@ -27,6 +27,7 @@ OpenLDAP 2.4.8 Engineering ...@@ -27,6 +27,7 @@ OpenLDAP 2.4.8 Engineering
Fixed slapd cn=config crash on delete (ITS#5343) Fixed slapd cn=config crash on delete (ITS#5343)
Fixed slapd cn=config global acls (ITS#5352) Fixed slapd cn=config global acls (ITS#5352)
Fixed slapd truncated cookie (ITS#5362) Fixed slapd truncated cookie (ITS#5362)
Fixed slapd sasl with CLEARTEXT (ITS#5368)
Fixed slapd str2entry with no attrs (ITS#5308) Fixed slapd str2entry with no attrs (ITS#5308)
Fixed slapd TLSVerifyClient default (ITS#5360) Fixed slapd TLSVerifyClient default (ITS#5360)
Fixed slapd-bdb crash with modrdn (ITS#5358) Fixed slapd-bdb crash with modrdn (ITS#5358)
......
...@@ -216,7 +216,8 @@ sasl_ap_lookup( Operation *op, SlapReply *rs ) ...@@ -216,7 +216,8 @@ sasl_ap_lookup( Operation *op, SlapReply *rs )
* past the scheme name, skip this value. * past the scheme name, skip this value.
*/ */
#ifdef SLAPD_CLEARTEXT #ifdef SLAPD_CLEARTEXT
if ( !ber_bvstrcasecmp( bv, &sc_cleartext ) ) { if ( !strncasecmp( bv->bv_val, sc_cleartext.bv_val,
sc_cleartext.bv_len )) {
struct berval cbv; struct berval cbv;
cbv.bv_len = bv->bv_len - sc_cleartext.bv_len; cbv.bv_len = bv->bv_len - sc_cleartext.bv_len;
if ( cbv.bv_len > 0 ) { if ( cbv.bv_len > 0 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment