Hum, my version is 2.4.40, so that's the last version. Is there a mistake somewhere?
Thanks

Dom

2015-06-24 21:33 GMT+02:00 Howard Chu <hyc@symas.com>:
Lalot Dominique wrote:
Hello Howard

I've red this manpage quite a lot. Also trying to find somewhere
documentations about overlay interfaces, but without any success
I've also red the code. I don't understand how to say doit..

servers/slapd/overlays/slapover.txt

And here is a BUG, in back-sock/result.c
It goes here only once at the end of the ldif, but never after..

       /* line marked the end of an entry or result */
       if ( *line == '\n' ) {
       Debug( LDAP_DEBUG_ANY, "TRACE1 \n", 0, 0, 0 );
          if ( strncasecmp( buf, "RESULT", 6 ) == 0 ) {
             break;
          }
       Debug( LDAP_DEBUG_ANY, "TRACE2 buf=%s\n",buf, 0, 0 );
          if ( strncasecmp( buf, "CONTINUE", 8 ) == 0 ) {
       Debug( LDAP_DEBUG_ANY, "TRACE3\n", 0, 0, 0 );
             struct sockinfo   *si = (struct sockinfo *) op->o_bd->be_private;
             /* Only valid when operating as an overlay! */
             assert( si->si_ops != 0 );
             rs->sr_err = SLAP_CB_CONTINUE;
             goto skip;
          }
So I just put if ( strncasecmp( buf, "CONTINUE", 8 ) == 0 ) outside of if (
*line == '\n' ) { and it works..
I am no more a C specialist (1985 last time) so I don't know how to patch

Hope this helps other people, or if I'm wrong please correct me

Looks like you hit ITS#8048. This was already fixed back in February.



--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/