Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 430969 - selinux prevent changing samba password when configured to synchronize unix password.
selinux prevent changing samba password when configured to synchronize unix p...
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Daniel Walsh
: OtherQA
Depends On:
  Show dependency treegraph
Reported: 2008-01-30 15:38 EST by Lin Li
Modified: 2009-07-20 06:00 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 12:06:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
selinux alert (2.38 KB, text/plain)
2008-01-30 15:38 EST, Lin Li
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 10:36:31 EDT

  None (edit)
Description Lin Li 2008-01-30 15:38:26 EST
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 15:38:26 EST
Created attachment 293481 [details]
selinux alert
Comment 2 Daniel Walsh 2008-01-31 11:28:48 EST
Fixed in selinux-policy-2.4.6-118
Comment 3 RHEL Product and Program Management 2008-01-31 11:36:04 EST
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
Comment 7 Eduard Benes 2008-03-26 07:12:44 EDT
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:
Comment 8 Lin Li 2008-03-26 09:32:17 EDT
It works with selinux-policy-2.4.6-118. Thank you.
Comment 11 errata-xmlrpc 2008-05-21 12:06:45 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.