Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christian-taillon/8347f148ba9260d01ee2719836135c00 to your computer and use it in GitHub Desktop.
Save christian-taillon/8347f148ba9260d01ee2719836135c00 to your computer and use it in GitHub Desktop.
Reset Domain Password from Linux
smbpasswd -U $user$ -r `nslookup _ldap._tcp.dc._msdcs.$domain$ | awk '{print $2;exit;}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment