summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/sharesec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 66e3401771..2f625351b2 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -426,7 +426,7 @@ bool share_access_check(const struct security_token *token,
if (pgranted != NULL) {
*pgranted = desired_access;
}
- return True;
+ return false;
}
status = se_access_check(psd, token, desired_access, &granted);