Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Networking (https://www.cableforum.uk/board/forumdisplay.php?f=87)
-   -   Problems with mapping share to NAS (https://www.cableforum.uk/board/showthread.php?t=33619429)

Raistlin 14-08-2007 22:28

Problems with mapping share to NAS
 
Hey Guys,

I have my NAS up and running fine in Linux, but I'm having a problem with Windows XP Home and I'm hoping someone might be able to help out.

Within the NAS I have set up user accounts, all have r/w access to a folder called 'General' and then there is a folder for each user account.

I've mapped a shared drive within the 'My Computer' window. Assigned a drive letter (T:). Told Windows to reconnect the share at login, and told Windows to connect as a different user and supplied the user name and password.

When I click 'Finish' the new mapped drive appears in the 'My Computer' window, and explorer opens with a view of the contents of the folder. I can then read/write within that folder.

This is all fine for as long as I'm logged in to Windows. As soon as I log out everything seems to go missing.

The next time I log in I'm told that the username/password for the share are incorrect. As soon as I supply the correct password I'm allowed access again though.

So.....

Anybody know why Windows might be getting its knickers in a knot over this one?

Thanks :)

homealone 14-08-2007 23:51

Re: Problems with mapping share to NAS
 
as you well know, Raistlin, I know nuffin, but is the functionality you want only available in the 'professional' version, of XP, rather than the 'home' version you referenced???

Raistlin 15-08-2007 08:42

Re: Problems with mapping share to NAS
 
Shouldn't be, it should only require Windows to remember a damn password! :D

Aragorn 15-08-2007 10:35

Re: Problems with mapping share to NAS
 
Not sure it can remember the password like that in XP Home.
Quote:

Originally Posted by Net help use
/SAVECRED Specifies that the username and password are to be saved. This switch is ignored unless the command prompts for username and password. This option is not available on Windows XP Home Edition and will be ignored.

What you could do as a kludge is change the share to password security (rather than user) and have a single line cmd file with :
net use T: //NAS/General Password
Then add this file to your start-up group.

Raistlin 15-08-2007 11:00

Re: Problems with mapping share to NAS
 
Quote:

Originally Posted by Aragorn (Post 34375677)
Not sure it can remember the password like that in XP Home.

What you could do as a kludge is change the share to password security (rather than user) and have a single line cmd file with :
net use T: //NAS/General Password
Then add this file to your start-up group.


Oh pooh.

Unfortunately the NAS is fairly basic and you need to set up username/password type accounts and then assign access to the shares for those accounts. You can't just have a general password on it :(

Looks like (after all the effort trying to get an OEM install of Home) I'm going to have to upgrade to Pro after all :(

Raistlin 16-08-2007 20:29

Re: Problems with mapping share to NAS
 
Ok, this is starting to be a real problem now.

I now have Windows XP Pro installed, and I'm having the same problem.

The drives will map and function normally until I log off/on, then they won't reconnect at login. If I input the password again they login first time.

Do I need to change something in XP Pro to make this work, and is it possible to change the same thing in Home so that it will work too?

Thanks.

Raistlin 17-08-2007 15:32

Re: Problems with mapping share to NAS
 
Quote:

Originally Posted by Aragorn (Post 34375677)
Not sure it can remember the password like that in XP Home.

What you could do as a kludge is change the share to password security (rather than user) and have a single line cmd file with :
net use T: //NAS/General Password
Then add this file to your start-up group.

This is exactly what I did to get this working, I created a .bat file with a line in it for each share and put it in the 'Startup' directory.

Thanks very much for this :)

Just in case anybody else needs it, the syntax to mount a share is as follows:

Where:

Share name = 'General'
NAS name = 'Storage'
Username = 'uName' (username is specific to the NAS)
Password = 'pWord'
Mapped Drive Letter = T:

Code:


NET USE T: \\Storage\General /USER:Storage\uName pWord



All times are GMT +1. The time now is 03:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum