Skip to main content

Commands for managing SMB servers computer account passwords

Contributors netapp-barbe netapp-ahibbard netapp-aherbin

You need to know the commands for changing, resetting, and disabling passwords, and for configuring automatic update schedules. You can also configure a schedule on the SMB server to update it automatically.

If you want to…​ Use this command…​

Change the domain account password when ONTAP is synchronized with AD services

vserver cifs domain password change

Reset the domain account password when ONTAP is not synchronized with AD services

vserver cifs domain password reset

Configure SMB servers for automatic computer account password changes

vserver cifs domain password schedule modify -vserver vserver_name -is-schedule-enabled true

Disable automatic computer account password changes on SMB servers

vserver cifs domain password schedule modify -vserver vs1 -is-schedule-enabled false

See the man page for each command for more information.