HNAS Local User Authentication

Document created by Mladen Komac on Apr 28, 2016Last modified by Mladen Komac on Apr 28, 2016
Version 2Show Document
  • View in full screen mode
Step 1 - Setting up the local users

 

local-password-set HOSTNAME\username password

 

:$ local-password-set 10.10.10.10\testuserfull secretpassword
:$ local-password-set 10.10.10.10\testuserrw secretpassword

:$ local-password-set 10.10.10.10\testuserro secretpassword

 

Step 2 - Configure the SID mapping for the new users

 

user-mappings-add --nt-name HOSTNAME\username --nt-id number

 

:$ user-mappings-add --nt-name 10.10.10.10\testuserfull --nt-id S-1-81-0
:$ user-mappings-add --nt-name 10.10.10.10\testuserrw --nt-id S-1-81-1

:$ user-mappings-add --nt-name 10.10.10.10\testuserro --nt-id S-1-81-2:

 

Step 3 - Configure the SMB share access on EVS 2 for the newly created local user accounts

 

cifs-saa add name-of-share HOSTNAME\username af

 

$ evs-select 2

:$ cifs-saa add test-share 10.10.10.10\testuserfull af
:$ cifs-saa add test-share 10.10.10.10\testuserrw acr

:$ cifs-saa add test-share 10.10.10.10\testuserro ar

 

And then if we try this in CMD

 

:C:\>net use *

 

10.10.10.10\test-share secretpassword /USER: 10.10.10.10\testuserfull

 

Or using Explorer:

\\ip-address-of-server\share-name

Attachments

    Outcomes