Error: samba4-common conflicts with samba-common-3.6.9-167.el6_5.x86_64

Latest response

Fresh install of rhel 6.5

then

yum -y update

yum -y install samba samba-client samba-common samba-winbind samba-winbind-clients

then I get

--> Running transaction check
---> Package samba4-common.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
---> Package samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
--> Processing Conflict: samba4-common-4.0.0-60.el6_5.rc4.x86_64 conflicts samba-common < 3.9.9
--> Finished Dependency Resolution
Error: samba4-common conflicts with samba-common-3.6.9-167.el6_5.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

yum -y --skip-broken install samba samba-client samba-common samba-winbind samba-winbind-clients

then I get

--> Running transaction check
---> Package samba4-common.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
---> Package samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
--> Processing Conflict: samba4-common-4.0.0-60.el6_5.rc4.x86_64 conflicts samba-common < 3.9.9

Packages skipped because of dependency problems:
samba4-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms
samba4-common-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms
samba4-libs-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms

then

rpm -qa| grep samba
samba-winbind-clients-3.6.9-167.el6_5.x86_64
samba-client-3.6.9-167.el6_5.x86_64
samba-common-3.6.9-167.el6_5.x86_64
samba-winbind-3.6.9-167.el6_5.x86_64

then

yum remove samba-common-*

Running Transaction
Erasing : samba-client-3.6.9-167.el6_5.x86_64 1/4
Erasing : samba-winbind-3.6.9-167.el6_5.x86_64 2/4
Erasing : samba-common-3.6.9-167.el6_5.x86_64 3/4
Erasing : samba-winbind-clients-3.6.9-167.el6_5.x86_64 4/4
rhel-6-desktop-rpms/productid | 1.7 kB 00:00
Verifying : samba-common-3.6.9-167.el6_5.x86_64 1/4
Verifying : samba-winbind-clients-3.6.9-167.el6_5.x86_64 2/4
Verifying : samba-client-3.6.9-167.el6_5.x86_64 3/4
Verifying : samba-winbind-3.6.9-167.el6_5.x86_64 4/4

Removed:
samba-common.x86_64 0:3.6.9-167.el6_5

Dependency Removed:
samba-client.x86_64 0:3.6.9-167.el6_5 samba-winbind.x86_64 0:3.6.9-167.el6_5 samba-winbind-clients.x86_64 0:3.6.9-167.el6_5

Complete!

then

[root@ece211-2517 ~]# rpm -qa| grep samba
[root@ece211-2517 ~]#

then

[root@ece211-2517 ~]# yum -y --skip-broken install samba samba-client samba-common samba-winbind samba-winbind-clients
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-client-rhev-agent-rpms | 3.1 kB 00:00
rhel-6-desktop-rpms | 3.7 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba-client.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-common.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-winbind.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-winbind-clients.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba4.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
--> Processing Dependency: samba4-libs = 4.0.0-60.el6_5.rc4 for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: samba4-common = 4.0.0-60.el6_5.rc4 for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libxattr_tdb.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libwbclient.so.0(WBCLIENT_0.9)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libutil_tdb.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libutil_reg.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libtevent-util.so.0(TEVENT_UTIL_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbregistry.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbd_shim.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbd_base.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbconf.so.0(SMBCONF_0)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmb_transport.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsecrets3.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba3-util.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-util.so.0(SAMBA_UTIL_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-sockets.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-security.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-hostconfig.so.0(SAMBA_HOSTCONFIG_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libreplace.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libpopt_samba3.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libpdb.so.0(PDB_0)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr.so.0(NDR_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-standard.so.0(NDR_STANDARD_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-samba.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-nbt.so.0(NDR_NBT_0.0.1)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: liblibsmb.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libgse.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: liberrors.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libdbwrap.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcliauth.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli_smb_common.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli_cldap.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli-nbt.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libauth.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libCHARSET3.so(SAMBA_4.0.0RC4)(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libxattr_tdb.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libutil_tdb.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libutil_reg.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libtevent-util.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbregistry.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbd_shim.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbd_base.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmbconf.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsmb_transport.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsecrets3.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba3-util.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-util.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-sockets.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-security.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libsamba-hostconfig.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libreplace.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libpopt_samba3.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libpdb.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-standard.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-samba.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libndr-nbt.so.0()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: liblibsmb.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libgse.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: liberrors.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libdbwrap.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcliauth.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli_smb_common.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli_cldap.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libcli-nbt.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libauth.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Processing Dependency: libCHARSET3.so()(64bit) for package: samba4-4.0.0-60.el6_5.rc4.x86_64
--> Running transaction check
---> Package samba4-common.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
---> Package samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
--> Processing Conflict: samba4-common-4.0.0-60.el6_5.rc4.x86_64 conflicts samba-common < 3.9.9
--> Running transaction check
---> Package samba4.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
---> Package samba4-common.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
---> Package samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4 will be installed
--> Running transaction check
---> Package samba-client.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-common.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-winbind.x86_64 0:3.6.9-167.el6_5 will be installed
---> Package samba-winbind-clients.x86_64 0:3.6.9-167.el6_5 will be installed
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
samba4-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms
samba4-common-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms
samba4-libs-4.0.0-60.el6_5.rc4.x86_64 from rhel-6-desktop-rpms

Dependencies Resolved

===================================================================================================================================================

Package Arch Version Repository Size

Installing:
samba-client x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 11 M
samba-common x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 10 M
samba-winbind x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 2.1 M
samba-winbind-clients x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 2.0 M
Skipped (dependency problems):
samba4 x86_64 4.0.0-60.el6_5.rc4 rhel-6-desktop-rpms 359 k
samba4-common x86_64 4.0.0-60.el6_5.rc4 rhel-6-desktop-rpms 611 k
samba4-libs x86_64 4.0.0-60.el6_5.rc4 rhel-6-desktop-rpms 4.0 M

Transaction Summary

Install 4 Package(s)

Total download size: 25 M
Installed size: 89 M
Downloading Packages:
(1/4): samba-client-3.6.9-167.el6_5.x86_64.rpm | 11 MB 00:04
(2/4): samba-common-3.6.9-167.el6_5.x86_64.rpm | 10 MB 00:03
(3/4): samba-winbind-3.6.9-167.el6_5.x86_64.rpm | 2.1 MB 00:01

(4/4): samba-winbind-clients-3.6.9-167.el6_5.x86_64.rpm | 2.0 MB 00:01

Total 2.0 MB/s | 25 MB 00:12
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : samba-common-3.6.9-167.el6_5.x86_64 1/4
Installing : samba-winbind-clients-3.6.9-167.el6_5.x86_64 2/4
Installing : samba-winbind-3.6.9-167.el6_5.x86_64 3/4
Installing : samba-client-3.6.9-167.el6_5.x86_64 4/4
Verifying : samba-winbind-3.6.9-167.el6_5.x86_64 1/4
Verifying : samba-winbind-clients-3.6.9-167.el6_5.x86_64 2/4
Verifying : samba-common-3.6.9-167.el6_5.x86_64 3/4
Verifying : samba-client-3.6.9-167.el6_5.x86_64 4/4

Installed:
samba-client.x86_64 0:3.6.9-167.el6_5 samba-common.x86_64 0:3.6.9-167.el6_5 samba-winbind.x86_64 0:3.6.9-167.el6_5
samba-winbind-clients.x86_64 0:3.6.9-167.el6_5

Skipped (dependency problems):
samba4.x86_64 0:4.0.0-60.el6_5.rc4 samba4-common.x86_64 0:4.0.0-60.el6_5.rc4 samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4

Complete!

I can't install samba on rhel 6.5

Responses

samba4 packages included in RHEL6 are only included to provide libraries to other components, they do not provide complete samba4 installation.

What type of install did you do of the RHEL 6.5 server? was it 'Everything' ?

My suggested fix is to remove samba4-common to resolve the conflict.

yum remove samba4-common samba4-client samba4-libs

Then install the 3.x release

yum install samba

Same problem here after fresh install:
I can't install samba on rhel 6.5

Suggested fix dosnt help.

Please anyone.

What error do you get when installing samba? Can you include the command you are using, and the error you are getting.

Can you also paste in the output of 'rpm -qa | grep samba' so I can see where you're install is at.

Did you select 'Everything' for the install (out of interest?)

Hello Frank,

Why do you want/need to install samba (version3) and samba4 (version4) on the same server?
Even if you would manage to do so, only one configuration would work without creating a complicated configuration.

The installation errors you get are common, for these double version installation is not supported.

If you really need this double version installation you have to open a support case at https://access.redhat.com

Kind regards,

Jan Gerrit Kootstra

As mentioned in my above post, even if you did get both installed, the Samba4 shipped with RHEL 6 isn't a fully functioning Samba implementation it's merely there to provide libraries to other components.

I believe where people get tripped up is when they install all packages and Samba4 ends up taking precedence over Samba3 but in RHEL6 Samba4 doesn't actually provide full Samba functionality.

Hi

Well, I think I have the same problem as Frank.
The installation of Rhel 6.5 desktop installs double Samba version:

kim@redhat6 ~]$ rpm -qa | grep samba
samba4-libs-4.0.0-60.el6_5.rc4.x86_64
samba-common-3.6.9-167.el6_5.x86_64
samba-winbind-clients-3.6.9-167.el6_5.x86_64
samba-winbind-3.6.9-167.el6_5.x86_64
samba-client-3.6.9-167.el6_5.x86_64

Regards Kim

It's interesting because you already have the Samba 3 version of samba-common installed, what error are you getting?

From your rpm output can I suggest (for a clean install)

Remove what you have:

yum remove samba4-libs samba-common samba-winbind-clients samba-winbind samba-client

Install just Samba 3 from scratch

yum install samba

Let me know if you get any yum errors doing these steps!

Removing:
yum remove samba4-libs samba-common samba-winbind-clients samba-winbind samba-client

Dependencies Resolved

====================================================================================================

Package Arch Version Repository Size

Removing:
samba-client x86_64 3.6.9-167.el6_5 @rhel-6-desktop-rpms 39 M
samba-common x86_64 3.6.9-167.el6_5 @rhel-6-desktop-rpms 36 M
samba-winbind x86_64 3.6.9-167.el6_5 @rhel-6-desktop-rpms 7.7 M
samba-winbind-clients x86_64 3.6.9-167.el6_5 @rhel-6-desktop-rpms 6.4 M
samba4-libs x86_64 4.0.0-60.el6_5.rc4 @rhel-6-desktop-rpms 16 M
Removing for dependencies:
samba4-devel x86_64 4.0.0-60.el6_5.rc4 @rhel-6-desktop-rpms 1.5 M

Transaction Summary

Remove 6 Package(s)

Installed size: 106 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : samba4-devel-4.0.0-60.el6_5.rc4.x86_64 1/6
Erasing : samba-client-3.6.9-167.el6_5.x86_64 2/6
Erasing : samba4-libs-4.0.0-60.el6_5.rc4.x86_64 3/6
Erasing : samba-common-3.6.9-167.el6_5.x86_64 4/6
advarsel: /etc/samba/smb.conf gemt som /etc/samba/smb.conf.rpmsave
Erasing : samba-winbind-clients-3.6.9-167.el6_5.x86_64 5/6
Erasing : samba-winbind-3.6.9-167.el6_5.x86_64 6/6
Verifying : samba4-devel-4.0.0-60.el6_5.rc4.x86_64 1/6
Verifying : samba4-libs-4.0.0-60.el6_5.rc4.x86_64 2/6
Verifying : samba-winbind-3.6.9-167.el6_5.x86_64 3/6
Verifying : samba-winbind-clients-3.6.9-167.el6_5.x86_64 4/6
Verifying : samba-common-3.6.9-167.el6_5.x86_64 5/6
Verifying : samba-client-3.6.9-167.el6_5.x86_64 6/6

Removed:
samba-client.x86_64 0:3.6.9-167.el6_5 samba-common.x86_64 0:3.6.9-167.el6_5
samba-winbind.x86_64 0:3.6.9-167.el6_5 samba-winbind-clients.x86_64 0:3.6.9-167.el6_5
samba4-libs.x86_64 0:4.0.0-60.el6_5.rc4

Dependency Removed:
samba4-devel.x86_64 0:4.0.0-60.el6_5.rc4

Complete!

Install just Samba 3 from scratch:
yum install samba-common
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-desktop-rpms | 3.7 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba-common.x86_64 0:3.6.9-167.el6_5 will be installed
--> Processing Dependency: samba-winbind-clients = 3.6.9-167.el6_5 for package: samba-common-3.6.9-167.el6_5.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: samba-common-3.6.9-167.el6_5.x86_64
--> Running transaction check
---> Package samba-winbind-clients.x86_64 0:3.6.9-167.el6_5 will be installed
--> Processing Dependency: samba-winbind = 3.6.9-167.el6_5 for package: samba-winbind-clients-3.6.9-167.el6_5.x86_64
--> Running transaction check
---> Package samba-winbind.x86_64 0:3.6.9-167.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================

Package Arch Version Repository Size

Installing:
samba-common x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 10 M
Installing for dependencies:
samba-winbind x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 2.1 M
samba-winbind-clients x86_64 3.6.9-167.el6_5 rhel-6-desktop-rpms 2.0 M

Transaction Summary

Install 3 Package(s)

Total download size: 14 M
Installed size: 50 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): samba-common-3.6.9-167.el6_5.x86_64.rpm | 10 MB 00:02
(2/3): samba-winbind-3.6.9-167.el6_5.x86_64.rpm | 2.1 MB 00:01

(3/3): samba-winbind-clients-3.6.9-167.el6_5.x86_64.rpm | 2.0 MB 00:01

Total 1.9 MB/s | 14 MB 00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : samba-winbind-clients-3.6.9-167.el6_5.x86_64 1/3
Installing : samba-common-3.6.9-167.el6_5.x86_64 2/3
Installing : samba-winbind-3.6.9-167.el6_5.x86_64 3/3
Verifying : samba-common-3.6.9-167.el6_5.x86_64 1/3
Verifying : samba-winbind-clients-3.6.9-167.el6_5.x86_64 2/3
Verifying : samba-winbind-3.6.9-167.el6_5.x86_64 3/3

Installed:
samba-common.x86_64 0:3.6.9-167.el6_5

Dependency Installed:
samba-winbind.x86_64 0:3.6.9-167.el6_5 samba-winbind-clients.x86_64 0:3.6.9-167.el6_5

Complete!

Then again if i run:

[kim@redhat6 ~]$ rpm -qa | grep samba
samba4-pidl-4.0.0-60.el6_5.rc4.x86_64
samba-winbind-clients-3.6.9-167.el6_5.x86_64
samba-common-3.6.9-167.el6_5.x86_64
samba4-dc-libs-4.0.0-60.el6_5.rc4.x86_64
samba-winbind-3.6.9-167.el6_5.x86_64
samba4-dc-4.0.0-60.el6_5.rc4.x86_64

And this one:
[kim@redhat6 ~]$service smb start
smb: unknown service

Regards Kim

I then tried to remove the Samba4 parts:

samba4-pidl-4.0.0-60.el6_5.rc4.x86_64
samba4-dc-libs-4.0.0-60.el6_5.rc4.x86_64
samba4-dc-4.0.0-60.el6_5.rc4.x86_64

Still "yum install samba-common" looks to install correct,
but still smb/nmb service is unknown.

Then I tried installer from this page:
http://rpm.pbone.net/index.php3/stat/4/idpl/25012548/dir/centos_6/com/samba-3.6.9-167.el6_5.x86_64.rpm.html

Bingo:
[kim@redhat6 ~]$ sudo service smb start
[sudo] password for kim:
Starter SMB-tjenester: [ O.k. ]
[kim@redhat6 ~]$

Regards Kim

KIm,

Apologies, the "Install just Samba 3 from scratch" should have been 'samba' not 'samba-common', I wasn't near a server when I wrote the example (I have fixed my original post for anyone else reading it)

After removing all samba components (to clear out Samba 4 that you aren't using) just install the 'samba' package, this will install Samba 3 and no Samba 4 components.

yum install samba

There is no need to go an fetch CentOS packages from another repository, these are all available in the repo. I would suggest reinstalling your Samba using the samba package from the Red Hat repository.

This is on Red Hat 6.4

[root@server64 ~]# rpm -qa | grep samba


[root@server64 ~]# yum install samba -y
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba.x86_64 0:3.6.9-151.el6 will be installed
--> Processing Dependency: samba-winbind-clients = 3.6.9-151.el6 for package: samba-3.6.9-151.el6.x86_64
--> Processing Dependency: samba-common = 3.6.9-151.el6 for package: samba-3.6.9-151.el6.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: samba-3.6.9-151.el6.x86_64
--> Running transaction check
---> Package samba-common.x86_64 0:3.6.9-151.el6 will be installed
---> Package samba-winbind-clients.x86_64 0:3.6.9-151.el6 will be installed
--> Processing Dependency: samba-winbind = 3.6.9-151.el6 for package: samba-winbind-clients-3.6.9-151.el6.x86_64
--> Running transaction check
---> Package samba-winbind.x86_64 0:3.6.9-151.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                             Arch                                 Version                                        Repository                            Size
====================================================================================================================================================================================
Installing:
 samba                                               x86_64                               3.6.9-151.el6                                  rhel64                               5.0 M
Installing for dependencies:
 samba-common                                        x86_64                               3.6.9-151.el6                                  rhel64                                10 M
 samba-winbind                                       x86_64                               3.6.9-151.el6                                  rhel64                               2.2 M
 samba-winbind-clients                               x86_64                               3.6.9-151.el6                                  rhel64                               2.0 M

Transaction Summary
====================================================================================================================================================================================
Install       4 Package(s)

Total download size: 19 M
Installed size: 68 M
Downloading Packages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                               160 MB/s |  19 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : samba-winbind-3.6.9-151.el6.x86_64                                                                                                                               1/4 
  Installing : samba-winbind-clients-3.6.9-151.el6.x86_64                                                                                                                       2/4 
  Installing : samba-common-3.6.9-151.el6.x86_64                                                                                                                                3/4 
  Installing : samba-3.6.9-151.el6.x86_64                                                                                                                                       4/4 
  Verifying  : samba-winbind-clients-3.6.9-151.el6.x86_64                                                                                                                       1/4 
  Verifying  : samba-winbind-3.6.9-151.el6.x86_64                                                                                                                               2/4 
  Verifying  : samba-3.6.9-151.el6.x86_64                                                                                                                                       3/4 
  Verifying  : samba-common-3.6.9-151.el6.x86_64                                                                                                                                4/4 

Installed:
  samba.x86_64 0:3.6.9-151.el6                                                                                                                                                      

Dependency Installed:
  samba-common.x86_64 0:3.6.9-151.el6                     samba-winbind.x86_64 0:3.6.9-151.el6                     samba-winbind-clients.x86_64 0:3.6.9-151.el6                    

Complete!
[root@server64 ~]# service smb start
Starting SMB services:                                     [  OK  ]


[root@server64 ~]# rpm -qa | grep samba
samba-common-3.6.9-151.el6.x86_64
samba-3.6.9-151.el6.x86_64
samba-winbind-3.6.9-151.el6.x86_64
samba-winbind-clients-3.6.9-151.el6.x86_64

Hi, There were some file conflict about samba when i installed RHEL6.10 via kickstart,my packages selection in kickstart file as follow:

%packages --ignoremissing .x86_64 *.i686 *.noarch -rsyslog7

-samba

-samba4.x86_64 -samba4-client -samba4-common.x86_64 -samba4-dc -samba4-dc-libs -samba4-devel -samba4-libs -samba4-pidl -samba4-python -samba4-test -samba4-winbind*.x86_64 -samba4-winbind-clients -samba4-winbind-krb5-locator -samba-client

-samba-common*.x86_64

-samba-common*.i686

-samba-winbind*.x86_64 -samba-winbind-clients*.x86_64

-samba-winbind-clients.i686 -sblim-cmpi-samba.x86_64 -sblim-cmpi-samba.i686 -openhpi32 -squid34 -cpupowerutils -libcmpiCppImpl0 -@Conflicts %end

and the error outputs from screen as follow: 02:49:14,082 INFO : Preparing to install packages 02:49:40,511 ERROR : file conflicts: file /etc/rc.d/init.d/winbind conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,511 ERROR : file conflicts: file /usr/lib64/samba/idmap/ad.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,511 ERROR : file conflicts: file /usr/lib64/samba/idmap/autorid.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/idmap/hash.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/idmap/rid.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/idmap/tdb2.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/nss_info/hash.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/nss_info/rfc2307.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,512 ERROR : file conflicts: file /usr/lib64/samba/nss_info/sfu.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,513 ERROR : file conflicts: file /usr/lib64/samba/nss_info/sfu20.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,513 ERROR : file conflicts: file /usr/sbin/winbindd conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,513 ERROR : file conflicts: file /usr/share/man/man8/idmap_ad.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,513 ERROR : file conflicts: file /usr/share/man/man8/idmap_autorid.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,513 ERROR : file conflicts: file /usr/share/man/man8/idmap_hash.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,514 ERROR : file conflicts: file /usr/share/man/man8/idmap_ldap.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,514 ERROR : file conflicts: file /usr/share/man/man8/idmap_nss.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,514 ERROR : file conflicts: file /usr/share/man/man8/idmap_rid.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,514 ERROR : file conflicts: file /usr/share/man/man8/idmap_tdb.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,514 ERROR : file conflicts: file /usr/share/man/man8/idmap_tdb2.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /usr/share/man/man8/winbindd.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /etc/samba/smb.conf conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /etc/sysconfig/samba conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /usr/bin/net conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /usr/bin/pdbedit conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,515 ERROR : file conflicts: file /usr/bin/profiles conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,516 ERROR : file conflicts: file /usr/bin/smbcontrol conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,516 ERROR : file conflicts: file /usr/bin/testparm conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,516 ERROR : file conflicts: file /usr/share/man/man1/profiles.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,516 ERROR : file conflicts: file /usr/share/man/man1/smbcontrol.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,516 ERROR : file conflicts: file /usr/share/man/man1/testparm.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man5/lmhosts.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man5/smb.conf.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man5/smbpasswd.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man8/net.8.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man8/pdbedit.8.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,517 ERROR : file conflicts: file /usr/share/man/man1/smbstatus.1.gz conflicts between attempted installs of samba4-0:4.2.10-15.el6.x86_64 and samba-common-0:3.6.23-51.el6.x86_64 02:49:40,518 ERROR : file conflicts: file /etc/openldap/schema/samba.schema conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,518 ERROR : file conflicts: file /etc/rc.d/init.d/nmb conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,518 ERROR : file conflicts: file /etc/rc.d/init.d/smb conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,518 ERROR : file conflicts: file /usr/bin/eventlogadm conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,518 ERROR : file conflicts: file /usr/bin/smbstatus conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/auth/script.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/vfs/acl_tdb.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/vfs/acl_xattr.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/vfs/aio_fork.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/vfs/audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,519 ERROR : file conflicts: file /usr/lib64/samba/vfs/cap.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,520 ERROR : file conflicts: file /usr/lib64/samba/vfs/catia.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,520 ERROR : file conflicts: file /usr/lib64/samba/vfs/crossrename.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,520 ERROR : file conflicts: file /usr/lib64/samba/vfs/default_quota.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,520 ERROR : file conflicts: file /usr/lib64/samba/vfs/dirsort.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,520 ERROR : file conflicts: file /usr/lib64/samba/vfs/expand_msdfs.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,521 ERROR : file conflicts: file /usr/lib64/samba/vfs/extd_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,521 ERROR : file conflicts: file /usr/lib64/samba/vfs/fake_perms.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,521 ERROR : file conflicts: file /usr/lib64/samba/vfs/fileid.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,521 ERROR : file conflicts: file /usr/lib64/samba/vfs/full_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,521 ERROR : file conflicts: file /usr/lib64/samba/vfs/linux_xfs_sgid.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/netatalk.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/preopen.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/readahead.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/readonly.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/recycle.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,522 ERROR : file conflicts: file /usr/lib64/samba/vfs/scannedonly.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,523 ERROR : file conflicts: file /usr/lib64/samba/vfs/shadow_copy.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,523 ERROR : file conflicts: file /usr/lib64/samba/vfs/shadow_copy2.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,523 ERROR : file conflicts: file /usr/lib64/samba/vfs/smb_traffic_analyzer.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,523 ERROR : file conflicts: file /usr/lib64/samba/vfs/streams_depot.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,523 ERROR : file conflicts: file /usr/lib64/samba/vfs/streams_xattr.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/lib64/samba/vfs/syncops.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/lib64/samba/vfs/time_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/lib64/samba/vfs/xattr_tdb.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/sbin/nmbd conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/sbin/smbd conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,524 ERROR : file conflicts: file /usr/share/man/man7/samba.7.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64 02:49:40,525 ERROR : file conflicts: file /usr/share/man/man8/eventlogadm.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,525 ERROR : file conflicts: file /usr/share/man/man8/nmbd.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,525 ERROR : file conflicts: file /usr/share/man/man8/smbd.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,525 ERROR : file conflicts: file /usr/share/man/man8/vfs_acl_tdb.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,525 ERROR : file conflicts: file /usr/share/man/man8/vfs_acl_xattr.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_aio_fork.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_aio_pthread.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_cacheprime.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_cap.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,526 ERROR : file conflicts: file /usr/share/man/man8/vfs_catia.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,527 ERROR : file conflicts: file /usr/share/man/man8/vfs_commit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,527 ERROR : file conflicts: file /usr/share/man/man8/vfs_crossrename.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,527 ERROR : file conflicts: file /usr/share/man/man8/vfs_default_quota.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,527 ERROR : file conflicts: file /usr/share/man/man8/vfs_dirsort.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,527 ERROR : file conflicts: file /usr/share/man/man8/vfs_extd_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,528 ERROR : file conflicts: file /usr/share/man/man8/vfs_fake_perms.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,528 ERROR : file conflicts: file /usr/share/man/man8/vfs_fileid.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,528 ERROR : file conflicts: file /usr/share/man/man8/vfs_full_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,528 ERROR : file conflicts: file /usr/share/man/man8/vfs_gpfs.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,528 ERROR : file conflicts: file /usr/share/man/man8/vfs_netatalk.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_notify_fam.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_prealloc.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_preopen.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_readahead.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_readonly.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,529 ERROR : file conflicts: file /usr/share/man/man8/vfs_recycle.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,530 ERROR : file conflicts: file /usr/share/man/man8/vfs_scannedonly.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,530 ERROR : file conflicts: file /usr/share/man/man8/vfs_shadow_copy.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,530 ERROR : file conflicts: file /usr/share/man/man8/vfs_shadow_copy2.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,530 ERROR : file conflicts: file /usr/share/man/man8/vfs_smb_traffic_analyzer.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,530 ERROR : file conflicts: file /usr/share/man/man8/vfs_streams_depot.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,531 ERROR : file conflicts: file /usr/share/man/man8/vfs_streams_xattr.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,531 ERROR : file conflicts: file /usr/share/man/man8/vfs_time_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64 02:49:40,531 ERROR : file conflicts: file /usr/share/man/man8/vfs_xattr_tdb.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64

Hi, There were some file conflict about samba when i installed RHEL6.10 via kickstart,my packages selection in kickstart file as follow:

 %packages --ignoremissing
*.x86_64
*.i686
*.noarch
-rsyslog7*
#-samba
-samba4*.x86_64
-samba4-client
-samba4-common*.x86_64
-samba4-dc
-samba4-dc-libs
-samba4-devel
-samba4-libs
-samba4-pidl
-samba4-python
-samba4-test
-samba4-winbind*.x86_64
-samba4-winbind-clients
-samba4-winbind-krb5-locator
-samba-client
#-samba-common*.x86_64
-samba-common*.i686
#-samba-winbind*.x86_64
#-samba-winbind-clients*.x86_64
-samba-winbind-clients*.i686
-sblim-cmpi-samba*.x86_64
-sblim-cmpi-samba*.i686
-openhpi32*
-squid34
-cpupowerutils
-libcmpiCppImpl0
-@Conflicts
%end

and the error outputs from screen as follow:

02:49:14,082 INFO    : Preparing to install packages
02:49:40,511 ERROR   : file conflicts: file /etc/rc.d/init.d/winbind conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,511 ERROR   : file conflicts: file /usr/lib64/samba/idmap/ad.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,511 ERROR   : file conflicts: file /usr/lib64/samba/idmap/autorid.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/idmap/hash.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/idmap/rid.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/idmap/tdb2.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/nss_info/hash.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/nss_info/rfc2307.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,512 ERROR   : file conflicts: file /usr/lib64/samba/nss_info/sfu.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,513 ERROR   : file conflicts: file /usr/lib64/samba/nss_info/sfu20.so conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,513 ERROR   : file conflicts: file /usr/sbin/winbindd conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,513 ERROR   : file conflicts: file /usr/share/man/man8/idmap_ad.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,513 ERROR   : file conflicts: file /usr/share/man/man8/idmap_autorid.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,513 ERROR   : file conflicts: file /usr/share/man/man8/idmap_hash.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,514 ERROR   : file conflicts: file /usr/share/man/man8/idmap_ldap.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,514 ERROR   : file conflicts: file /usr/share/man/man8/idmap_nss.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,514 ERROR   : file conflicts: file /usr/share/man/man8/idmap_rid.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,514 ERROR   : file conflicts: file /usr/share/man/man8/idmap_tdb.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,514 ERROR   : file conflicts: file /usr/share/man/man8/idmap_tdb2.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /usr/share/man/man8/winbindd.8.gz conflicts between attempted installs of samba-winbind-0:3.6.23-51.el6.x86_64 and samba4-winbind-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /etc/samba/smb.conf conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /etc/sysconfig/samba conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /usr/bin/net conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /usr/bin/pdbedit conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,515 ERROR   : file conflicts: file /usr/bin/profiles conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,516 ERROR   : file conflicts: file /usr/bin/smbcontrol conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,516 ERROR   : file conflicts: file /usr/bin/testparm conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,516 ERROR   : file conflicts: file /usr/share/man/man1/profiles.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,516 ERROR   : file conflicts: file /usr/share/man/man1/smbcontrol.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,516 ERROR   : file conflicts: file /usr/share/man/man1/testparm.1.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man5/lmhosts.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man5/smb.conf.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man5/smbpasswd.5.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man8/net.8.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man8/pdbedit.8.gz conflicts between attempted installs of samba-common-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,517 ERROR   : file conflicts: file /usr/share/man/man1/smbstatus.1.gz conflicts between attempted installs of samba4-0:4.2.10-15.el6.x86_64 and samba-common-0:3.6.23-51.el6.x86_64
02:49:40,518 ERROR   : file conflicts: file /etc/openldap/schema/samba.schema conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,518 ERROR   : file conflicts: file /etc/rc.d/init.d/nmb conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,518 ERROR   : file conflicts: file /etc/rc.d/init.d/smb conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,518 ERROR   : file conflicts: file /usr/bin/eventlogadm conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,518 ERROR   : file conflicts: file /usr/bin/smbstatus conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/auth/script.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/vfs/acl_tdb.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/vfs/acl_xattr.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/vfs/aio_fork.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/vfs/audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,519 ERROR   : file conflicts: file /usr/lib64/samba/vfs/cap.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,520 ERROR   : file conflicts: file /usr/lib64/samba/vfs/catia.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,520 ERROR   : file conflicts: file /usr/lib64/samba/vfs/crossrename.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,520 ERROR   : file conflicts: file /usr/lib64/samba/vfs/default_quota.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,520 ERROR   : file conflicts: file /usr/lib64/samba/vfs/dirsort.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,520 ERROR   : file conflicts: file /usr/lib64/samba/vfs/expand_msdfs.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,521 ERROR   : file conflicts: file /usr/lib64/samba/vfs/extd_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,521 ERROR   : file conflicts: file /usr/lib64/samba/vfs/fake_perms.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,521 ERROR   : file conflicts: file /usr/lib64/samba/vfs/fileid.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,521 ERROR   : file conflicts: file /usr/lib64/samba/vfs/full_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,521 ERROR   : file conflicts: file /usr/lib64/samba/vfs/linux_xfs_sgid.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/netatalk.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/preopen.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/readahead.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/readonly.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/recycle.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,522 ERROR   : file conflicts: file /usr/lib64/samba/vfs/scannedonly.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,523 ERROR   : file conflicts: file /usr/lib64/samba/vfs/shadow_copy.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,523 ERROR   : file conflicts: file /usr/lib64/samba/vfs/shadow_copy2.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,523 ERROR   : file conflicts: file /usr/lib64/samba/vfs/smb_traffic_analyzer.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,523 ERROR   : file conflicts: file /usr/lib64/samba/vfs/streams_depot.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,523 ERROR   : file conflicts: file /usr/lib64/samba/vfs/streams_xattr.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/lib64/samba/vfs/syncops.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/lib64/samba/vfs/time_audit.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/lib64/samba/vfs/xattr_tdb.so conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/sbin/nmbd conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/sbin/smbd conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,524 ERROR   : file conflicts: file /usr/share/man/man7/samba.7.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-common-0:4.2.10-15.el6.x86_64
02:49:40,525 ERROR   : file conflicts: file /usr/share/man/man8/eventlogadm.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,525 ERROR   : file conflicts: file /usr/share/man/man8/nmbd.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,525 ERROR   : file conflicts: file /usr/share/man/man8/smbd.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,525 ERROR   : file conflicts: file /usr/share/man/man8/vfs_acl_tdb.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,525 ERROR   : file conflicts: file /usr/share/man/man8/vfs_acl_xattr.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_aio_fork.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_aio_pthread.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_cacheprime.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_cap.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,526 ERROR   : file conflicts: file /usr/share/man/man8/vfs_catia.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,527 ERROR   : file conflicts: file /usr/share/man/man8/vfs_commit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,527 ERROR   : file conflicts: file /usr/share/man/man8/vfs_crossrename.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,527 ERROR   : file conflicts: file /usr/share/man/man8/vfs_default_quota.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,527 ERROR   : file conflicts: file /usr/share/man/man8/vfs_dirsort.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,527 ERROR   : file conflicts: file /usr/share/man/man8/vfs_extd_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,528 ERROR   : file conflicts: file /usr/share/man/man8/vfs_fake_perms.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,528 ERROR   : file conflicts: file /usr/share/man/man8/vfs_fileid.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,528 ERROR   : file conflicts: file /usr/share/man/man8/vfs_full_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,528 ERROR   : file conflicts: file /usr/share/man/man8/vfs_gpfs.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,528 ERROR   : file conflicts: file /usr/share/man/man8/vfs_netatalk.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_notify_fam.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_prealloc.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_preopen.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_readahead.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_readonly.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,529 ERROR   : file conflicts: file /usr/share/man/man8/vfs_recycle.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,530 ERROR   : file conflicts: file /usr/share/man/man8/vfs_scannedonly.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,530 ERROR   : file conflicts: file /usr/share/man/man8/vfs_shadow_copy.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,530 ERROR   : file conflicts: file /usr/share/man/man8/vfs_shadow_copy2.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,530 ERROR   : file conflicts: file /usr/share/man/man8/vfs_smb_traffic_analyzer.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,530 ERROR   : file conflicts: file /usr/share/man/man8/vfs_streams_depot.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,531 ERROR   : file conflicts: file /usr/share/man/man8/vfs_streams_xattr.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,531 ERROR   : file conflicts: file /usr/share/man/man8/vfs_time_audit.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64
02:49:40,531 ERROR   : file conflicts: file /usr/share/man/man8/vfs_xattr_tdb.8.gz conflicts between attempted installs of samba-0:3.6.23-51.el6.x86_64 and samba4-0:4.2.10-15.el6.x86_64

This works for me:
RHEL & CentOS 6.5 – Small Samba Server in Workgroup:

Set SELINUX=disabled in config file and reboot:
[kim@redhat6 ~]$ sudo nano /etc/selinux/config

Remove any installed Samba versions from installation! (Well, If there are any)
[kim@redhat6 ~]$ sudo yum remove samba4-libs samba-common samba-winbind-clients samba-winbind samba-client
[kim@redhat6 ~]$ sudo yum remove samba4-pidl-4.0.0-60.el6_5.rc4.x86_64
[kim@redhat6 ~]$ sudo yum remove samba4-dc-libs-4.0.0-60.el6_5.rc4.x86_64
[kim@redhat6 ~]$ sudo yum remove samba4-dc-4.0.0-60.el6_5.rc4.x86_64

Then install Samba from scratch:
[kim@redhat6 ~]$ sudo yum install samba

Check Samba version:
[kim@redhat6 ~]$ sudo rpm -qa| grep samba

Adding Samba share, eg.:
[kim@redhat6 ~]$ mkdir /home/kim/Samba

Assign Samba User & password:
[kim@redhat6 ~]$ sudo smbpasswd -a kim

Edit Samba Configuration:
[kim@redhat6 ~]$ sudo nano /etc/samba/smb.conf

  1. Match Your Workgroup name in smb.conf
  2. Uncomment Your LAN IP addresses of choice, eg.:
    host allow = 127. 192.168.1. 192.168.253.

Then insert last in smb.conf:

[Samba]
comment = RHEL Samba share
path = /home/kim/Samba
available = yes
valid users = kim
read only = no
browseable = yes
public = no
writeable = yes

Save smb.conf and start or restart Samba services:
service smb start
service nmb start
chkconfig smb on
chkconfig nmb on

Check services in menu:
System – Administration – Services:
nmb & smb is running.

Check firewall in menu:
System – Administration – Firewall:
Samba & Samba Client is ok.

Simple test commands:
testparm
smbstatus

Settings, users, shares & rights You decide…
Maybe You want to change Iptables, eg.:
http://troy.jdmz.net/samba/fw/

You are welcome to add any comments.

Regards Kim

Kim,

Is there any specific reason you are disabling SELinux? There are several booleans for Samba which may make it a little easier (if you are having problems with permissions).

Well, I just chanced SELinux to permissive without any permission problems,
so there seems no specific reason to disable SElinux, hmm just a bad habit :)

Do You have any advise or best practice regarding SElinux booleans for Samba.
Thanks for Your time :)

Regards Kim

Quick way to find them is using the following (unfortunately the smbd_anon_write boolean isn't named consistently.. a trap for new players!)

[root@server64 ~]# getsebool -a | grep samba
samba_create_home_dirs --> off
samba_domain_controller --> off
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> off
samba_portmapper --> off
samba_run_unconfined --> off
samba_share_fusefs --> off
samba_share_nfs --> off
sanlock_use_samba --> off
use_samba_home_dirs --> off
virt_use_samba --> off

[root@server64 ~]# getsebool -a | grep smb
allow_smbd_anon_write --> off

The functions of the booleans are described here:

man samba_selinux

If you want to set a value and make it persist across reboots use the following (-P writes it to policy on disk):

setsebool -P samba_enable_home_dirs=on

Thnx, the last commands helped me enforcing SElinux.

Regards Kim

You may uninstall samba version 3

yum remove samba*

then install version 4

yum install samba4

then yum install samba-swat