I have Centos 6 and Centos 7 machines setup so that the first uses mount.cifs in order to mount volumes from the second through a proprieraty software.
The problem is that the Centos 6 version of cifs-utils (which provides mount.cifs) is much older than the version Centos 7 have and thus the prorietaty software fails to mount cifs volumes with an error saying "kernel: CIFS: Unknown mount option "domainname=."
Clearly, the mount options in the cifs-utils version in Centos 7 have changed since the version Centos 6 have.
I cannot easily upgrade Centos 6 to Centos 7.
Will I break things if I add the Centos 7 repo to Centos 6 and update cifs-utils with its dependecies so that both machines run the same version?
Is there any other way?
EDIT: so I just realized that I have another Centos 7 machine that seems to work fine with the mysterious proprietary software that I'm trying to avoid naming. The only difference between the two 7's is that I ran yum update on the first one which among others also lifted cifs-utils, nfs-utils and samba a minor version up. I was able to downgrade all but samba which complains a lot about missing packages. I am pretty sure that the new samba broke something.