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'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?

share|improve this question
up vote 1 down vote accepted

People in #samba on 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.

share|improve this answer

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

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.

share|improve this answer
Currently I do not have any mapped network resources and I'm still getting the error. 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .