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

Solution Unverified - Updated -


  • 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


  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In