Diff for /servers/slapd/back-sock/compare.c between versions 1.2 and 1.3

version 1.2, 2007/09/07 10:20:24 version 1.3, 2007/12/26 23:51:45
Line 1 Line 1
 /* compare.c - sock backend compare function */  /* compare.c - sock backend compare function */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/compare.c,v 1.1 2007/09/07 10:04:55 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/compare.c,v 1.2 2007/09/07 10:20:24 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2007 The OpenLDAP Foundation.   * Copyright 1998-2007 The OpenLDAP Foundation.
Line 48  sock_back_compare( Line 48  sock_back_compare(
         e.e_private = NULL;          e.e_private = NULL;
   
         if ( ! access_allowed( op, &e,          if ( ! access_allowed( op, &e,
                 entry, NULL, ACL_READ, NULL ) )                  entry, NULL, ACL_COMPARE, NULL ) )
         {          {
                 send_ldap_error( op, rs, LDAP_INSUFFICIENT_ACCESS, NULL );                  send_ldap_error( op, rs, LDAP_INSUFFICIENT_ACCESS, NULL );
                 return -1;                  return -1;

Removed from v.1.2  
changed lines
  Added in v.1.3


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