Unable to add a user to local group in ONTAP 9. Error says user is already exists
Applies to
- ONTAP 9
- SMB
Issue
::> vserver cifs users-and-groups local-group add-members -vserver <svm_name> -group-name <group_name> -member-names <DOMAIN\user>
Error: command failed: The Active Directory object "DOMAIN\user" is present in the local configuration
databases with a different security identifier. Before retrying this command, if the object has been
renamed in Active Directory, run the "vserver cifs users-and-groups update-names" command under
advanced privilege. If the object was deleted, reset any privileges associated with it and remove
the object from all local groups.