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

version 1.2, 2007/09/07 10:20:24 version 1.4.2.4, 2011/01/04 23:50:44
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.4.2.3 2010/04/13 20:23:40 kurt 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-2011 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
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.4.2.4


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