I have some shares set to public, but when I connect a windows 7 machine to them it requests a Username and password. I can type anything in that dialog box and I get connected. However I need it not to display this dialog at all. Share is on the root of the drive.
any ideas? is this a bug?
(just to stop the why do you want this?, its unsafe etc statements) – it for my music files and my music apps cannot reach them until I manually enter a password. Mapping the drive is not an option, also does not work anyway as it still pops up the credential box
This is Windows Security asking for credentials. A different system may not ask them at all.
As al alternative, mapping the volume to your system and selecting the option to remember credentials could address this behavior until the next session logon.
Thanks for the reply, but i dont beleive thats correct.
The system i used before (i bought this WD NAS to replace it) was an external HD connected up to my router (speed was the reason the replace it) never asked for a use name or password.
Also - i used the WD smart view software to map the drive as a test, rebooted and it asked me for my username / password. At this point its pretty useless as a NAS if it keeps asking for username.
not sure is the problem is i am using Windows 7N in a workgroup enviourment
I will install ubuntu on my VM and see if thats any better.
The reason Windows prompts for a userid / password is due to the Samba configuration on the NAS.
Particularly, these lines:
[global]
security = user
map to guest = bad user
That means that samba requires the user to log in. If the login is unknown, the user is treated as a guest (meaning they have access to public shares only.)
This is a typical samba configuration common on most NASes that actually have decent user-level access controls.
The only way around this is to completely reconfigure Samba with SHARE-level security instead of USER-level security – not something I recommend.
I can only guess that the reason your router didn’t do that is because your router didn’t have security controls to speak of.
So even though this unit comes with “public sharing” it still needs a password to access said share. - so really that’s not a public share is it? -
Even though I now have a drive mapped and credentials saved in windows it still ask for a password. If I put a nonsense password I can still get access however - that does not seem correct or secure as you suggest.
At this point this box is not fit for the purpose I bought it for.
Well, thats the thing - i do have a password on my windows account and it still asks for a password, any mapped drives also fails on reboot until i enter the password. Happens from all my windows machines, so frustrating, it should not be this hard.
Anyway - i will keep at it. maybe i will take a closer look at the Samba server.
I have written a small tool to map my drives after boot. Against the “net use”: i dont need a password. In Task planner i have a new Task with trigger after boot, delay 2 minutes.
After the reboot the message for not mapped drives is visible, but all drives are correctly mapped.
Any interest for this? Is built against .NET 4.
I can provide the source or the program, is really a very small tool