Project

General

Profile

Bug #66

Updated by Daniel Curtis almost 10 years ago

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. 

 h2. 1. Turn off Samba 

 <pre> 
 sudo service smbd stop 
 sudo service nmbd stop 
 </pre> 

 h2. 2. Attempt to mount CIFS share 

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

 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 

 h2. Install CIFS 

 * Install cifs-utils 
 <pre> 
 sudo apt-get install cifs-utils 
 </pre>

Back