You are not logged in.

#1 2011-03-16 13:28:35

monotiz
Member
Registered: 2007-10-20
Posts: 140

Midnight Commander (MC) and Samba

Hi,
I'd like to know how access into SMB server. I tried with the utility into left menu but I can't access.

Smbclient works fine... for example, I can connect with:

smbclient //myhost/myshared -U myname%mypassword

Thank you.

Offline

#2 2011-03-16 16:22:05

jamesbond007
Member
From: Germany
Registered: 2009-06-14
Posts: 150

Re: Midnight Commander (MC) and Samba

Hi monotiz,

have you tried this:

SMB File System

The smbfs allows you to manipulate files on remote machines with SMB (or CIFS) protocol. These include Windows for Workgroups, Windows 9x/ME/XP, Windows NT, Windows 2000 and Samba. To actually use it, you may try to use the panel command "SMB link..." (accessible from the menubar) or you may directly change your current directory to it using the cd command to a path name that looks like this:

/#smb:[user@]machine[/service][/remote-dir]

The user, service and remote-dir elements are optional. The user, domain and password can be specified in an input dialog.

Examples:

/#smb:machine/Share
/#smb:other_machine
/#smb:guest@machine/Public/Irlex

Taken from here: http://linux.die.net/man/1/mc

Kind regards,
jamesbond007.

Offline

#3 2011-03-16 16:22:52

ChojinDSL
Member
From: Germany
Registered: 2010-11-30
Posts: 64
Website

Re: Midnight Commander (MC) and Samba

For starters, make sure you have Samba installed. Doesn't have to configured, just installed.

Then, in Midnight Commander. Open the left menu select "smb link".
It will then ask you for the hostname of the samba server you wish to connect to.
Once you have entered that, it will ask you for workgroup, username and password. Enter those and you should then see a list of shares you can enter.

Depending on the configuration of the server, it might be necessary to specify which share you wish to connect to directly, by entering the hostname in the format:
hostname/sharename

or maybe:

hostname\sharename

Try either.

Offline

#4 2011-03-16 16:52:34

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: Midnight Commander (MC) and Samba

I tried all combination but i doesn't work...

Thank you in advice.

Offline

#5 2011-03-17 09:43:11

ChojinDSL
Member
From: Germany
Registered: 2010-11-30
Posts: 64
Website

Re: Midnight Commander (MC) and Samba

Is your server a linux samba, or a windows server?

Offline

#6 2011-03-17 13:01:53

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: Midnight Commander (MC) and Samba

it's a windows server

Offline

#7 2013-03-04 15:09:17

Gonzih
Member
Registered: 2011-05-12
Posts: 17

Re: Midnight Commander (MC) and Samba

same issue here, samba works well except midnight commander, looks like mc depends on smb package which doesn't exist

Offline

Board footer

Powered by FluxBB