** Description changed:

+ [Impact]
+ * Users are no longer able to use the force user or force group options in 
the smb.conf.  This can prevent users from accessing shares without first 
having to login with a valid login.
+ 
+ [Test Case]
+ 1. Create a directory /tmp/ubuntu
+ 2. chown ubuntu:ubuntu /tmp/ubuntu
+ 3. Add a section to the smb.conf like so.
+ [Ubuntutest] 
+ comment = Ubuntutest 
+ path = /tmp/ubuntu 
+ browseable = yes 
+ read only = no 
+ guest ok = yes 
+ force user = ubuntu 
+ 4. Make sure the ubuntu user has access to the directory from the server.
+ 5. Attempt to access the share
+ 6. You should not be prompted for a username and password
+ 7. Create a file
+ 8. Verify the file is owned by ubuntu.
+ 
+ [Regression Potential]
+ * Minimal.  The fix is to use vuser->session_info instead of 
conn->session_info, when checking permissions.  This seems like it should be 
fairly isolated to the initial permissions checks.
+ 
+ [Other Info]
+ * Pretty straightforward cherry-pick of upstream solution.
+ 
+ ______________________________________________________
  There is nasty regression bug in samba 4.1.6
  That prevents the use of the "force user" option.
  
  https://bugzilla.samba.org/show_bug.cgi?id=9878
  
  It has been fixed in 4.1.7.
  
  For now I installed samba from:  ppa:linux-schools/backports
  In order to get things working again.
  
  GĂ©rald

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1416906

Title:
  force user no longer works

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1416906/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to