zokker13
Cadet
- Joined
- Aug 23, 2016
- Messages
- 7
Hi everyone,
I try to set up a proper share mechanism that allows me to log into my desired share with a username and password.
Problem is that I want to do this on Windows and Linux.
Mainly I followed up those videos from monkey:
https://forums.freenas.org/index.php?resources/freenas-and-samba-cifs-permissions-video.8/
Super helpful, sadly won't cover the Linux part.
Anyway, I present you my setup (basically stolen from the video):
Dataset: "riku" (Windows)
Dataset Permissions: Owner (user):
Group
User
The
Finally, I do have a
First attempt to mount this with both, Windows 10 and Linux fail badly.
Windows 10 fails with a rather long error message, basically saying that multiple connections to the server with the same user can't be done.
(I used
Here's the message (sadly, in German):
Next up is Linux.
Since CIFS _should_ be easily mounted, I was stunned that I only had read permissions.
This is my mount command:
The command exists successfully and I can navigate to nick.
The bad thing is that I can not write.
Performing a quick ls -lahtr shows that directory . (nick) looks like this:
1002 being
1005 being
Luckily, I had a third option, Windows 7 on a VM (from Linux host) which could connect to the riku share with no issues (and also write).
Hope anyone of you can help me out.
Cheers.
I try to set up a proper share mechanism that allows me to log into my desired share with a username and password.
Problem is that I want to do this on Windows and Linux.
Mainly I followed up those videos from monkey:
https://forums.freenas.org/index.php?resources/freenas-and-samba-cifs-permissions-video.8/
Super helpful, sadly won't cover the Linux part.
Anyway, I present you my setup (basically stolen from the video):
Dataset: "riku" (Windows)
Dataset Permissions: Owner (user):
nick
, Owner (group): riku
Group
riku
simply refers to the share riku.User
nick
is supposed to be the user I log in with.The
nick
user has a dedicated home directory, is member of the users
and riku
group and has the password "test".Finally, I do have a
riku
share which points to my dataset.First attempt to mount this with both, Windows 10 and Linux fail badly.
Windows 10 fails with a rather long error message, basically saying that multiple connections to the server with the same user can't be done.
(I used
net use * /d
before, did a clean restart and only attempted to navigate to the directory - still the error)Here's the message (sadly, in German):

Next up is Linux.
Since CIFS _should_ be easily mounted, I was stunned that I only had read permissions.
This is my mount command:
sudo mount -t cifs //NAS/riku nick -o username=nick,password=test
The command exists successfully and I can navigate to nick.
The bad thing is that I can not write.
Performing a quick ls -lahtr shows that directory . (nick) looks like this:
Code:
drwxrwxr-x+ 1002 1005
1002 being
nick
user1005 being
riku
groupLuckily, I had a third option, Windows 7 on a VM (from Linux host) which could connect to the riku share with no issues (and also write).
Hope anyone of you can help me out.
Cheers.
Last edited: