version 1.137, 2005/12/15 22:05:12
|
version 1.138, 2005/12/26 16:00:12
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.136 2005/12/15 10:55:46 ando Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.137 2005/12/15 22:05:12 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 1804 syncprov_search_response( Operation *op,
|
Line 1804 syncprov_search_response( Operation *op,
|
a = attr_find( rs->sr_operational_attrs, slap_schema.si_ad_entryCSN ); |
a = attr_find( rs->sr_operational_attrs, slap_schema.si_ad_entryCSN ); |
} |
} |
if ( a ) { |
if ( a ) { |
/* Make sure entry is less than the snaphot'd contextCSN */ |
/* Make sure entry is less than the snapshot'd contextCSN */ |
if ( ber_bvcmp( &a->a_nvals[0], &ss->ss_ctxcsn ) > 0 ) |
if ( ber_bvcmp( &a->a_nvals[0], &ss->ss_ctxcsn ) > 0 ) |
return LDAP_SUCCESS; |
return LDAP_SUCCESS; |
|
|