Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-1462: Unable to mount a share using the command "mount -t cifs"

Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:12 AM

Applies to:  Centrify-Enabled Samba 3.3.9-4.3.1 on all platforms

Problem:

Centrify-Enabled samba fails to mount a cifs share, when the command "mount -t cifs -o username=<username> <share> <mount point>" is ran throws an error:

mount: block device //192.168.159.10/public is write-protected, mounting read-only
mount: cannot mount block device //192.168.159.10/public read-only

Running "mount -t smbfs ..." succeeds.

Causes:

This is due to the missing sym link for /sbin/mount.cifs

Workaround:

Manually create the symlink /sbin/mount.cifs to point to /opt/centrify/samba/sbin/mount.cifs

ln -s /opt/centrify/samba/sbin/mount.cifs /sbin/mount.cifs

Resolution:

Will be fixed in a future release of Centrify-Enabled Samba.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.