Newbie Password Problem

Status
Not open for further replies.

Danemj3

Dabbler
Joined
Mar 28, 2015
Messages
10
As far as I know I dont have a password for the FreeNAS system as a whole, just a password for the "Dane" folder and no password for the "Public" folder but every time I restart my computer I have to login to try to get into the public folder.

http://gyazo.com/6e8862fe9d77997ace07f3931105223c
http://gyazo.com/6e8862fe9d77997ace07f3931105223c
And of course I have to disable login password on that folder and everything.
Hopefully I'm just missing something easy. Any help is appreciated.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Look at your share settings for public and check first access and un check password access.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Check the box for guest access only.
 

Danemj3

Dabbler
Joined
Mar 28, 2015
Messages
10
Tried that, same problem.
I tried something else just to test this problem. I created a guest account on this PC and logged into it.
Everything worked fine for the guest account. I then went to another computer on the network and everything worked fine there as well.
So basically new problem... why doesnt it work just on my user account on just this computer?

Once I restart I only see one folder (when there are actually 3 and others see 3) under FREENAS and none of my passwords work on it, but they all work on another computer...

http://gyazo.com/255398718c794ac9bcd6bafbf9f7d1fc

I feel like I'm in the twilight zone..

Edit: Tried rebooting the PC and the NAS, same problem.
Tried checking network credentials to clear them, there werent any.
Idk why its only happening to this user account on this PC..
 
Last edited:

Danemj3

Dabbler
Joined
Mar 28, 2015
Messages
10
Also is there a problem with using freenas and not having a windows user account password?

Edit: I solved my first problem by clearing my network credentials and redoing them. Then after a Freenas reboot, that fixed what this PC was seeing from Freenas and can now see all 3 folders.

Now I just need to find a way for windows to actually remember my login and password to the freenas, because apparently I click remember this stuff on the login box and then it remembers it until i restart my computer.. zz

Edit2: Figured that out too. Apparently its a bug in windows xp-7 and you have to write it all in manually int he credentials manager on windows and it will remember it, just checking remember in the box doesnt work.

Thanks again for the help Sweet.
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I'm going to try to explain how things work and let you take that information and see if you can fix your problem. Permission issues are complicated and very specific to each user.

When accessing a share in windows there are two things that happen.

  1. Your user account needs to exist so you can access the share
  2. after your account has been verified you need to have permissions to access that dataset or folder that is being shared.

I’m going to start with the first one and the settings that matter for this to work. There are a couple ways to for a user account to have access to a share.

  1. If you don’t select the 'Allow Guest Access' option the normal user authentication applies. You need to have the correct username and password to access it. This scenario should prompt you for a password.
  2. If you select 'Allow Guest Access' and 'Only Allow Guest Access' then you will never be prompted for a password. When you do this the user that is used on the FreeNAS side is the user that you specified in the CIFS service settings for the guest account user. And all files/dirs created will be owned by this user.
  3. The last combination and the one that messes most people up is when you have guest access checked but not the guest access only.What happens in this situation is you are prompted for a user and password and if it works then you auth as that user. If you fail to provide a user and password then it falls back to the guest user account on FreeNAS.

After you have this working you can move onto the next step. This step is to configure the permissions and owner/group on the dataset/directory that you are sharing. If you want to make it easy just use 777 and unix permissions. If you want to modify your permissions using the windows gui then you need to configure windows permissions and modify the owners using the windows gui. I’m not going to go too in depth on this part because this post has taken over an hour already. If this helps let me know, if not I hope it explains things enough so you can ask more questions.
 

Danemj3

Dabbler
Joined
Mar 28, 2015
Messages
10
I will do more testing tomorrow, but as of right now, everything is as it should be (as I mentioned in the previous edit to the last post) other than random guests can write to the public folder when I want it to be read only. And if I set it to "export as read only" then it doesnt let me write to it.. lol.
So I will fiddle with it more tomorrow and see if I cant get it without you having to spend anymore of your time on this.
I appreciate all the feedback and help. Thanks again.
 
Status
Not open for further replies.
Top