X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-shell%2Fadd.c;h=ba982f91589267bd0e5b30d45bb3b3ea38ec410b;hb=581c1ff6c74f5eb281b5e0052b2a5ca84a7679bd;hp=d1d02296bcfdea920ddca21f342ea6f9b763c5cd;hpb=7e87f547160f78690b4fe2a6bdf7f67505de8ee4;p=openldap diff --git a/servers/slapd/back-shell/add.c b/servers/slapd/back-shell/add.c index d1d02296bc..ba982f9158 100644 --- a/servers/slapd/back-shell/add.c +++ b/servers/slapd/back-shell/add.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2004 The OpenLDAP Foundation. + * Copyright 1998-2006 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -55,7 +55,7 @@ shell_back_add( } 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 ); return -1;