Unsolved
This post is more than 5 years old
9 Posts
0
2874
January 10th, 2014 06:00
I am unable to create a writeable SMB share. What am I doing wrong?
Hello,
I have found that suddenly the usual procedure for creating SMB shares is not working on an Isilon cluster. I have found an excellent instruction on troubleshooting permission in an "Ask the expert" thread on this forum. However could not understand what is going on. Perhaps one of the reasons of my failing to spot the issue is that Ask the expert example is referring to OneFS 6.5 and I am on
My issue is that no SMB user seems to be able to write into shares that I am creating.
Here is what I do:
- Add a directory
smb-testusing the File System Explorer in the existing directory /ifs/other. - Set owner user name to joe and group to staff
- Give all permissions to owner and group and read and execute permissions to everyone
- Create a new SMB share smb-test
- Changing Directory ACLs to Do not change existing permissions instead of Apply Windows Default ACLs
- Add Full access to user joe and read/write access to group staff.
Now I connect to the share using the credentials for joe with smbclient
smbclient -U joe //ds.domainname/smb-test
however I am unable to create a subdirectory or put a file onto the share, since I am getting
smb: \> mkdir test NT_STATUS_ACCESS_DENIED making remote directory \test
The only way I could make it work was to allow write access to everyone by issuing a CLI command
isi-ds1# chmod +a everyone allow dir_gen_write smb-test
I have performed the usual diagnostics steps by issuing the CLI commands
1) isi-ds1# isi auth mapping token joe
2) isi-ds1# isi smb shares view --share=smb-test
3) isi-ds1# ls -led /ifs/other/smb-test
4) isi-ds1# ls -lend /ifs/other/smb-test
The output is attached.
- I have tried also to create a share with Windows Default ACLs but that share also returned permission denied
- I have tried to connect to the share from a genuine Windows machine to factor out possible issues with smbclient but received the corresponding "Try again" dialog box.
I am running out of ideas what else could be wrong and would welcome any feedback.


dimch
9 Posts
0
January 10th, 2014 06:00
Thank you for the answer. However this, I understand, makes the directory writeable to everyone not just for user joe.
What I am observing by doing this is however is that joe authenticated with his password through smbclient or Windows Explorer is seen as nobody by the file system. I.e.
smb: \testdir\> mkdir test
smb: \testdir\> showacls
smb: \testdir\> dir test
smb: \testdir\>
Note the SID S-1-22-1-65534 which is the SID of user nobody on the UNIX system.
isi-ds1# ls -led /ifs/other/smb-test/test
So my problem really is how to make my authenticated Windows users be seen by the filesystem as what they have authenticated for.
chughh
122 Posts
1
January 10th, 2014 06:00
NTFS permission needs to be given for write
chmod +a group everyone allow generic_all,dir_gen_all smb-test
dimch
9 Posts
0
January 10th, 2014 07:00
So it was "Impersonate Guest" set to "Always" by default. Changed that to "Never" and it works.
Always need to check if isi smb shares view --share=smb-test returns
And if it does, change that to never.