Commit 86196e11 authored by Jong Hyuk Choi's avatar Jong Hyuk Choi
Browse files

- syncrepl uses LDAP URL only

parent 30ccb608
......@@ -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
{
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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;
......@@ -1318,7 +1315,7 @@ typedef struct syncinfo_s {
int scope;
int deref;
int slimit;
int tlimit;
int tlimit;
Filter *filter;
char *filterstr;
char **attrs;
......
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