--- servers/slapd/overlays/syncprov.c 2009/11/14 20:53:06 1.296 +++ servers/slapd/overlays/syncprov.c 2009/11/15 09:38:13 1.297 @@ -1,4 +1,4 @@ -/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.295 2009/11/14 08:35:23 hyc Exp $ */ +/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.296 2009/11/14 20:53:06 hyc Exp $ */ /* syncprov.c - syncrepl provider */ /* This work is part of OpenLDAP Software . * @@ -2893,7 +2893,7 @@ syncprov_db_open( } thrctx = ldap_pvt_thread_pool_context(); - connection_fake_init( &conn, &opbuf, thrctx ); + connection_fake_init2( &conn, &opbuf, thrctx, 0 ); op = &opbuf.ob_op; op->o_bd = be; op->o_dn = be->be_rootdn; @@ -2978,7 +2978,7 @@ syncprov_db_close( void *thrctx; thrctx = ldap_pvt_thread_pool_context(); - connection_fake_init( &conn, &opbuf, thrctx ); + connection_fake_init2( &conn, &opbuf, thrctx, 0 ); op = &opbuf.ob_op; op->o_bd = be; op->o_dn = be->be_rootdn;