We help IT Professionals succeed at work.

samba tools for macintosh

Ksean asked
Hi Experts,
I would like to change the AD password from my mac using the command "smbpasswd -r servername -U username" but I got this error message "-bash: smbpasswd: command not found:
How do I enable or install samba utilities or tools in order to use this command?
I have MacBook Air with Yosemite.
Thanks in advance.
Watch Question

Install Homebrew or Macports.  I'm using Hombrew.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Open in new window

Then run brew install samba and you will have samba and tools.