The Samba-Bugzilla – Attachment 516 Details for
Bug 1319
Cannot write to a share with write-list users
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for this in modes better than security=share.
look (text/plain), 1.14 KB, created by
Jeremy Allison
on 2004-05-17 17:15:28 UTC
(
hide
)
Description:
Patch for this in modes better than security=share.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2004-05-17 17:15:28 UTC
Size:
1.14 KB
patch
obsolete
>Index: smbd/uid.c >=================================================================== >--- smbd/uid.c (revision 759) >+++ smbd/uid.c (working copy) >@@ -189,20 +189,26 @@ > > snum = SNUM(conn); > >+ if ((vuser) && !check_user_ok(conn, vuser, snum)) { >+ DEBUG(2,("change_to_user: SMB user %s (unix user %s, vuid %d) not permitted access to share %s.\n", >+ vuser->user.smb_name, vuser->user.unix_name, vuid, lp_servicename(snum))); >+ return False; >+ } >+ > if (conn->force_user) /* security = share sets this too */ { > uid = conn->uid; > gid = conn->gid; > current_user.groups = conn->groups; > current_user.ngroups = conn->ngroups; > token = conn->nt_user_token; >- } else if ((vuser) && check_user_ok(conn, vuser, snum)) { >+ } else if (vuser) { > uid = conn->admin_user ? 0 : vuser->uid; > gid = vuser->gid; > current_user.ngroups = vuser->n_groups; > current_user.groups = vuser->groups; > token = vuser->nt_user_token; > } else { >- DEBUG(2,("change_to_user: Invalid vuid used %d or vuid not permitted access to share.\n",vuid)); >+ DEBUG(2,("change_to_user: Invalid vuid used %d in accessing share %s.\n",vuid, lp_servicename(snum) )); > return False; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1319
: 516