[Samba] Installing Samba 4 on Redhat 6.

Mark London mrl at psfc.mit.edu
Thu Jul 9 05:43:26 UTC 2020


Hi - Samba 3 had been running for years on a Redhat 6 box that I can't 
upgrade.    Suddenly it stopped allowing windows client to access it.  
After trying many things,  I then tried a "net ads leave" and then tried 
a "net ads join."   The join fails with this error message:

          Failed to join domain: failed to lookup DC info for domain 
'PSFC.MIT.EDU' over rpc: Unexpected information received

I can duplicate the problem on a clean install of Samba 3 on another 
Redhat 6 computer.    I can't find anyone with a similar error message 
on the web.   I can post the debug output from the join command, if 
anyone thinks they can help debug the problem.

But since Samba 3 is no longer supported, I thought it best to try and 
install Samba 4.   The problem is that Yum complains that Samba 3 
conflicts with it.  See below.   And when I try to erase samba 3, it 
says it has to remove kdebase and kdm and related packages. Does anyone 
know a work around?   Can I forcibly remove the old Samba 3 without 
removing the dependencies?  Thanks. - Mark

.....

Error: samba4-common conflicts with samba-common-3.6.23-53.el6_10.x86_64
Error: samba4 conflicts with samba-3.6.23-53.el6_10.x86_64

[root] # yum erase samba samba-common
Loaded plugins: enabled_repos_upload, package_upload, product-id, refresh-
               : packagekit, search-disabled-repos, security, subscription-
               : manager
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package samba.x86_64 0:3.6.23-14.el6_6 will be erased
---> Package samba-common.x86_64 0:3.6.23-14.el6_6 will be erased
--> Processing Dependency: samba-common = 3.6.23-14.el6_6 for package: 
samba-winbind-3.6.23-14.el6_6.x86_64
--> Processing Dependency: samba-common = 3.6.23-14.el6_6 for package: 
samba-client-3.6.23-14.el6_6.x86_64
--> Running transaction check
---> Package samba-client.x86_64 0:3.6.23-14.el6_6 will be erased
---> Package samba-winbind.x86_64 0:3.6.23-14.el6_6 will be erased
--> Processing Dependency: samba-winbind = 3.6.23-14.el6_6 for package: 
samba-winbind-clients-3.6.23-14.el6_6.x86_64
--> Running transaction check
---> Package samba-winbind-clients.x86_64 0:3.6.23-14.el6_6 will be erased
--> Processing Dependency: libwbclient.so.0()(64bit) for package: 
libsmbclient-3.6.23-14.el6_6.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: 
cifs-utils-4.8.1-20.el6.x86_64
--> Processing Dependency: samba-winbind-clients = 3.6.23-14.el6_6 for 
package: libsmbclient-3.6.23-14.el6_6.x86_64
--> Running transaction check
---> Package cifs-utils.x86_64 0:4.8.1-20.el6 will be erased
---> Package libsmbclient.x86_64 0:3.6.23-14.el6_6 will be erased
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: 
kdebase-runtime-libs-4.3.4-9.el6.x86_64
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: 
gvfs-smb-1.4.3-27.el6.x86_64
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: 
gnome-vfs2-smb-2.24.2-8.el6.x86_64
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: 
system-config-printer-libs-1.1.16-26.el6.x86_64
--> Processing Dependency: libsmbclient >= 3.0.8-0.pre1.3 for package: 
gnome-vfs2-smb-2.24.2-8.el6.x86_64
--> Running transaction check
---> Package gnome-vfs2-smb.x86_64 0:2.24.2-8.el6 will be erased
---> Package gvfs-smb.x86_64 0:1.4.3-27.el6 will be erased
---> Package kdebase-runtime-libs.x86_64 0:4.3.4-9.el6 will be erased
--> Processing Dependency: libkwalletbackend.so.4()(64bit) for package: 
kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: libmolletnetwork.so.4()(64bit) for package: 
kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: kdebase-runtime-libs(x86-64) = 4.3.4-9.el6 
for package: kdebase-runtime-4.3.4-9.el6.x86_64
---> Package system-config-printer-libs.x86_64 0:1.1.16-26.el6 will be 
erased
--> Processing Dependency: system-config-printer-libs = 1.1.16-26.el6 
for package: system-config-printer-udev-1.1.16-26.el6.x86_64
--> Processing Dependency: system-config-printer-libs = 1.1.16-26.el6 
for package: system-config-printer-1.1.16-26.el6.x86_64
--> Running transaction check
---> Package kdebase-runtime.x86_64 0:4.3.4-9.el6 will be erased
--> Processing Dependency: kdebase-runtime >= 4.3.4 for package: 
kdebase-workspace-4.3.4-37.el6.x86_64
--> Processing Dependency: kdebase-runtime for package: 
6:kdebase-4.3.4-10.el6.x86_64
---> Package system-config-printer.x86_64 0:1.1.16-26.el6 will be erased
---> Package system-config-printer-udev.x86_64 0:1.1.16-26.el6 will be 
erased
--> Running transaction check
---> Package kdebase.x86_64 6:4.3.4-10.el6 will be erased
--> Processing Dependency: kdebase4(x86-64) >= 4.3.3 for package: 
konq-plugins-4.3.3-5.el6.x86_64
---> Package kdebase-workspace.x86_64 0:4.3.4-37.el6 will be erased
--> Processing Dependency: kdebase-workspace >= 4.3.4 for package: 
6:kdemultimedia-4.3.4-3.el6.x86_64
--> Processing Dependency: kdebase-workspace = 4.3.4-37.el6 for package: 
kdebase-workspace-libs-4.3.4-37.el6.x86_64
--> Running transaction check
---> Package kdebase-workspace-libs.x86_64 0:4.3.4-37.el6 will be erased
--> Processing Dependency: libkscreensaver.so.5()(64bit) for package: 
kdeartwork-screensavers-4.3.4-7.el6.x86_64
--> Processing Dependency: libkworkspace.so.4()(64bit) for package: 
kdm-4.3.4-37.el6.x86_64
--> Processing Dependency: libkworkspace.so.4()(64bit) for package: 
kdeplasma-addons-4.3.4-5.el6.x86_64
--> Processing Dependency: libplasmaclock.so.4()(64bit) for package: 
kdeplasma-addons-4.3.4-5.el6.x86_64
--> Processing Dependency: libsolidcontrol.so.4()(64bit) for package: 
kdeplasma-addons-4.3.4-5.el6.x86_64
--> Processing Dependency: libtaskmanager.so.4()(64bit) for package: 
kdeplasma-addons-4.3.4-5.el6.x86_64
--> Processing Dependency: libweather_ion.so.4()(64bit) for package: 
kdeplasma-addons-4.3.4-5.el6.x86_64
--> Processing Dependency: libweather_ion.so.4()(64bit) for package: 
kdeplasma-addons-libs-4.3.4-5.el6.x86_64
--> Processing Dependency: kdebase-workspace-libs(x86-64) = 4.3.4-37.el6 
for package: kdm-4.3.4-37.el6.x86_64
---> Package kdemultimedia.x86_64 6:4.3.4-3.el6 will be erased
---> Package konq-plugins.x86_64 0:4.3.3-5.el6 will be erased
--> Running transaction check
---> Package kdeartwork-screensavers.x86_64 0:4.3.4-7.el6 will be erased
---> Package kdeplasma-addons.x86_64 0:4.3.4-5.el6 will be erased
---> Package kdeplasma-addons-libs.x86_64 0:4.3.4-5.el6 will be erased
---> Package kdm.x86_64 0:4.3.4-37.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
  Package                    Arch   Version Repository              Size
================================================================================
Removing:
  samba                      x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6   18 M
  samba-common               x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6   36 M
Removing for dependencies:
  cifs-utils                 x86_64 4.8.1-20.el6 @rhel-x86_64-server-6  
135 k
  gnome-vfs2-smb             x86_64 2.24.2-8.el6 @rhel-x86_64-server-6   
32 k
  gvfs-smb                   x86_64 1.4.3-27.el6 @rhel-x86_64-server-6  
303 k
  kdeartwork-screensavers    x86_64 4.3.4-7.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
788 k
  kdebase                    x86_64 6:4.3.4-10.el6 
@rhel-x86_64-server-6   12 M
  kdebase-runtime            x86_64 4.3.4-9.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
13 M
  kdebase-runtime-libs       x86_64 4.3.4-9.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
4.4 M
  kdebase-workspace          x86_64 4.3.4-37.el6 @rhel-x86_64-server-6   
26 M
  kdebase-workspace-libs     x86_64 4.3.4-37.el6 @rhel-x86_64-server-6  
2.2 M
  kdemultimedia              x86_64 6:4.3.4-3.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
2.6 M
  kdeplasma-addons           x86_64 4.3.4-5.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
5.5 M
  kdeplasma-addons-libs      x86_64 4.3.4-5.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
866 k
  kdm                        x86_64 4.3.4-37.el6 @rhel-x86_64-server-6  
2.9 M
  konq-plugins               x86_64 4.3.3-5.el6 
@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
4.3 M
  libsmbclient               x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6  5.7 M
  samba-client               x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6   39 M
  samba-winbind              x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6  7.7 M
  samba-winbind-clients      x86_64 3.6.23-14.el6_6 
@rhel-x86_64-server-6  6.4 M
  system-config-printer      x86_64 1.1.16-26.el6 @rhel-x86_64-server-6  
1.9 M
  system-config-printer-libs x86_64 1.1.16-26.el6 @rhel-x86_64-server-6  
3.5 M
  system-config-printer-udev x86_64 1.1.16-26.el6 
@rhel-x86_64-server-6   29 k

T



More information about the samba mailing list