[Samba] my samba clients keep randomly dropping out of domain trust

Paul Raines raines at nmr.mgh.harvard.edu
Wed Sep 27 20:37:41 GMT 2006

I have one Linux RHEL4 box setup as a PDC and several other Linux RHEL4 
samba servers and Windows XP boxes joined to the domain.  Ever since 
upgrading the Linux box to Samba 3 (they are currently running 
samba-3.0.10) I have problems with the Linux samba clients suddenly 
dropping out of the domain.  Operations suddenly start failing with

[2006/09/27 16:03:25, 3] libsmb/cliconnect.c:cli_session_setup(868)
   SPNEGO login failed: Trust relationship failure
[2006/09/27 16:03:25, 1] libsmb/cliconnect.c:cli_full_connection(1476)

If I simply try running 'net join' it fails.  I have to go to the PDC and 
remove the machine account completely from smbpasswd and /etc/passwd. Then 
I re-add it and can then go to the client and run 'net join' and it 
joins again just fine and everything if happy for another several weeks 
till it seems to randomly drop out again.

When it happens it is always after a reboot and there is evidence it
might be only after a kernel change.  But I never had this problem
before I upgraded the boxes to RHEL4 and started using Samba 3

Paul Raines                email: raines at nmr.mgh.harvard.edu
MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging
149 (2301) 13th Street     Charlestown, MA 02129	    USA

More information about the samba mailing list