Bug 1844 - write list/read list/admin users do not work under "security = SHARE"
Summary: write list/read list/admin users do not work under "security = SHARE"
Status: RESOLVED DUPLICATE of bug 1254
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.7
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-09-28 08:50 UTC by TAKAHASHI Motonobu
Modified: 2005-02-08 20:58 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2004-09-28 08:50:48 UTC
write list/read list/admin users do not work under "security = SHARE".

Setting "security = SHARE" and accessing a share, 
source/smbd/uid.c:change_to_user(187) seems to be always TRUE and 
logged: "change_to_user: Skipping user change - already user". This means the
write list/read list/admin users (evaluated into check_user_ok()) are not 

In the following smb.conf, I cannot write into share01 even if authenticated as 
wshare01. In Samba 2.2.3a, I can write. 

  dos charset = CP932
  unix charset = eucJP-ms
  display charset = eucJP-ms
  workgroup = SAMBA
  passdb backend = smbpasswd
  security = SHARE
  smbports = 139

  log level = 5

  log file = /usr/local/samba/var/log.share

  path = /tmp/guest
  write list = wshare01
  user = rshare01 wshare01
  valid users = rshare01 wshare01
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 20:58:03 UTC

*** This bug has been marked as a duplicate of 1254 ***