Paul Raines
2006-Sep-27 20:54 UTC
[Samba] my samba clients keep randomly dropping out of domain trust
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) failed session setup with NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE 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
Felipe Augusto van de Wiel
2006-Oct-03 13:45 UTC
[Samba] my samba clients keep randomly dropping out of domain trust
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/27/2006 05:37 PM, Paul Raines escreveu:> 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) > failed session setup with NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE > > 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.The same machines? Or different ones?> 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 3I have almost no contact with RHEL4, but I would suggest that you upgrade your samba version. You can use [1]Samba Enterprise, samba 3.0.23c is available for RHEL4. 1.http://www.sambaenterprise.org/ Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFImk5Cj65ZxU4gPQRAs3+AKDMeS02LmCEX5nLddfk8jprU20gzwCfWGK3 rTe0Id9Sd2Qhy7JF3RFzBjc=9SER -----END PGP SIGNATURE-----