How to mount CIFS shares on a system with samba4 packages installed?

Solution Verified - Updated -

Issue

  • Mounting a CIFS share on a system with installed samba4* packages gives the following error message:

    # mount -t cifs -o username=sambatest,passwd=sambatest //sambatest/test /mnt
    mount: wrong fs type, bad option, bad superblock on //sambatest/test,
           missing codepage or helper program, or other error
           (for several filesystems (e.g. nfs, cifs) you might
           need a /sbin/mount.<type> helper program)
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    
  • cifs-utils installation fails on a system which has samba4* packages installed, with dependency errors.

    Error: samba4-common conflicts with samba-common-3.6.23-41.el6.x86_64
    

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content