Skip to main content

Commands for managing SMB servers computer account passwords

Contributors netapp-ahibbard

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 or reset the domain account password and you know the password

vserver cifs domain password change

Reset the domain account password and you do not know the password

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.