Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 453101 - winbind gives up but reports successful startup
Summary: winbind gives up but reports successful startup
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: samba
Version: 4.7
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Guenther Deschner
QA Contact: qe-baseos-daemons
Depends On:
TreeView+ depends on / blocked
Reported: 2008-06-27 10:13 UTC by Petr Šplíchal
Modified: 2016-06-01 01:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-10 14:49:53 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Petr Šplíchal 2008-06-27 10:13:03 UTC
Description of problem:
winbind's init script reports successful startup despite the fact that winbind
gives up because of denied access to trust account secrets (happens for example
when /etc/samba/secrets.tdb has got a wrong selinux context, bug #452082).

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

How reproducible:

Steps to Reproduce:
change selinux context of /etc/samba/secrets.tdb
(or chmod ugo-rwx /etc/samba/secrets.tdb)
service winbind start
Actual results:
Starting Winbind services: [  OK  ]
# echo $?
# service winbind status
winbindd dead but subsys locked

Expected results:
Starting Winbind services: [FAILED]

Additional info:
# tail /var/log/samba/winbindd.log 
  Failed to open /etc/samba/secrets.tdb
  Could not initialize domain trust account secrets. Giving up

Comment 1 Dmitri Pal 2010-05-10 14:49:53 UTC
The related SELinux bug was solved but reporting the correct error in all situations is not possible.

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