I am getting the following error on windows when I try to access my samba share.

\\\root is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Access is denied.

The Windows OS is Win7 Professional..... BT5. Im using Oracles Virtual Box.

Here is the way that I set it up.
(btw I Dont have this problem on xp. But on this windows 7 it does not seem to work.

1. On VM set VM to Bridge before you boot VM/BT5

2. # apt-get install samba

3. # apt-get install system-config-samba

Then use Gui and go to Menu/System/Samba

[Add Share] [Browse] choose folder lets say /root

Give share name E.G root
Make writable and Visable
Choose [Access] tab. Give access to everyone.

Click OK.

Add a user
To add a user with password.
# smbpasswd -a root (put in password)

I could go back to Samba gui and give root access or leave as everyone.

Use ifconfig to find IP on BT5 then go to it On windows E.G. \\
You will see "Root"

Double click on it and I get the above message.

I dont know what Im doing wrong.

When I look at the smb.conf it says.
comment = root
path = /root
writeable = yes
browseable = yes
valid users = root

Any thoughts ?

Sometimes when I try to click on my share a password box comes up. I put in the username and password and then another box opens that says

Connect to BT (which is my computer name)
Connecting to
Username : BT\root
Password : ********

Note the BT\root. Its like some sort of domain authentication thing, which you might use to log into the domain.
The thing is I am getting the password box. So it sees everything but does not want to let me in. I wonder if the fact taht the windows comptuer which the VM is on is on the domain and the BT/VM is on the workgroup if that makes a difference. I would not think so but I dont know.