This is a multipart message in MIME format.
--Boundary_(ID_khV0Q9i4TrDM+jpu+4DSYg) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT
regarding the first answer of my mail in the mailinglist
applying the patch does not change the behavior!
Patch:
diff --git a/servers/slapd/back-sql/search.c b/servers/slapd/back-sql/search.c
index cadd036..92d3f82 100644
--- a/servers/slapd/back-sql/search.c
+++ b/servers/slapd/back-sql/search.c
@@ -325,7 +325,7 @@ backsql_init_search(
rc = rs->sr_err = LDAP_REFERRAL;
rs->sr_ref = referral_rewrite( erefs,
&bsi->bsi_e->e_nname,
- &op->o_req_dn,
+ NULL /* &op->o_req_dn */ ,
scope );
ber_bvarray_free( erefs );
@@ -2336,7 +2336,7 @@ backsql_search( Operation *op, SlapReply *rs )
if ( refs ) {
rs->sr_ref = referral_rewrite( refs,
&e->e_name,
- &op->o_req_dn,
+ NULL /* &op->o_req_dn */ ,
op->ors_scope );
ber_bvarray_free( refs );
}
--Boundary_(ID_khV0Q9i4TrDM+jpu+4DSYg) Content-type: text/html; charset=us-ascii Content-transfer-encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40%22%3E<head><META = HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 = (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} pre {mso-style-priority:99; mso-style-link:"HTML Vorformatiert Zchn"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.HTMLVorformatiertZchn {mso-style-name:"HTML Vorformatiert Zchn"; mso-style-priority:99; mso-style-link:"HTML Vorformatiert"; font-family:"Courier New"; mso-fareast-language:DE;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = lang=3DEN-US>regarding the first answer of my mail in the = mailinglist<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>applying the patch does not change the = behavior!<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Patch:<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>diff --git = a/servers/slapd/back-sql/search.c = b/servers/slapd/back-sql/search.c<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>index cadd036..92d3f82 = 100644<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>--- = a/servers/slapd/back-sql/search.c<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>+++ = b/servers/slapd/back-sql/search.c<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>@@ -325,7 +325,7 @@ = backsql_init_search(<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; &nbs= p; rc =3D rs->sr_err =3D = LDAP_REFERRAL;<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; &nbs= p; rs->sr_ref =3D referral_rewrite( = erefs,<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; &nbs= p;  = ; = &bsi->bsi_e->e_nname,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>- = &= nbsp; &n= bsp; &nb= sp; &nbs= p; = &op->o_req_dn,<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>+ = &= nbsp; &n= bsp; &nb= sp; &nbs= p; = NULL /* &op->o_req_dn */ ,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; &nbs= p;  = ; scope );<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; &nbs= p; ber_bvarray_free( erefs );<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = <o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>@@ -2336,7 +2336,7 @@ backsql_search( = Operation *op, SlapReply *rs )<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; if ( refs ) = {<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; rs->sr_ref =3D referral_rewrite( = refs,<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; </span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>&e->e_name,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>- = &= nbsp; &n= bsp; &nb= sp; &op->o_req_dn,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>+ = &= nbsp; &n= bsp; &nb= sp; NULL /* &op->o_req_dn */ ,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; &nb= sp; op->ors_scope = );<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; &n= bsp; ber_bvarray_free( refs = );<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'> = &= nbsp; </span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";mso-fareast-language:DE'>}<o:p></o:p></span></p><p = class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p></div></body></html>=
--Boundary_(ID_khV0Q9i4TrDM+jpu+4DSYg)--