LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba: no smb prompt after successful smbclient (https://www.linuxquestions.org/questions/linux-server-73/samba-no-smb-prompt-after-successful-smbclient-543747/)

simopal6 04-06-2007 02:53 AM

Samba: no smb prompt after successful smbclient
 
Hello!
I'm running a Slackware machine, and I would like to access my other Windows PC's files with samba.

This is what i've done:

shell> smbclient -L WIN_BOX -U winuser

The command works, i get a list of the services offered by the computer, but after the list i get no smb:\> prompt, smbclient exits and i get back to the linux shell.

Any help?
Thanks!

EDIT: i thought i had put this thread inside the "networking" section.. My mistake or somebody moved it?

deadeyes 04-06-2007 07:14 AM

Quote:

Originally Posted by simopal6
Hello!
I'm running a Slackware machine, and I would like to access my other Windows PC's files with samba.

This is what i've done:

shell> smbclient -L WIN_BOX -U winuser

The command works, i get a list of the services offered by the computer, but after the list i get no smb:\> prompt, smbclient exits and i get back to the linux shell.

Any help?
Thanks!

EDIT: i thought i had put this thread inside the "networking" section.. My mistake or somebody moved it?

I think the -L option just list the shares.
You can see how to connect with "man smbclient"

use something like this:
smbclient //hostname/director
Could be that you need to specify a password (empty one)

simopal6 04-06-2007 02:29 PM

You were right, thanks.

I've got another little problem: inside smb shell, if i press TAB to auto-complete filenames, it auto-completes not according to the files in the current smb directory, but according to the directory from where i've run smbclient.
Can this be fixed?

Thanks to everyone.

deadeyes 04-07-2007 07:48 AM

Quote:

Originally Posted by simopal6
You were right, thanks.

I've got another little problem: inside smb shell, if i press TAB to auto-complete filenames, it auto-completes not according to the files in the current smb directory, but according to the directory from where i've run smbclient.
Can this be fixed?

Thanks to everyone.

So, if you tab, then you get the local files instead of the remote files?

I don't know but maybe it depends on if you are putting or getting something.

simopal6 04-08-2007 03:06 AM

Quote:

Originally Posted by deadeyes
So, if you tab, then you get the local files instead of the remote files?

Yes, exactly.

Quote:

Originally Posted by deadeyes
I don't know but maybe it depends on if you are putting or getting something.

It happens both with 'get' and 'put'. I've got samba 3.0.22.

Can this be a configuration problem? My smb.conf is empty.


All times are GMT -5. The time now is 04:57 PM.