[Samba] Error: Failed to open /etc/samba/secrets.tbd

Giuoco, Aaron AGiuoco at atlantia.com
Fri Dec 1 22:11:38 GMT 2006

I finally found the answer to this problem.  The server was running
SELinux and this was causing the error.  I ran the command:

setenforce 0

and then restarted winbind.  Winbind started with no errors.  I got the
solution from the following forum post:


So evidently SELinux and winbind don't play well together.  Does anyone
know of a way to keep SELinux running but put in an exception for the
winbind process?  I tried the suggestion in that forum post with no


> -----Original Message-----
> From: samba-bounces+agiuoco=atlantia.com at lists.samba.org 
> [mailto:samba-bounces+agiuoco=atlantia.com at lists.samba.org] 
> On Behalf Of Giuoco, Aaron
> Sent: Thursday, November 30, 2006 11:35 AM
> To: samba at lists.samba.org
> Subject: [Samba] Error: Failed to open /etc/samba/secrets.tbd
> I am trying to integrate a Red Hat Enterprise Linux 4 server 
> into our Windows 2003 domain.  I was able to successfully 
> join it to our domain, but the WBINFO commands keep failing 
> when I start SMB and WINBIND.  I looked at the log files and 
> found this interesting entry in the /var/log/samba/winbindd.log file:
> [2006/11/29 21:49:11, 1] nsswitch/winbindd.c:main(864)
>   winbindd version 3.0.10-1.4E.9 started.
>   Copyright The Samba Team 2000-2004
> [2006/11/29 21:49:11, 0] passdb/secrets.c:secrets_init(64)
>   Failed to open /etc/samba/secrets.tdb
> [2006/11/29 21:49:11, 0] nsswitch/winbindd.c:main(881)
>   Could not initialize domain trust account secrets. Giving up
> I read in another posting that you could just delete/rename 
> the secrets.tdb file and it would get recreated when the 
> services were restarted.  I tried that and still get the same 
> error.  The WINBIND service can't seem to read that file.  
> Anyone know what the problem could be or how I could 
> troubleshoot it further?
> ___________________________
> Aaron Giuoco
> Systems Admin
> Atlantia Offshore Limited
> e: agiuoco at atlantia.com
> ph: 281-899-4385
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list