Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I did the registry mods mentioned here but cannot seem to connect. I say seem to, because there's no error message.

smbclient \\\\WIN7MACHINE\\ -U myusername
smbclient \\\\WIN7MACHINE\\ -U%
smbclient \\\\WIN7MACHINE\\

All of these, with or without quotes around the share name, (and optionally asking for a password, whether I enter the correct one or not) just return me back to the bash prompt without a further message, e.g.:

/> smbclient \\\\WIN7MACHINE\\ -U myusername
Enter myusername's password:

What gives? I can connect fine from XBMC. Also, smbclient -L \\ lists all shares just fine.

If I get more specific than \\\\WIN7MACHINE\\ I get this error:

session setup failed: SUCCESS - 0

...correct password or not, and dumped back to the bash prompt.

share|improve this question
Did you try with smbclient //WIN7MACHINE/<shared> -U user ? – user300830 Feb 17 '14 at 14:30
@dcrespe, I hadn't--the docs showed backslashes. – Kev Feb 19 '14 at 15:26

You must log in to answer this question.

Browse other questions tagged .