Diff for /servers/slapd/overlays/syncprov.c between versions 1.100 and 1.101

version 1.100, 2005/08/23 02:12:57 version 1.101, 2005/08/25 06:57:08
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.99 2005/08/23 01:25:21 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.100 2005/08/23 02:12:57 hyc Exp $ */
 /* syncprov.c - syncrepl provider */  /* syncprov.c - syncrepl provider */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
Line 142  typedef struct fbase_cookie { Line 142  typedef struct fbase_cookie {
         int fscope;     /* if TRUE then fdn is within the psearch scope */          int fscope;     /* if TRUE then fdn is within the psearch scope */
 } fbase_cookie;  } fbase_cookie;
   
 static AttributeName csn_anlist[2];  static AttributeName csn_anlist[3];
 static AttributeName uuid_anlist[2];  static AttributeName uuid_anlist[2];
   
 /* Build a LDAPsync intermediate state control */  /* Build a LDAPsync intermediate state control */
Line 178  syncprov_state_ctrl( Line 178  syncprov_state_ctrl(
                 }                  }
         }          }
   
           /* FIXME: what if entryuuid is NULL or empty ? */
   
         if ( send_cookie && cookie ) {          if ( send_cookie && cookie ) {
                 ber_printf( ber, "{eOON}",                  ber_printf( ber, "{eOON}",
                         entry_sync_state, &entryuuid_bv, cookie );                          entry_sync_state, &entryuuid_bv, cookie );
Line 2261  syncprov_db_init( Line 2263  syncprov_db_init(
   
         csn_anlist[0].an_desc = slap_schema.si_ad_entryCSN;          csn_anlist[0].an_desc = slap_schema.si_ad_entryCSN;
         csn_anlist[0].an_name = slap_schema.si_ad_entryCSN->ad_cname;          csn_anlist[0].an_name = slap_schema.si_ad_entryCSN->ad_cname;
           csn_anlist[1].an_desc = slap_schema.si_ad_entryUUID;
           csn_anlist[1].an_name = slap_schema.si_ad_entryUUID->ad_cname;
   
         uuid_anlist[0].an_desc = slap_schema.si_ad_entryUUID;          uuid_anlist[0].an_desc = slap_schema.si_ad_entryUUID;
         uuid_anlist[0].an_name = slap_schema.si_ad_entryUUID->ad_cname;          uuid_anlist[0].an_name = slap_schema.si_ad_entryUUID->ad_cname;

Removed from v.1.100  
changed lines
  Added in v.1.101


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org