Orbi WiFi 7 RBE973
Reply

Accessing shares with user account

Number_Six1
Aspirant

Accessing shares with user account

Hello,

I have a ReadyNAS Ultra 2 with a single WD Red 3TB drive installed.

I am currently having issues gaining access from my Windows 7 PCs to the shares I have created on the drive. I am able to map the shares as network drives and connect without any issue, but when it comes to entering the account credentials, I am unable to gain access using the 'user' account details created for the NAS through the Frontview utility (under "User & Group Accounts").

In the Windows 7 dialog box, I am simply entering the "Name" and "Password" from Frontview into the "User name" and "Password" fields. However, the credentials are not accepted. The only way to access the share is using the 'admin' account, which are the same details I use to login to the Frontview utility in IE in the first place. I have checked to make sure all the access permissions are set correctly in Frontview (Read/write enabled for everyone under "advanced options" for each share).

Any ideas what could be causing the problem?

Thanks!
Message 1 of 12
vandermerwe
Master

Re: Accessing shares with user account

What have you set under network access and file access for the share?
What have you set as folder owner and folder group?
Message 2 of 12
Number_Six1
Aspirant

Re: Accessing shares with user account

Many thanks for your reply.

With regards to network access and file access, I cannot see any such section on the Frontview utility. Can I ask where to find this?

Under "Advanced Options" I have the owner of the share as myself and the group as "users" which is the group that the ReadyNAS defaults to when creating a new user.
Message 3 of 12
vandermerwe
Master

Re: Accessing shares with user account

Ah yes, I am referring to OS 6.
In OS 4, set the folder owner as admin and the folder group as users.
You have set read/write permissions for owner and group as well as everyone?

Once you have done this, tick the box that says:
Set ownership and permission for existing files and folders in this share to the above settings. This option is useful in cases where you are changing security levels and need to workaround file access problems.

Then click apply.

Try to access the share again.

The other thing you could do is setup users on the readynas that match the users on your windows machines (username and password).
If you are logged in as one of those users on your windws machine, and that user has access rights to the share you should not need to enter credentials to access the share.
Message 4 of 12
Number_Six1
Aspirant

Re: Accessing shares with user account

Thanks again for your help!

Actually, on one share I have "disabled" for "group" and "everyone", and on another I have "read-only" for "group" and "everyone". I do this as I need to restrict certain kinds of access for some users.

However, due to the fact that I can only access the share using the "admin" credentials, those settings seem to be completely bypassed.

I have made sure I am using the same Windows account credentials as those on the NAS for each user, but I still cannot access the NAS using those user credentials, only using "admin" credentials.
Message 5 of 12
vandermerwe
Master

Re: Accessing shares with user account

If you disable groups and everyone then you will need to set the owner of the share to the user you want to allow access to.
If the owner is admin and you disable group and everyone then you will only be able to access using admin credentials.

I have just tried your other settings on my system ( read only for group and everyone) and it works.

My windows user is abc with a password of def, and there is a user abc on the NAS with the same password. belonging to the group "users" named in the share permissions.

The owner of the share is admin, the share group is "users"

Windows will use 1 set of credentials for each user so you won't be able to access a share with credentials that are different to the current user, you'd need to login as that windows user. If you need to you can check in windows credential manager to see what is being used.

Did you reset the permissions as I explained?

EDIT: do you have private home shares enabled? It's in Security, users and groups, preferences( in drop down list). Disabling home shares is another thing you can try.

Also make sure the share name is not the same as any windows users
Message 6 of 12
Number_Six1
Aspirant

Re: Accessing shares with user account

The owner of the share with group and everyone disabled is one of the users - however even this user cannot connect to the share from their Windows account using their NAS credentials - which are the same as the Windows credentials.

Likewise, the owner of the share (or anyone else) still cannot access the share even when "read/write" is enabled for group and everyone. The only thing that works is to use the admin credentials. This is again the case even when logged into a Windows account with the same credentials.

I have also tried resetting permissions as you explained.

Private home shares is enabled, and I tried disabling it as suggested. However, this has made no difference.

The share names are also not the same as any windows users.
Message 7 of 12
vandermerwe
Master

Re: Accessing shares with user account

Try opening a dos prompt on your PC then type
net use * /delete

This will unmount all your smb connections.

The alternative is to reboot your PC which will achieve the same.

Then try again.
Message 8 of 12
vandermerwe
Master

Re: Accessing shares with user account

What are you windows network settings regarding file sharing?
What did you see when you check credentials manager?

Can you access the shares using a browser? Ipaddressofnas/shares

Can you access the shares using explorer without using the mapped drives?
Message 9 of 12
Number_Six1
Aspirant

Re: Accessing shares with user account

Before seeing your responses (so I haven't tried those suggestions), I tried (on a hunch) to change my password in the NAS frontview utility and my windows account to something a lot simpler and shorter - qwer. I then disconnected the network drives in Windows, restarted, then tried again.

This time, using the new user credentials, I can access the share without having to resort to the admin credentials. The restrictions are all properly applied too, so it seemed to work perfectly.

I thought maybe the password I was using originally was either too long or the utility simply didn't support wildcards. But then I decided to change back to my original password to see if it would still work and it does. So it doesn't seem to be the password that was causing the issue. No idea how it was fixed though.

I will try now to do the same on another PC I was having the same problem on and get back to you.
Message 10 of 12
Number_Six1
Aspirant

Re: Accessing shares with user account

OK, I tried another PC and account just now. I had the same problem persistently, so then I removed the password, and it started working fine. Then I reinstated the same password, and it's still working fine.

No idea how but apparently cycling the password seems to fix it. :?
Message 11 of 12
vandermerwe
Master

Re: Accessing shares with user account

Good.
Changing the password on the PC may have forced it to re-establish the smb connection.
If you have a PC on which you have not done the password change you could try simply rebooting or the dos command I posted to see if that works; academic really but may explain the behaviour.
Message 12 of 12
Top Contributors
Discussion stats
  • 11 replies
  • 4049 views
  • 0 kudos
  • 2 in conversation
Announcements