Mapped Drive asking for Password

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

Mapped Drive asking for Password

Postby Taken » Wed Nov 08, 2006 3:52 pm

I just installed my DS-106 onto my home network and started to set up users,groups and shared folders. After I got the mapped drive working. Everything was well and dandy until I restarted.

Upon restart, my mapped drive would ask for a password. I would enter the password and it would work again but only until the next reboot. This got a bit annoying after each reboot. I couldn't figure out why it would continue to ask for a password when I already mapped it and have it reconnect after restart in WinXP.

I would disconnect and reconnect it manually to test why it would ask for a password after each restart.

I finally realized that I have simple login for WinXp (no password to load into Windows). After I set a password to log into WinXP. My mapped drive no longer required a password to be entered when I try to access the folders.

Hope this helps others having the same problem when installing your first NAS. :lol:
DS-106 Seagate 400GB ST3400633AS
Taken
Trainee
Trainee
 
Posts: 16
Joined: Fri Oct 27, 2006 12:03 am
Location: USA

Postby Franklin » Wed Nov 08, 2006 7:17 pm

You've been stickied!! :mrgreen:
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6649
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Mapped Drive asking for Password

Postby Antoinne » Sun Nov 19, 2006 10:59 pm

Taken wrote:Hope this helps others having the same problem when installing your first NAS. :lol:


Since I experienced the same problem, I thought this was the information I was looking for ... However after two more days of frustrating trial and error rebooting, I really hope someone could give more information on this matter. This is making me really :twisted:

Questions I run into are:
What is the exact relation between the windows logon name/password and the logon name/password of the diskstation?
Do they both need to be the same?
When you make the mapping to the diskdrive, do you only need to use the same name? Or is it the combination of domain and name (eg "User" versus "MyDomain\User")? Anyone with more information or examples?

I think I tried every possibility and still it is not working... :twisted: :( :?

Regards,

Antoinne

PS In my opinion, the manual should give a lot more information on issues concerning usernames, passwords and acces rights. It's very hard to find backgrounds on the matter above and issues like the default guest account...
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Re: Mapped Drive asking for Password

Postby Franklin » Mon Nov 20, 2006 7:36 pm

Antoinne wrote:What is the exact relation between the windows logon name/password and the logon name/password of the diskstation?
Do they both need to be the same?
When you make the mapping to the diskdrive, do you only need to use the same name? Or is it the combination of domain and name (eg "User" versus "MyDomain\User")? Anyone with more information or examples?


Please refer to this guide

viewtopic.php?p=410


So, once you have figured out what your user name is, you'll have to create an account on the Synology server which has the same name as the name identified by that guide that I provided. After that, set the permissions of the shares, restart your computer, and it shouldn't ask for passwords anymore.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6649
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Re: Mapped Drive asking for Password

Postby Antoinne » Mon Nov 20, 2006 10:30 pm

Franklin wrote:After that, set the permissions of the shares, restart your computer, and it shouldn't ask for passwords anymore.

Well I am afraid it keeps asking... :evil:

The weird thing is, I thought I solved the problem after reading the first post in this thread. But after making some changes in the setup of de syno box (number of shares, the names, users and passwords) I run into the same problem on two computers.

I already saw the post on user names you reffered to. I checked the names and made sure that both user names are also users with sufficient rights on the syno box. As said, both computer keep asking me username/password when accesing the mappped drives (and yes, I created the mapping with the respective username on each pc).

The first user name (laptop, usally connected wireless) is "Antoinne", the second user name (desktop connected by wire through router) is "Informatio CM". I also tried the default admin account, while making the network connection and the mappings.

FYI, both pc's are running on XP with auto ms-update on (service packs, etc..). My Syno box is the 106e. On both pc's I tried synology assistant to make the mapping as well as the default mapping way with XP.
There must be a way to solve this problem. But after trying this for four days, it's hard to keep doing this in an organized manner....
Isn't there a way to make sure that all earlier username variables stored earlier, are deleted on both my pc's as well as the syno box? It looks like that somehow old entries are causing this problem...

Any suggestions?

Antoinne

PS Perhaps you could provide me with more information on the function of the guest account? I need to know more on the network connections and suspect that this somehow has to do with it.
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Postby Franklin » Thu Nov 23, 2006 1:28 am

Took a little while to find this command, can you try this on your PC? Go to Start run and type cmd, it should bring up a black window, with white text. Type

Code: Select all
net use * /d


And this should purge all connections on your computer, then try to make your network shares again.

Please be sure that passwords and usernames are the same on both systems (server, windows client) to avoid this log on prompt.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6649
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Postby Antoinne » Sat Nov 25, 2006 5:53 pm

Franklin wrote:Please be sure that passwords and usernames are the same on both systems (server, windows client) to avoid this log on prompt.

Tnx, this helped. I now no longer have to login to the shared drives.

The only small problems that remains, is that after a reboot the mapped drives are "disconnected". I can open the individual drives whithout login, but I can not figure out why the mapped drives are not reconnected by themselves (as selected in the optionscreen when making the mapping).

Will start to search the net on this problem after this reply. Again, tnx for fixing the login problem.

Antoinne
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Postby Franklin » Mon Nov 27, 2006 9:37 pm

Antoinne-

I cannot reproduce your problem at my office, but I do believe that it's a windows configuration setting error. Can you check if the system is set to remember the password? That might help.
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6649
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Postby Antoinne » Tue Nov 28, 2006 8:09 pm

Franklin wrote:...but I do believe that it's a windows configuration setting error. Can you check if the system is set to remember the password? That might help.


First of all, really appriciate all your help!

But what do you mean with "check the system"?

I use TweakUI for the auto logon on the desktop and laptop.
Both experience the same problem; when restarting and/or rebooting mapped drives are not reconnected. Selecting them reconnects them without asking for password. But they are not reconnected automaticly (needed for opening the datafiles of different applications).

When making the mapping, I select the option to reconnect al logon. In fact, I have tried to making the mappings a dozen times (each time removing the previous mapping, rebooting the system, etc).

The usernames/passwords used on the systems (e.g. with Tweak) are the same as on the Syno box. I do use a different username/password for the desktop and laptop.

Since I experience this on both systems, I guess it has to do with Synobox. I have disabled the Guest account. But since I maked new accounts for both the desktop and the laptop (with r/w rights) this could not be the problem. Right?!?

Any suggestions?

Antoinne
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Postby CS406-User » Tue Nov 28, 2006 11:29 pm

From Time to Time i have the same Problem; User/Pass is the same on the Server and on the CS-406 and most of the Time Access works. But now and then Windows asks me for the User/Pass. I didn't really tried to repoduce it but imho it occours when:
the CS406 is heavyli stressed with File-Transfers (from another PC's) or the HD's were in "Sleep-Mode" and have been activated.

So there must be another Bug ...?
CS406-User
Trainee
Trainee
 
Posts: 19
Joined: Tue Nov 21, 2006 10:39 am

Postby Franklin » Thu Nov 30, 2006 1:45 am

Antoinne wrote:But what do you mean with "check the system"?


Sorry for the ambiguity there, but what I meant was that when you log into the server, Windows will prompt for a user name/password. There should be a check box that allows you to remember the password.

HTH
**Franklin is not available**
**Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!**
Library ~ SynologyWiki ~ Synology FAQ ~ Compatibility Lists
Forum Links ~ Forum Policy ~ 3rd-party forums ~ Help us help you ~ Posting Images
Demo Links ~ DSM GUI ~ Photo Station
Downloads ~ Firmware Downloads ~ Beta Program
Support ~ Support Form ~ Submit Kernel ~ Synology eNews
User avatar
Franklin
Synology Inc
Synology Inc
 
Posts: 6649
Joined: Sat Oct 14, 2006 11:33 pm
Location: Washington, USA

Postby Antoinne » Sat Dec 02, 2006 7:21 pm

Franklin wrote:Sorry for the ambiguity there, but what I meant was that when you log into the server, Windows will prompt for a user name/password. There should be a check box that allows you to remember the password.

This helped a lot ! I tried dozens of time with either login through the welcome screen or using TweakUI autologon, and each time the drivers were disconnected. After your tip I disabled the welcome screen. logged in manually and the drives are connected :lol:

Tnx
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Postby Antoinne » Sat Dec 02, 2006 7:44 pm

Antoinne wrote:This helped a lot !

Humm, one reboot later :cry: It helped once...

Have been trying it for weeks now. Desktop works fine now, but laptop still behaves weird. I think i will wait for the software update...
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Startup batch file

Postby Suse » Fri Dec 22, 2006 8:34 am

Hopefully you've found a solution for windows not remembering your password but in case you haven't here's how I fixed it.

I created a batch file called: "c:\mapdrives.bat" with a line:
net use E: \\DiskStation\Web /user:DiskStation\username password

note: Diskstation refers to the DS106e's name (it can also be the IP address)

In the windows registry I then added a string value called: "map drives" in: HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run and gave it a value of: "c:\mapdrives.bat"

Now every time my computer starts the batch file reconnects all the drives with the proper username and passwords. The only downside to using this method is that the passwords are in plain view for anyone to see.

Hope this helps.
Suse
I'm New!
I'm New!
 
Posts: 2
Joined: Wed Nov 01, 2006 4:08 am

Re: Startup batch file

Postby Antoinne » Sat Dec 23, 2006 6:10 pm

Suse wrote:Now every time my computer starts the batch file reconnects all the drives with the proper username and passwords. The only downside to using this method is that the passwords are in plain view for anyone to see.


Good tip for home users, but the downside you mentioned, applies to my laptop. Many trail and errors later, I've managed to get the pc working fine with automatic login etc.... The laptop, when rebooted, needs a manual login. But since the syno box is such a great thing to use, I can live with it :wink:
Antoinne
I'm New!
I'm New!
 
Posts: 8
Joined: Sun Nov 19, 2006 10:31 pm

Next

Return to File Sharing: Windows, Mac OS X, Linux

Who is online

Users browsing this forum: Bing [Bot] and 1 guest