Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 430969

Summary: selinux prevent changing samba password when configured to synchronize unix password.
Product: Red Hat Enterprise Linux 5 Reporter: Lin Li <linl>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: ebenes
Target Milestone: rcKeywords: OtherQA
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0465 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 16:06:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
selinux alert none

Description Lin Li 2008-01-30 20:38:26 UTC
Description of problem:
When samba is configured to synchronize with unix password, selinux prevent
changing samba password with non-root. If selinux is set to permissive, I still
get the same alert, but the password change succeded.

Version-Release number of selected component (if applicable):
samba version 3.0.25b-0.el5.4

How reproducible:
Constant reproducible.

Steps to Reproduce:
1. Config samba to sychronize unix password.
2. Set selinux to enforce mode.
3. Su to the user
4. Run "smbpasswd -U user" to change password.

  
Actual results:
Change failed with selinux alert generated.

Expected results:


Additional info:
If turn off "unix password sync", change samba password works.

Comment 1 Lin Li 2008-01-30 20:38:26 UTC
Created attachment 293481 [details]
selinux alert

Comment 2 Daniel Walsh 2008-01-31 16:28:48 UTC
Fixed in selinux-policy-2.4.6-118


Comment 3 RHEL Program Management 2008-01-31 16:36:04 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 Eduard Benes 2008-03-26 11:12:44 UTC
Lin, could you please try the latest selinux-policy and give us a feedback 
whether it works for you? Thank you. 

Latest packages are available here:
 
  http://people.redhat.com/dwalsh/SELinux/RHEL5/noarch/

Comment 8 Lin Li 2008-03-26 13:32:17 UTC
It works with selinux-policy-2.4.6-118. Thank you.

Comment 11 errata-xmlrpc 2008-05-21 16:06:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0465.html