9 Posts

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

FILENAME:test
MODE:D
SIZE:0
MTIME:Fri Jan 10 21:37:24 2014
revision: 1
type: 0x8004: SEC_DESC_DACL_PRESENT SEC_DESC_SELF_RELATIVE 
DACL
     ACL     Num ACEs:     1     revision:     2
     ---
     ACE
          type: ACCESS ALLOWED (0) flags: 0x00 
          Specific bits: 0x1ff
          Permissions: 0x1f01ff: SYNCHRONIZE_ACCESS WRITE_OWNER_ACCESS 
                 WRITE_DAC_ACCESS READ_CONTROL_ACCESS DELETE_ACCESS 
          SID: S-1-22-1-65534

     Owner SID:     S-1-22-1-65534
     Group SID:     S-1-22-2-65534

          32787 blocks of size 0. 9191 blocks available

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

drwx------ +  2 nobody  nobody  0 Jan 10 21:37 /ifs/other/smb-test/test
 OWNER: user:nobody
 GROUP: group:nobody
 0: user:nobody allow dir_gen_all 

So my problem really is how to make my authenticated Windows users be seen by the filesystem as what they have authenticated for.

122 Posts

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

9 Posts

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

             Impersonate Guest: always

And if it does, change that to never.

No Events found!

Top