- syncrepl uses LDAP URL only

This commit is contained in:
Jong Hyuk Choi 2003-06-23 14:15:28 +00:00
parent 30ccb6087f
commit 86196e11a0
6 changed files with 6 additions and 9 deletions

View File

@ -328,7 +328,7 @@ do_add( Operation *op, SlapReply *rs )
#ifdef LDAP_SYNCREPL
if ( op->o_bd->syncinfo ) {
defref = op->o_bd->syncinfo->master_bv;
defref = op->o_bd->syncinfo->masteruri;
} else
#endif
{

View File

@ -211,7 +211,7 @@ do_delete(
BerVarray defref = NULL;
#ifdef LDAP_SYNCREPL
if ( op->o_bd->syncinfo ) {
defref = op->o_bd->syncinfo->master_bv;
defref = op->o_bd->syncinfo->masteruri;
} else
#endif
{

View File

@ -448,7 +448,7 @@ do_modify(
BerVarray defref = NULL;
#ifdef LDAP_SYNCREPL
if ( op->o_bd->syncinfo ) {
defref = op->o_bd->syncinfo->master_bv;
defref = op->o_bd->syncinfo->masteruri;
} else
#endif
{

View File

@ -375,7 +375,7 @@ do_modrdn(
BerVarray defref = NULL;
#ifdef LDAP_SYNCREPL
if ( op->o_bd->syncinfo ) {
defref = op->o_bd->syncinfo->master_bv;
defref = op->o_bd->syncinfo->masteruri;
} else
#endif
{

View File

@ -59,7 +59,7 @@ int passwd_extop(
BerVarray defref = NULL;
#ifdef LDAP_SYNCREPL
if ( op->o_bd->syncinfo ) {
defref = op->o_bd->syncinfo->master_bv;
defref = op->o_bd->syncinfo->masteruri;
} else
#endif
{

View File

@ -1299,9 +1299,6 @@ typedef struct syncinfo_s {
void *ctx;
int id;
char *masteruri;
struct berval *master_bv;
char *mastername;
int masterport;
int type;
struct berval updatedn;
char *binddn;