summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-12-04 11:20:57 -0800
committerJeremy Allison <jra@samba.org>2008-12-04 11:20:57 -0800
commit15e1fd7c540ab47dffdfbd4cfad3a8c18a3f62dc (patch)
tree7a78b82d7d13f64ca24ebd6fe357bfbb90ed4bb0 /source3/auth
parent677e0fb9659abe1ad684dd980d61b88caad9f8a2 (diff)
downloadsamba-15e1fd7c540ab47dffdfbd4cfad3a8c18a3f62dc.tar.gz
samba-15e1fd7c540ab47dffdfbd4cfad3a8c18a3f62dc.tar.bz2
samba-15e1fd7c540ab47dffdfbd4cfad3a8c18a3f62dc.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
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 9220df01c0..d2a8591ae6 100644
--- a/source3/auth/auth_util.c
+++ b/source3/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;