Diff for /servers/slapd/back-shell/add.c between versions 1.24 and 1.24.2.2

version 1.24, 2004/10/06 03:51:42 version 1.24.2.2, 2005/04/29 21:29:09
Line 1 Line 1
 /* add.c - shell backend add function */  /* add.c - shell backend add function */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-shell/add.c,v 1.22 2004/01/01 18:15:37 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-shell/add.c,v 1.24.2.1 2005/01/20 18:04:01 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-2004 The OpenLDAP Foundation.   * Copyright 1998-2005 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 55  shell_back_add( Line 55  shell_back_add(
         }          }
   
         if ( ! access_allowed( op, op->oq_add.rs_e,          if ( ! access_allowed( op, op->oq_add.rs_e,
                 entry, NULL, ACL_WRITE, NULL ) )                  entry, NULL, ACL_WADD, 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.24  
changed lines
  Added in v.1.24.2.2


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