2015-07-07 01:36 AM
I have added my user to the predefined group of Administrators:
useradmin domainuser add smith -g Administrators
The command completed successfully: Domain User <smith> successfully added to Administrators.
Then I tried to login with ssh to the Filer with usrname smith, but access is denied. Why?
Solved! SEE THE SOLUTION
2015-07-07 05:37 PM
Have you setup authorized keys for the user to enable you ssh to controller?
If so and this is not working have you checked if you can login to console as the domain user? EG:
login as: testlab\User1
TESTNS01> useradmin domainuser list -g Administrators
List of SIDS in Administrators
For more information about a user, use the 'cifs lookup' and 'useradmin user list' commands.
TESTNS01> cifs lookup S-1-5-21-3150332139-2813398079-754052488-1110
name = TESTLAB\User1
Verify the users SID and sAMAccountName in AD.
C:\>dsquery user -samid user1 | dsget user -samid -sid
When setting up authorized keys for SSH access consider the case of the username.
EG "User1" in AD (uppercase first letter) is not "user1" in ONTAP (lowercase first letter)