Project

General

Profile

Bug #66

Mounting SMB/CIFS Share Fails on Ubuntu

Added by Daniel Curtis about 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/07/2013
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

After noticing the Collaboration Server had ports open for Samba, I decided to turn off the Samba service, then remove and purge the service, however I wanted to test connectivity to see if I could still mount Samba shares.

1. Turn off Samba

sudo service smbd stop
sudo service nmbd stop

2. Attempt to mount CIFS share

mount -t cifs -o user=Guest //nas.example.com/data /media/share/

This returned the following error:

mount: wrong fs type, bad option, bad superblock on //ppc-nas.altservice.com/data,
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

Install CIFS

  • Install cifs-utils
    sudo apt-get install cifs-utils
    

Also available in: Atom PDF