[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba ls problem



Clive Menzies wrote:
On (03/03/05 13:15), Rhys Hardwick wrote:

Hey guys,

I mounted a samba parition with the command mount -t smbfs .. etc. etc.

When browsing, I get the error :

metatron:/mnt/jezebel# ls
ls: .: Input/output error

Anyone have any ideas?

Hi Rhys

If you look back through the archives, you should find some threads on
this.  Long story short, smbfs is depricated, use cifs (use modconf to
load it)

install smbfs and smbclient

in your /etc/fstab do something like:
//server/share /smb/share   cifs credentials=/home/user/.smb_pass,file_mode=0660,dir_mode=0770    0	0

(make sure /smb/share exists)
.smb_pass should look like this (and rw by you only):
username=????
password=???

and away you go.

FWIW this is the only way I've managed to get Linux clients working
properly on a Samba network.

HTH

Clive

Thanks very much for the info Clive, I'll try all that.

--
 Rhys Hardwick

 -----------------------------------------------------
| rhys@rhyshardwick.co.uk  |  www.rhyshardwick.co.uk  |
| PGP-id - 0x0EACC0E8      |                          |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
|       Windows: Just another pain in the glass.      |
 *****************************************************




Reply to: