Reset NAS Authentication
Note: For a list of all the Appliance Controller commands, see the Command Index.
Reset the NAS authentication configuration as follows:
- Reset the NAS Authentication to Factory Default Settings.
Keep in mind that this reset will not return all NAS settings back to the original factory-defaults. It will only reset the NAS authentication settings to local authentication. To reset NAS cluster settings, see Delete a NAS Cluster (return to non-clustered state).
For more information about local authentication, see Configure Legacy Local NAS Authentication.
If you are resetting StorNext NAS to local authentication from Apple Open Directory, you will need to Remove the NAS Service Principal from the Kerberos Database. For more information about Apple Open Directory, see Apply Apple OD Authentication to NAS.
- Refresh the NAS Authentication.
Use this action to refresh cached information specific to the authentication method and restart NAS services on all nodes in the NAS cluster.
To reset the NAS authentication settings to local authentication:
- Log in to the Appliance Controller CLI.
- Enter:
auth reset config factory-defaults
- Enter
y
to reset configuration and registry settings for NAS authentication. The default setting isNo
.Example:
> auth reset config factory-defaults
Authentication configuration and registry settings will be reset back to factory defaults, are you sure (yes/No)? y
Auth-configuration starting ...
Applying local configuration settings ...
Successfully reset configuration back to factory defaults (local)
Note: If you are resetting StorNext NAS to local authentication from Apple Open Directory, you will need to Remove the NAS Service Principal from the Kerberos Database.
If you are resetting StorNext NAS to local authentication from Apple Open Directory, you will need to Remove the NAS Service Principal from the Kerberos Database.
To refresh cached information specific to the authentication method and restart NAS services on all nodes in the NAS cluster:
- Log in to the Appliance Controller CLI.
- Enter:
auth reset config
Example:
> auth reset config
Reset auth-configuration starting ...
Applying ads configuration settings ...
Checking SMB interface list: lo 10.105.19.17
Checking SMB interface 'eth0:10.105.19.17' status ...
Join to ENG.ACME.COM as ST976884-VIP1 starting ...
Using AD Computers OU "Computers" ...
Verify now joined to ENG.ACME.COM as ST976884-VIP1 ...
Clearing ID map cache ...
Restart SMB services to join with ENG.ACME.COM ...
Sending ads auth-config sync to 10.105.19.80 ...
Successfully reset configuration services
To remove the NAS service principal from the Kerberos database (if you reset StorNext NAS to local authentication from Apple Open Directory):
- Log in to the Apple Open Directory Server as the root user.
- At the prompt, enter the following to open the kadmin shell:
kadmin -1
- At the prompt, enter the following command to confirm that the NAS service principal is in the Kerberos database:
get cifs/NASfqdn@REALM
- At the prompt, enter the following to remove the NAS service principal from the Kerberos database:
del cifs/NASfqdn@REALM
- At the prompt, enter the following to confirm that the removal was successful:
get cifs/NASfqdn@REALM