From d0c3ab4ff542760276f991b5704157b6170e689b Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 2 Aug 2010 18:32:18 -0400 Subject: - return unwilling-to-perform instead of insufficient-access in response to write requests --- src/back-sch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/back-sch.c') diff --git a/src/back-sch.c b/src/back-sch.c index 39a5efd..eba778a 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -1,5 +1,5 @@ /* - * Copyright 2008 Red Hat, Inc. + * Copyright 2008,2009 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1058,7 +1058,7 @@ backend_write_cb(Slapi_PBlock *pb) wrap_inc_call_level(); map_rdlock(); if (backend_check_scope_pb(pb)) { - slapi_send_ldap_result(pb, LDAP_INSUFFICIENT_ACCESS, + slapi_send_ldap_result(pb, LDAP_UNWILLING_TO_PERFORM, NULL, NULL, 0, NULL); ret = -1; } else { -- cgit