Bug 1263162

Summary: AD User is able to change permissions for Administrator for samba share
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: sambaAssignee: Sachin Prabhu <sprabhu>
Status: CLOSED NOTABUG QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, gdeschner, nlevinki
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-03 10:46:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vivek Das 2015-09-15 08:51:31 UTC
Description of problem:

AD user is able to change permission for administrator when accessing samba share.By logging in to a AD USER account it is allowing to change permission for administrator account.Which is not allowing any access to administrator to access directory for which USER has changed permission.

Version-Release number of selected component (if applicable):

samba-4.1.17-13.el7rhgs.x86_64

How reproducible:

Always

Steps to Reproduce:

Scenario 1:
1. Login as an USER create a directory in samba share. eg. FOLDER_1
2. Set Read only permissions to FOLDER_1 for ADIMINISTRATOR
3. Login as an ADMINISTRATOR
4. Try to create a directory or text file in USER created directory i.e FOLDER_1.
5. Access denied.

Scenario 2:
1. Login as an ADMINISTRATOR create a directory in samba share. eg. FOLDER_A
2. Set full access permission to FOLDER_A for USER.
3. Login as an USER.
4. Creare a directory FOLDER_U inside FOLDER_A.
5. Set Read only permissions to FOLDER_U for ADIMINISTRATOR
6. Login as an ADMINISTRATOR.
7. Try to create a directory or text file in USER created directory i.e FOLDER_U.
8. Access denied.

Actual results:

AD User able to change permission for Administrator.

Expected results:

AD User should not be able to change permissions for Administrator

Additional info:

Comment 4 Amar Tumballi 2018-04-19 04:17:33 UTC
Closed the samba bugs in bulk when PM_Score was less than 0. As the team was working on few of them, opening all of them.