• Problem with credentials to NAS

    Author
    Topic
    #2270049

    I am having problems with attaching to my NAS box as well, the mapped drives still show up in explorer but when I click on them it says that the password is wrong, I can see the NAS box under network but if I click on it, again it wants password which it says is wrong. I know it is the right username / password. I can connect / disconnect from my Android phone.

    Viewing 23 reply threads
    Author
    Replies
    • #2270051
    • #2270324

      Thank you, I have tried all the bits in the first link, but the second link suggests I cannot see other computers on my network, I can see them all.

      For simplicity if I call the only computer that has been updated X and the others A and B.

      I can move files from computer A to the NAS and to X

      I can move files from computer X  to A and B but not the NAS.

      The mapped drives show up in file explorer on X without a cross next to them as if they are connected, but when I try to open them they say password is wrong.

      If I go to powershell on X, I can map a drive on the NAS and access the files but that does not show up on File Explorer.

      I can connect to the NAS box with my Android phone and Tablet.

       

      Hopes this makes some sense to someone

      • This reply was modified 4 years, 11 months ago by WScwjs.
    • #2270412

      If I go to powershell on X, I can map a drive on the NAS

      Mapping a drive should bring it up in all apps.
      In Explorer,  under File, select Map Network Drive. You can use different credentials if required.

      cheers, Paul

    • #2270431

      I have tried giving different credentials, I have created new shares as well.

      I have mapped a drive in command prompt with net use and in powershell with New-PSDrive command, they both create the drive letter which I can change to and dir the folder. But they don’t show up in file explorer. I have also downloaded Tablacus explorer and that is the same.

       

    • #2270712

      Can you map drives in Explorer?
      When you map them in CP/PS, are you running as admin?
      Have you tried pressing F5 (refresh) in Explorer after mapping a drive?

      cheers, Paul

    • #2270723

      Can you map drives in Explorer?
      When you map them in CP/PS, are you running as admin?
      Have you tried pressing F5 (refresh) in Explorer after mapping a drive?

      cheers, Paul

      OK Now I feel really freaked, to answer your question first,

      It is explorer where I am trying to map the drives and when I map them successfully in CP/PS I do it as admin and I have tried F5 and restarting explorer.

      What I have just realized that has got me really confused is that when I map the drive in CP/PS I don’t put in a password.  I am using the same username on the NAS box as on the computer but different passwords.

      • #2270846

        What happens if you use the same password on computer and NAS?

    • #2270748

      Addition to last post..

      I created a new user on the NAS, On the PC I can map the drive volumes on the NAS, before I could map the volume as 1 drive and a folder in that volume as another drive, it will not let me do that now.

      However, when I reboot the PC it does not automatically connect to the mapped drives, when I click on the mapped drive in explorer it takes me to the login which shows the old username, if I try to connect with the old or the new username it says username or password is not correct and yes I did click remember credentials.

      Clive

       

    • #2270838

      Does the NAS have an error log you can check?

      cheers, Paul

    • #2270853

      Hi Paul,

      Yes it does, I cleared it and this is what I got, it needs to be read from the bottom up and I have put notes at the side

      Jun 9 18:12:46 Nas smbd: CIFS: Authentication for user [Clive] has FAILED.       I tried to connect as plex
      Jun 9 18:12:45 Nas smbd: CIFS: Authentication for user [Clive] has FAILED.      it tried to connect as old user
      Jun 9 18:11:31 Nas smbd: CIFS: [192.168.1.64] closed the connection to service [Volume_1].      Shutdown computer
      Jun 9 18:10:00 Nas smbd: CIFS: [192.168.1.64] connected to [Volume_1]         mapped drive as user [plex].
      Jun 9 18:09:32 Nas smbd: CIFS: Authentication for user [Clive] has FAILED.        tried to connect with old user

    • #2271175

      I would delete the user Clive and create a new one to replace it. Then map with the new user.

      cheers, Paul

      1 user thanked author for this post.
    • #2271186

      Hi Paul,

      Thats a bit drastic at the moment, I have a lot under that user so I created a new admin user ( they are both local)

      Mapped two drives to the NAS box volumes as user plex, it would still not let me map to a volume and to a folder in the volume.

      I rebooted the PC and got the same wrong user or password on one of the drives and the other is the message in the attached screen shot that says I could not map to the same device

      error

       

    • #2271336

      Earlier I said I could map the drive in powershell but it did not show up in explorer, I have just found something that says to see the drives in explorer you have  to use “net use…” in a non admin powershell or command prompt and that does work.

      I cannot delete the mapped drive within powershell it says it is in use.

      So for now I have created a batch file on the desktop that maps the drives and before I run it I have to go into explorer and disconnect the drives that reappear after reboot but it will not let me use (wrong username /password.

    • #2271446

      How do you disconnect the drives in Explorer if you can’t see them?

      Try this.
      In Powershell type: get-psdrive
      If there are network drives listed remove them with remove-psdrive.

      In a Command Prompt type: net use
      If there are any network drives listed remove them with net use  /d.

      Remove any mappings in Explorer.

      Reboot and check for drive mappings in all those locations.
      If you have no drives mapped, use Explorer to map the drives. These will persist across reboots.

      cheers, Paul

    • #2271460

      Hi Paul, Thank you.

      In Powershell the mapped drives do not show up at all.
      In command prompt I see the drives but they say Status “disconnected”
      They will not delete with net use \d     “system error 85 .. local device name is already in use ”

      I removed the mapped drives (that don’t work) in explorer checked on CP they were gone.
      Rebooted
      Checked in CP not there
      Mapped drive in Explorer, opened OK
      Rebooted
      Checked in CP Status “Disconnected”
      They show up in explorer but not available when clicked.
      It seems that each time I reboot the drives do not connect properly

      Regards
      Clive

    • #2271477

      When you connect them in Explorer do you make the mapping persistent and tick remember password?

      This thread has some additional suggestions.

      cheers, Paul

    • #2271478

      Hi Paul,

      I don’t see persistent and I do tick remember password, I think on the additional suggestions they are using a Microsoft account, I am using a local account.

      map

      Clive

    • #2271481

      Once you have mapped the drive you should be able to see it in Command Prompt with net use.
      If the drive shows up try closing all Explorer windows and using net use drive /d.

      cheers, Paul

    • #2271482

      I found the credentials

      cred

      I clicked edit and retyped the password, rebooted and explorer showed the drives again but the same error wrong user or password.

       

      Clive

    • #2271485

      Once you have mapped the drive you should be able to see it in Command Prompt with net use.
      If the drive shows up try closing all Explorer windows and using net use drive /d.

      cheers, Paul

      Sorry stupid mistake, net use /d will let me delete the map I will admit to what I did before, I used “net use x: \d”

    • #2271488

      Before I changed the password in credentials this batch file worked, when I first start the PC now it says the password is wrong. But they all map and can be used.

      net use x: /d
      net use y: /d
      net use z: /d
      net use z: \\nas\volume_1
      net use y: \\nas\volume_2
      net use x: \\nas\p2p
      timeout /t 10

      Output

      C:\Users\Clive\Desktop>net use z: \\nas\volume_1
      The password or user name is invalid for \\nas\volume_1.

      Enter the username for ‘nas’: clive
      Enter the password for nas:     Here I enter the same password as I put credentials
      The command completed successfully.

      C:\Users\Clive\Desktop>net use y: \\nas\volume_2
      The command completed successfully.

      C:\Users\Clive\Desktop>net use x: \\nas\p2p
      The command completed successfully.

    • #2271491

      That is just odd as it works from other machines.

      Short of a rebuild I don’t know what to suggest.

      cheers, Paul

      1 user thanked author for this post.
    • #2271493

      Hi Paul,

      Thanks for all your help.

      I think it may come to a rebuild a bit later, for now I am going to use the batch file to delete and map the drives.

      I removed all the credentials with NAS in them and after putting in the password once it is not asking for the password again.

      Thanks again

      Clive

      1 user thanked author for this post.
    • #2271721

      If you use the “/p” (persistent) switch then you shouldn’t need to run the batch file every time.

      cheers, Paul

    • #2271732

      Thanks Paul,

      I cannot get the /p to work, I have tried /p /persistent /persistent:yes and I get an valid value. I will probably schedule the batch file to run on startup, so don’t worry.

      Regards

      Clive

    Viewing 23 reply threads
    Reply To: Problem with credentials to NAS

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: