Hello and good day to you.
A new adventure for me, which sometimes feels like it's turning into a nightmare. Indulge me please, it seems like a long story, and it may be, but if you want, skip to the last line and, excuse the pun, that is the bottom line.
So, here's what's going on and I'm hoping someone will be able to shed some light on the issue for me.
Full disclosure - I have limited knowledge and am only just coming to terms with FreeBSD cli. As well, I have not yet developed decent 'muscle memory' which means I often have to revisit information I've already looked at to find the commands that are appropriate.
I have a functional installation of FreeNAS on a Certified FreeNAS Server. 32GB of RAM and 6 x 2TB drives. I'm running FN 11.2 Stable and NC 14.0.4 Stable. The installation is meant to support a LAN of Windows PCS which is a mix of desktops and laptops in a 25%/75% ratio.
Here's an idea of the structure
FN Storage/Data Set ->/mnt/tank/Directory/Users
FN Users - User1, User2 etc.
FN Groups - UserGroup
User set up - Primary group - UserGroup; No auxiliary groups defined. Directories & Permissions; Home directory is pointed, correctly, to Data Set (/mnt/tank/Directory/Users/User1 etc), Microsoft Account is checked.
Share - SMB/CIFS - Path is pointed correctly to Data Set - no items are checked, valid users are User, admin, @SysAdmin
So far, so good. Off I go to the NC.
Add the users so that they mirror the users in the FN (case/passwords/etc).
Moving on, off to the External storages - Folder name is unique (by choice), External storage is "SMB/CIFS", Authentication is Username and password, Configuration = Host is FN local IP, Share is "share name" from SMB on FN, Username and Password mirror the FN user.
And here's where it gets weird, really weird, and I'm hoping for some help to understand.
I was going merrily along, setting up one at a time, creating only a User1 folder initially. Additional folders were being added from a Windows machine. The folders added are Documents/Desktop/Music/Videos/Pictures and the permissions were set from the Windows machine. Primarily, the permissions are User (full permissions set recursively), and SysAdmin (full permissions set recursively).
Everything was fine until one user set up would not go through. I was getting an exception which resulted in a dreaded RED ! instead of a loving Green check. Turns out, and I'm not certain this was the problem, that this particular user had a corrupted entry in the SMB pw database which after 'fixing' I got a loving Green check.
And then it all went wrong - I added the next user/external storage and I could not get a connection. When I decided to step back and take another look, I discovered that ALL of the previously accepted/connected External storage were now all disconnected.
Solution? Only after I added all of the users (in the FN) to the Wheel group and added the Wheel group to the Auxiliary Groups of each User the External Storage connections in NC were a bright and lovely green, again.
Thoughts? I have an open mind, just don't want to have to do this all over again.
Please and thank you.
A new adventure for me, which sometimes feels like it's turning into a nightmare. Indulge me please, it seems like a long story, and it may be, but if you want, skip to the last line and, excuse the pun, that is the bottom line.
So, here's what's going on and I'm hoping someone will be able to shed some light on the issue for me.
Full disclosure - I have limited knowledge and am only just coming to terms with FreeBSD cli. As well, I have not yet developed decent 'muscle memory' which means I often have to revisit information I've already looked at to find the commands that are appropriate.
I have a functional installation of FreeNAS on a Certified FreeNAS Server. 32GB of RAM and 6 x 2TB drives. I'm running FN 11.2 Stable and NC 14.0.4 Stable. The installation is meant to support a LAN of Windows PCS which is a mix of desktops and laptops in a 25%/75% ratio.
Here's an idea of the structure
FN Storage/Data Set ->/mnt/tank/Directory/Users
FN Users - User1, User2 etc.
FN Groups - UserGroup
User set up - Primary group - UserGroup; No auxiliary groups defined. Directories & Permissions; Home directory is pointed, correctly, to Data Set (/mnt/tank/Directory/Users/User1 etc), Microsoft Account is checked.
Share - SMB/CIFS - Path is pointed correctly to Data Set - no items are checked, valid users are User, admin, @SysAdmin
So far, so good. Off I go to the NC.
Add the users so that they mirror the users in the FN (case/passwords/etc).
Moving on, off to the External storages - Folder name is unique (by choice), External storage is "SMB/CIFS", Authentication is Username and password, Configuration = Host is FN local IP, Share is "share name" from SMB on FN, Username and Password mirror the FN user.
And here's where it gets weird, really weird, and I'm hoping for some help to understand.
I was going merrily along, setting up one at a time, creating only a User1 folder initially. Additional folders were being added from a Windows machine. The folders added are Documents/Desktop/Music/Videos/Pictures and the permissions were set from the Windows machine. Primarily, the permissions are User (full permissions set recursively), and SysAdmin (full permissions set recursively).
Everything was fine until one user set up would not go through. I was getting an exception which resulted in a dreaded RED ! instead of a loving Green check. Turns out, and I'm not certain this was the problem, that this particular user had a corrupted entry in the SMB pw database which after 'fixing' I got a loving Green check.
And then it all went wrong - I added the next user/external storage and I could not get a connection. When I decided to step back and take another look, I discovered that ALL of the previously accepted/connected External storage were now all disconnected.
Solution? Only after I added all of the users (in the FN) to the Wheel group and added the Wheel group to the Auxiliary Groups of each User the External Storage connections in NC were a bright and lovely green, again.
Thoughts? I have an open mind, just don't want to have to do this all over again.
Please and thank you.