summaryrefslogtreecommitdiffstats
path: root/src/back-sch.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-08-02 18:32:18 -0400
committerNalin Dahyabhai <nalin@redhat.com>2010-08-02 18:32:18 -0400
commitd0c3ab4ff542760276f991b5704157b6170e689b (patch)
tree4c538691305c2a27971552e9b31a2ecb023bef98 /src/back-sch.c
parent49e4b95b843bc1249423edfa368be53154379f9e (diff)
downloadslapi-nis-d0c3ab4ff542760276f991b5704157b6170e689b.tar.gz
slapi-nis-d0c3ab4ff542760276f991b5704157b6170e689b.tar.xz
slapi-nis-d0c3ab4ff542760276f991b5704157b6170e689b.zip
- return unwilling-to-perform instead of insufficient-access in response
to write requests
Diffstat (limited to 'src/back-sch.c')
-rw-r--r--src/back-sch.c4
1 files changed, 2 insertions, 2 deletions
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 {