Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: Drifting on May 24, 2016, 11:31:57 AM

Title: [SOLVED] Trust relationship lost and the fix
Post by: Drifting on May 24, 2016, 11:31:57 AM
Hi
 
A local charity who I installed and SME 9.* server in, have gone ahead and installed the problematic Samba.

I followed the instructions for downgrading Samba alone, which did not resolve the issue as it still rolled back to a bug version. Then I noticed the announcement on the suggested routine to roll back the updates.
yum history undo <ID number>
Selected the offending update, but sadly got this:-
--> Finished Dependency Resolution
Error: Trying to remove "e-smith-base", which is protected

I have left it there, and thought I better get some advice.

Regards
 
Title: Re: Trust relationship lost and the fix
Post by: Daniel B. on May 24, 2016, 11:36:09 AM
Downgrade samba instead:

Code: [Select]
yum downgrade samba\*
Title: Re: Trust relationship lost and the fix
Post by: Drifting on May 24, 2016, 11:44:20 AM
Downgrade samba instead:

Code: [Select]
yum downgrade samba\*

Thanks for the quick reply.

I did try this as suggested on an earlier post:-

yum downgrade samba\* libsmbclient to
3.6.23-25, which gives you the same problem

Just wanted to make sure I was not messing things up further.

Regards
Title: Re: Trust relationship lost and the fix
Post by: Daniel B. on May 24, 2016, 12:10:42 PM
yum downgrade samba\* libsmbclient to
3.6.23-25, which gives you the same problem

There's no libsmbclient on SME9 (only on SME8). I doubt downgrading samba to a previous version would lead to any e-smith package being removed. Please show the exact command you typed, and the error you got
Title: Re: Trust relationship lost and the fix
Post by: Drifting on May 24, 2016, 12:21:02 PM
There's no libsmbclient on SME9 (only on SME8). I doubt downgrading samba to a previous version would lead to any e-smith package being removed. Please show the exact command you typed, and the error you got

I was following this article first.
https://forums.contribs.org/index.php/topic,52456.0.html


Having ran the this:-

yum downgrade samba\* libsmbclient
Loaded plugins: fastestmirror, smeserver
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * smeaddons: mirror.enpol-ict.net
 * smeextras: mirror.enpol-ict.net
 * smeos: mirror.enpol-ict.net
 * smeupdates: mirror.enpol-ict.net
 * updates: mirror.sov.uk.goscomb.net
base                                                     | 3.7 kB     00:00     
smeaddons                                                | 2.9 kB     00:00     
smeextras                                                | 2.9 kB     00:00     
smeos                                                    | 3.1 kB     00:00     
smeupdates                                               | 2.9 kB     00:00     
updates                                                  | 3.4 kB     00:00     
No Match for available package: samba-doc-3.6.23-20.el6.x86_64
No Match for available package: samba-domainjoin-gui-3.6.23-20.el6.x86_64
No Match for available package: samba-glusterfs-3.6.23-20.el6.x86_64
No Match for available package: samba-swat-3.6.23-20.el6.x86_64
No Match for available package: samba-winbind-devel-3.6.23-20.el6.i686
No Match for available package: samba-winbind-devel-3.6.23-20.el6.x86_64
No Match for available package: samba-winbind-krb5-locator-3.6.23-20.el6.x86_64
No Match for available package: samba4-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-client-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-common-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-dc-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-dc-libs-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-devel-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-libs-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-pidl-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-python-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-swat-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-test-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-winbind-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-winbind-clients-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: samba4-winbind-krb5-locator-4.0.0-66.el6_6.rc4.x86_64
No Match for available package: libsmbclient-3.6.23-20.el6.i686
No Match for available package: libsmbclient-3.6.23-20.el6.x86_64
Resolving Dependencies
--> Running transaction check
---> Package samba.x86_64 0:3.6.23-25.el6_7 will be a downgrade
---> Package samba.x86_64 0:3.6.23-30.el6_7 will be erased
---> Package samba-client.x86_64 0:3.6.23-25.el6_7 will be a downgrade
---> Package samba-client.x86_64 0:3.6.23-30.el6_7 will be erased
---> Package samba-common.x86_64 0:3.6.23-25.el6_7 will be a downgrade
---> Package samba-common.x86_64 0:3.6.23-30.el6_7 will be erased
---> Package samba-winbind.x86_64 0:3.6.23-25.el6_7 will be a downgrade
---> Package samba-winbind.x86_64 0:3.6.23-30.el6_7 will be erased
---> Package samba-winbind-clients.x86_64 0:3.6.23-25.el6_7 will be a downgrade
---> Package samba-winbind-clients.x86_64 0:3.6.23-30.el6_7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch       Version              Repository      Size
================================================================================
Downgrading:
 samba                     x86_64     3.6.23-25.el6_7      smeupdates     5.0 M
 samba-client              x86_64     3.6.23-25.el6_7      smeupdates      11 M
 samba-common              x86_64     3.6.23-25.el6_7      smeupdates      10 M
 samba-winbind             x86_64     3.6.23-25.el6_7      smeupdates     2.2 M
 samba-winbind-clients     x86_64     3.6.23-25.el6_7      smeupdates     2.0 M

Transaction Summary
================================================================================
Downgrade     5 Package(s)

Total download size: 30 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): samba-3.6.23-25.el6_7.x86_64.rpm                  | 5.0 MB     00:00     
(2/5): samba-client-3.6.23-25.el6_7.x86_64.rpm           |  11 MB     00:01     
(3/5): samba-common-3.6.23-25.el6_7.x86_64.rpm           |  10 MB     00:01     
(4/5): samba-winbind-3.6.23-25.el6_7.x86_64.rpm          | 2.2 MB     00:00     
(5/5): samba-winbind-clients-3.6.23-25.el6_7.x86_64.rpm  | 2.0 MB     00:00     
--------------------------------------------------------------------------------
Total                                           7.8 MB/s |  30 MB     00:03     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : samba-common-3.6.23-25.el6_7.x86_64                         1/10
  Installing : samba-winbind-clients-3.6.23-25.el6_7.x86_64                2/10
  Installing : samba-winbind-3.6.23-25.el6_7.x86_64                        3/10
  Installing : samba-client-3.6.23-25.el6_7.x86_64                         4/10
  Installing : samba-3.6.23-25.el6_7.x86_64                                5/10
  Cleanup    : samba-3.6.23-30.el6_7.x86_64                                6/10
  Cleanup    : samba-client-3.6.23-30.el6_7.x86_64                         7/10
  Cleanup    : samba-common-3.6.23-30.el6_7.x86_64                         8/10
  Cleanup    : samba-winbind-3.6.23-30.el6_7.x86_64                        9/10
  Cleanup    : samba-winbind-clients-3.6.23-30.el6_7.x86_64               10/10
  Verifying  : samba-client-3.6.23-25.el6_7.x86_64                         1/10
  Verifying  : samba-winbind-3.6.23-25.el6_7.x86_64                        2/10
  Verifying  : samba-3.6.23-25.el6_7.x86_64                                3/10
  Verifying  : samba-common-3.6.23-25.el6_7.x86_64                         4/10
  Verifying  : samba-winbind-clients-3.6.23-25.el6_7.x86_64                5/10
  Verifying  : samba-client-3.6.23-30.el6_7.x86_64                         6/10
  Verifying  : samba-3.6.23-30.el6_7.x86_64                                7/10
  Verifying  : samba-winbind-clients-3.6.23-30.el6_7.x86_64                8/10
  Verifying  : samba-common-3.6.23-30.el6_7.x86_64                         9/10
  Verifying  : samba-winbind-3.6.23-30.el6_7.x86_64                       10/10

Removed:
  samba.x86_64 0:3.6.23-30.el6_7                                               
  samba-client.x86_64 0:3.6.23-30.el6_7                                         
  samba-common.x86_64 0:3.6.23-30.el6_7                                         
  samba-winbind.x86_64 0:3.6.23-30.el6_7                                       
  samba-winbind-clients.x86_64 0:3.6.23-30.el6_7                               

Installed:
  samba.x86_64 0:3.6.23-25.el6_7                                               
  samba-client.x86_64 0:3.6.23-25.el6_7                                         
  samba-common.x86_64 0:3.6.23-25.el6_7                                         
  samba-winbind.x86_64 0:3.6.23-25.el6_7                                       
  samba-winbind-clients.x86_64 0:3.6.23-25.el6_7

Problem still existed, so found the article about rolling back the update.

yum history
Loaded plugins: fastestmirror, smeserver
ID     | Login user               | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
     3 | root <root>              | 2016-05-24 10:16 | Downgrade      |    5   
     2 | System <unset>           | 2016-05-21 13:29 | I, U           |   93 EE
     1 | System <unset>           | 2016-05-15 00:15 | Install        |  692   
history list
[root@dc01 ~]# yum history undo 3

--> Finished Dependency Resolution
Error: Trying to remove "e-smith-base", which is protected

Was the error at the end.

Regards
Title: Re: Trust relationship lost and the fix
Post by: Daniel B. on May 24, 2016, 12:22:32 PM
You have to reboot (or restart smbd) after you have downgrade samba packages
Title: Re: Trust relationship lost and the fix
Post by: Drifting on May 24, 2016, 12:35:19 PM
You have to reboot (or restart smbd) after you have downgrade samba packages

Slaps head, panic mode over, that was it. Thank you so much.

Title: Re: Trust relationship lost and the fix
Post by: guest22 on May 24, 2016, 10:42:44 PM
Please add [SOLVED] to the original subject if it is solved.