I'm trying to connect to a Samba share on a VirtualBox'ed Windows 7 that is connected to an openSUSE host in bridged mode. For reasons beyond my comprehension I cannot use the shared folders feature, so I'm using Samba instead.

I configured a share through openSUSE's Samba server configuration tool:

        inherit acls = Yes
        path = /home/myusername/iTunes
        read only = No
        valid users = myusername

I also set a password for this user using smbpasswd -a myusername. I can go to smb:// on the host machine and log in to the share successfully, but on Windows 7 I see this:

Samba error

What am I doing wrong? I can connect to the shares list without any problems. It's just the login that doesn't work.

Update: I noticed that my Samba server is part of the WORKGROUP domain.

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64]                                                                                                                     

        Sharename       Type      Comment                                                                                                                                                            
        ---------       ----      -------                                                                                                                                                            
        iTunes          Disk                                                                                                                                                                         
        IPC$            IPC       IPC Service (Samba 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64)                                                                                                           
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64]                                                                                                                     

        Server               Comment                                                                                                                                                                 
        ---------            -------                                                                                                                                                                 

        Workgroup            Master                                                                                                                                                                  
        ---------            -------     

However, when I have to log in on Windows I see this...

Samba login

Is this a problem? If so, how do I route around this?


People in #samba on irc.freenode.net recommended that I create an account on the server with the same username and password as the client I'm logging in with.

While this is not an ideal solution, I will use this method until someone can tell me how I can log in with my own account. Being able to log in with my own account would eliminate a lot of annoying file privilege administration.


The error message indicates that you already have a connection to the server using a different username from your Windows PC. Perhaps you already have a mapped network drive to where you specified a different username for the connection.

You can't have more than one username connecting to a multiple shares on a server from the one client.

To see a list of shares on the remote computer, try:


Try disconnecting any and all current connections. See http://ss64.com/nt/net_use.html.

Disconnect from a share:

NET USE [driveletter:] /DELETE

Disconnect from a share and close all resources (undocumented):

NET USE [driveletter:] /DELETE /Y

Once you have all connections disconnected, try connecting to iTunes again.

  • Currently I do not have any mapped network resources and I'm still getting the error. i.imgur.com/TOUBc.png Is there a way to close all open Samba connections on the server side? I've already tried restarting the server. – Pieter Sep 2 '11 at 14:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.