summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-12-04 11:12:01 -0800
committerKarolin Seeger <kseeger@samba.org>2008-12-11 10:27:15 +0100
commitcc85a00fa574f29167d8e7c7821a158001194318 (patch)
tree8bf4c01605f6ad4d086afe119abc46024bdb1eac /source/auth
parent68276aa400cb126513de06ad227febe737ec11b6 (diff)
downloadsamba-cc85a00fa574f29167d8e7c7821a158001194318.tar.gz
samba-cc85a00fa574f29167d8e7c7821a158001194318.tar.xz
samba-cc85a00fa574f29167d8e7c7821a158001194318.zip
Fix bug #1254 - write list not working under share-level security
A somewhat more elegant fix than I could use for 3.2.x or 3.0.x. Turns out the only part of check_user_ok() that needs to change for share level security is the VUID cache pieces, so I can just always use check_user_ok() for all lp_security() cases. Jeremy (cherry picked from commit a808c53ec938a6aeb9f9ddc6a5a02273c7bfdcc9)
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 9220df01c00..d2a8591ae61 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -1294,7 +1294,7 @@ NTSTATUS make_serverinfo_from_username(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *copy_serverinfo(TALLOC_CTX *mem_ctx,
- auth_serversupplied_info *src)
+ const auth_serversupplied_info *src)
{
auth_serversupplied_info *dst;