mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
- syncrepl uses LDAP URL only
This commit is contained in:
parent
30ccb6087f
commit
86196e11a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user