Using smbpasswd to reset Windows domain password

You may use the smbpasswd command to change your Windows domain password. This is useful when your Windows domain password has expired and you want to reset your password using Samba.

$ smbpasswd -U user -r PDC

where PDC is the hostname/IP address of your Windows Primary Domain Controller (PDC).

To locate your PDC, run findsmb. The system listed with an asterisk is the Domain Master Browser, or PDC.

Back to

Last modified: 2007/02/26