NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

richtoy's avatar
richtoy
Tutor
Dec 12, 2015
Solved

Unable to access users home directories from windows 7

Hi,

 

I have been using a Netgear X6 at home for media and family storage for about 8 years and decided to upgrade to a RN204.  I give myself read/write access to all the media and my home directory, everybody else gets read only to media and read/write to their home directory.

 

RN204 updated to 6.4.1 and building the the new RN204 NAS from backup when smothly with me logging in using ssh and using rcp to copy the files from a locally mounted USB.  ssh as each new user and rcp was used populate the home directories.

 

All locally connected windows devices now correctly see the shared media and another shared global backup folder but I cannot seem to be able to read the home directories from windows 7.  If I allow access as described here then I can see ALL home directories but that is not the idea.

 

I removed all Windows Credentials to the new NAS but whenever I try to connect it just keeps on refusing.  Same behaviour on multiple machines.  I use identical user ids between the Windows 7 and  NAS but am setting different passwords (same as with the X6).  Logging on to other raspberry pi and OSMC shares works fine from Windows 7.

 

Any ideas?  No Cloud stuff enabled, and have also tried an OS reinstall.

 

Thanks,

Richard

  • Problem escalated to level 3 support.

     

    They confirmed the symptoms and we solved it by renaming each user to user1 and then back to user whereupon each user in turn started working as expected.

     

     

     

14 Replies

Replies have been turned off for this discussion
    • richtoy's avatar
      richtoy
      Tutor

      I did this for my account and I get the same behaviour.

      Windows user id & password == NAS user id & password

      • richtoy's avatar
        richtoy
        Tutor

        The behaviour is also the same from a Linux VM that also has the same user id and password as the NAS.  The home directory is just not visible.

  • I am using Windows 7 Ultimate (Service Pack 1) and experienced the same problem.

    My ReadyNAS is a 314 and the problem happened after upgrading from 6.2.4 to 6.4.1.

     

    I first noticed it when my HP printer could not "scan to network folder" (it uses SAMBA ptotocol to save scanned files on the ReadyNAS).  Every time I tried to "scan to network folder" the printer gave the following error: "Access Denied: User name of password is incorrect.  Make sure the credentials are correct in the configuration."  However, these two lines were added to the //readynas/var/log/samba/log.smbd file:
    "[2015/12/28 19:02:05.093785, 2] ../source3/auth/auth.c:305(auth_check_ntlm_password)
    check_ntlm_password: authentication for user [ken] -> [ken] -> [ken] succeeded"

    indicating that the ReadyNAS felt the authentication worked.  It WAS working just fine before the ugprade.

     

    Access from Windows 7 Ultimate was fine after the ReadyNAS upgarde UNTIL I rebooted my Windows box, then it, too, would not connect to the "ken" home folder on the ReadyNAS (although "non-home" folders with anonymous access could be connected to just fine).

     

    I tried the "net use" commands described ealier in this thread and received "System error 86 has occurred.  The specified network password is not correct." just as did the OP.  The log.smbd file on the ReadyNAS, however, claimed success (as it did when I tried to attach from my printer).  I then tried "net use" with a bogus password and received "System error 5 has occurred.  Access is denied." which makes sense.  The log.smbd file indicated, "FAILED with error NT_STATUS_WRONG_PASSWORD" as would be expected.  I tried changing the password for the "ken" user and tried "net use" with the new password and had the same results as with the orignial password.

     

    Finally, I changed the account name from "ken" to "ken1" and back to "ken" (since the OP suggested this as the fix) and now the "net use" command returns "The command completed successfully" and now both the printer and Windows can attach properly to the "ken" home directory.

     

    It sure seems that the ReadyNAS Samba daemon was passing something incorrect back to the attaching OS indicating bad credentials despite credentials being proper (and the ReadyNAS thinking they were proper, based on log.smbd).  Somehow, renaming the account associated with the home folder on the ReadNAS fixes this.

     

    StephenB - it appears that level 3 support has looked at this, but there isn't any indication that a bug report has been logged.  Can you run this up the flagpole so it gets fixed for other users?  I'd also like to know just what the bug was, and what was causing it, once it is tracked down.

     

     

     

     

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      kenalker1 wrote:

       

       

      StephenB - it appears that level 3 support has looked at this, but there isn't any indication that a bug report has been logged.  Can you run this up the flagpole so it gets fixed for other users?  I'd also like to know just what the bug was, and what was causing it, once it is tracked down.

       


      Since I don't work for Netgear, I can't check directly.  I did send a PM on this request, linked to your post.  Of course devs are mostly on holiday break this week.

    • kenalker's avatar
      kenalker
      Aspirant

      After making the above "account name" change I was having problems accessing certain files.  I ssh'd into the ReadyNAS and found that a large chunk of my files are still owned by "ken" but many (maybe half) are now owned by user "1002".  I used the following commands (via ssh in /home/ken) to change ownership back, and things are working much better:

       

      chown -R --from=1002 ken *
      chown -R --from=1002 ken .*

      • kenalker's avatar
        kenalker
        Aspirant

        Well, I spoke too soon.  Every now-and-then I will run into a file that I can load into my text editor but I can't then save it back to the NAS after making my changes.  For each of these files I have enountered, I must change the corresponding owner back to user "1002" in order to write the file back to the NAS.  So now most of my files are owned by "ken" but I'm having to selectively change ownership on certain files to user "1002" in order to gain write access to them.  So now I have the bizarre situation where some files in a directory must be owned by "ken" to be written to while others must be owned by the mystery user "1002" to be written to (and all files have identical permissions).  In all cases I'm accessing the files from my WIndows 7 machine from the same instance of a text editor.

         

        I have no idea what is causing this.  It must have something to do with the account name change in the previous post, but I can't figure out what could be causing these symptoms.  Can anyone shed some light on this for me?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More