Project

General

Profile

Bug #66

Mounting SMB/CIFS Share Fails on Ubuntu

Added by Daniel Curtis over 11 years ago. Updated over 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
    
#1

Updated by Daniel Curtis over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Install cifs-utils

sudo apt-get install cifs-utils

Remount with the same command

#2

Updated by Daniel Curtis over 9 years ago

  • Project changed from 10 to GNU/Linux Administration
  • Description updated (diff)

Also available in: Atom PDF