Enable or disable local users and groups
You can enable or disable local users and groups for SMB access on storage virtual machines (SVMs). Local users and groups functionality is enabled by default.
You can use local users and groups when configuring SMB share and NTFS file permissions and can optionally use local users for authentication when creating an SMB connection. To use local users for authentication, you must also enable the local users and groups authentication option.
-
Set the privilege level to advanced:
set -privilege advanced
-
Perform one of the following actions:
If you want local users and groups to be… Enter the command… Enabled
vserver cifs options modify -vserver vserver_name -is-local-users-and-groups-enabled true
Disabled
vserver cifs options modify -vserver vserver_name -is-local-users-and-groups-enabled false
-
Return to the admin privilege level:
set -privilege admin
The following example enables local users and groups functionality on SVM vs1:
cluster1::> set -privilege advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by technical support personnel. Do you wish to continue? (y or n): y cluster1::*> vserver cifs options modify -vserver vs1 -is-local-users-and-groups-enabled true cluster1::*> set -privilege admin