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

version 1.1, 2007/09/07 10:04:55 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$ */  /* $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 13 Line 13
  * top-level directory of the distribution or, alternatively, at   * top-level directory of the distribution or, alternatively, at
  * <http://www.OpenLDAP.org/license.html>.   * <http://www.OpenLDAP.org/license.html>.
  */   */
   /* ACKNOWLEDGEMENTS:
    * This work was initially developed by Brian Candler for inclusion
    * in OpenLDAP Software.
    */
   
 #include "portable.h"  #include "portable.h"
   
Line 44  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.1  
changed lines
  Added in v.1.4.2.4


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