Commit 5c3688bc authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6606

parent 6dc360a1
...@@ -4,6 +4,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -4,6 +4,7 @@ OpenLDAP 2.4.24 Engineering
Fixed liblber to not close invalid sockets (ITS#6585) Fixed liblber to not close invalid sockets (ITS#6585)
Fixed slapd modify to return actual error (ITS#6581) Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577) Fixed slapd-bdb entry cache delete failure (ITS#6577)
Fixed slapo-syncprov to send error if consumer is newer (ITS#6606)
OpenLDAP 2.4.23 Release (2010/06/30) OpenLDAP 2.4.23 Release (2010/06/30)
Fixed libldap to return server's error code (ITS#6569) Fixed libldap to return server's error code (ITS#6569)
......
...@@ -2483,8 +2483,9 @@ syncprov_op_search( Operation *op, SlapReply *rs ) ...@@ -2483,8 +2483,9 @@ syncprov_op_search( Operation *op, SlapReply *rs )
if ( newer < 0 ) if ( newer < 0 )
changed = SS_CHANGED; changed = SS_CHANGED;
else if ( newer > 0 ) { else if ( newer > 0 ) {
/* our state is older, tell consumer nothing */ /* our state is older, complain to consumer */
rs->sr_err = LDAP_SUCCESS; rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
rs->sr_text = "consumer state is newer than provider!";
bailout: bailout:
if ( sop ) { if ( sop ) {
syncops **sp = &si->si_ops; syncops **sp = &si->si_ops;
......
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